Skip to content

Commit

Permalink
* libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jul 27, 2008
1 parent e038616 commit 372aece
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions libio/iopopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 372aece

Please sign in to comment.