diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-07-27 22:34:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-07-27 22:34:39 +0000 |
commit | 372aece0e4b7497f894f21b36bcc32ec52344ad5 (patch) | |
tree | 057ee9402c442724d0568daaf3bd2ebaf5eb3606 | |
parent | e038616f4a681bef050a2b20971c1d9af4fe7312 (diff) | |
download | glibc-372aece0e4b7497f894f21b36bcc32ec52344ad5.tar glibc-372aece0e4b7497f894f21b36bcc32ec52344ad5.tar.gz glibc-372aece0e4b7497f894f21b36bcc32ec52344ad5.tar.bz2 glibc-372aece0e4b7497f894f21b36bcc32ec52344ad5.zip |
* libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | libio/iopopen.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2008-07-27 Ulrich Drepper <drepper@redhat.com> + * 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 09f3ba3a76..1a5cc0f592 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; |