From: Ulrich Drepper Date: Sun, 27 Jul 2008 22:34:39 +0000 (+0000) Subject: * libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile. X-Git-Tag: cvs/fedora-glibc-20080728T2320~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=372aece0e4b7497f894f21b36bcc32ec52344ad5;p=thirdparty%2Fglibc.git * libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile. --- diff --git a/ChangeLog b/ChangeLog index 12d98d00d58..4d5b530cf73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-07-27 Ulrich Drepper + * libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile. + * posix/wordexp.c (exec_comm): Use pipe2 if possible to create file descriptors with close-on-exec set. (exec_comm_child): Fix the case where the write end of the pipe is diff --git a/libio/iopopen.c b/libio/iopopen.c index 09f3ba3a76b..1a5cc0f5926 100644 --- a/libio/iopopen.c +++ b/libio/iopopen.c @@ -119,8 +119,8 @@ _IO_new_proc_open (fp, command, mode) const char *mode; { #if _IO_HAVE_SYS_WAIT - volatile int read_or_write; - volatile int parent_end, child_end; + int read_or_write; + int parent_end, child_end; int pipe_fds[2]; _IO_pid_t child_pid;