You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@hyperreal.org on 1997/12/23 03:03:55 UTC

cvs commit: apachen/src/main buff.c

dgaudet     97/12/22 18:03:55

  Modified:    .        STATUS
               src      CHANGES
               src/main buff.c
  Log:
  remove some dead code
  
  Submitted by:	Igor Tatarinov <ta...@prairie.NoDak.edu>
  Reviewed by:	Dean Gaudet, Jim Jagielski
  
  Revision  Changes    Path
  1.18      +1 -4      apachen/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /export/home/cvs/apachen/STATUS,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- STATUS	1997/12/23 01:51:26	1.17
  +++ STATUS	1997/12/23 02:03:51	1.18
  @@ -49,6 +49,7 @@
       * Dean's [PATCH] util_date.c needless reinitialization
       * Martin's [PATCH] Gimme a break! (missing break;s in mod_include)
       * Dean's [PATCH] two bugs in mod_autoindex
  +    * Igor Tatarinov's Re: A tiny correction and a question on writev_it_all
   
   Available:
   
  @@ -58,10 +59,6 @@
   
       * Dean's [PATCH] ap_snprintf should be more sane (fwd)
   	<Pi...@twinlark.arctic.org>
  -	Status: Dean +1, Jim +1
  -
  -    * Igor Tatarinov's Re: A tiny correction and a question on writev_it_all
  -	<Pi...@twinlark.arctic.org>
   	Status: Dean +1, Jim +1
   
       * Dean's [PATCH] Re: [BUGFIXES] Wrong GID for PID file and UMASK for logs
  
  
  
  1.537     +3 -0      apachen/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/CHANGES,v
  retrieving revision 1.536
  retrieving revision 1.537
  diff -u -r1.536 -r1.537
  --- CHANGES	1997/12/23 01:50:00	1.536
  +++ CHANGES	1997/12/23 02:03:52	1.537
  @@ -1,4 +1,7 @@
   Changes with Apache 1.3b4
  +
  +  *) Eliminate some dead code from writev_it_all().
  +     [Igor Tatarinov <ta...@prairie.NoDak.edu>]
     
     *) mod_autoindex had an fread() without checking the result code.
        It also wouldn't handle "AddIconByType (TXT,/icons/text.gif text/*"
  
  
  
  1.52      +0 -3      apachen/src/main/buff.c
  
  Index: buff.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/main/buff.c,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- buff.c	1997/11/13 20:37:57	1.51
  +++ buff.c	1997/12/23 02:03:54	1.52
  @@ -898,9 +898,6 @@
   		vec[i].iov_base = (char *) vec[i].iov_base + rv;
   		vec[i].iov_len -= rv;
   		rv = 0;
  -		if (vec[i].iov_len == 0) {
  -		    ++i;
  -		}
   	    }
   	    else {
   		rv -= vec[i].iov_len;