src/vtestream-file.h:

static inline void
_vte_file_stream_ensure_fd0 (VteFileStream *stream)
{
        gint fd;
        gchar *file_name;
        if (G_LIKELY (stream->fd[0]))
                return; 

        fd = g_file_open_tmp ("vteXXXXXX", &file_name, NULL);
        if (fd != -1) {
                unlink (file_name);
                g_free (file_name);
        }       

        stream->fd[0] = dup (fd); /* we do the dup to make sure ->fd[0]
is not 0 */

        close (fd);
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/865082

Title:
  gnome-terminal writes to /tmp on every line of output

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/865082/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to