apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apr/file_io/netware pipe.c
Date Thu, 04 Apr 2002 16:55:50 GMT
bnicholes    02/04/04 08:55:50

  Modified:    file_io/netware pipe.c
  Log:
  Fixed a precedence problem
  
  Revision  Changes    Path
  1.8       +2 -2      apr/file_io/netware/pipe.c
  
  Index: pipe.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/netware/pipe.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- pipe.c	20 Mar 2002 08:54:42 -0000	1.7
  +++ pipe.c	4 Apr 2002 16:55:50 -0000	1.8
  @@ -153,8 +153,8 @@
   	if (!tmpnam(tname))
   		return errno;
   
  -	if ((filedes[0] = pipe_open(tname, O_RDONLY) != -1)
  -		&& (filedes[1] = pipe_open(tname, O_WRONLY) != -1))
  +	if (((filedes[0] = pipe_open(tname, O_RDONLY)) != -1)
  +		&& ((filedes[1] = pipe_open(tname, O_WRONLY)) != -1))
   	{
           (*in) = (apr_file_t *)apr_pcalloc(pool, sizeof(apr_file_t));
           (*out) = (apr_file_t *)apr_pcalloc(pool, sizeof(apr_file_t));
  
  
  

Mime
View raw message