httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@hyperreal.org
Subject cvs commit: apache-1.3/src/ap ap_cpystrn.c
Date Fri, 20 Feb 1998 20:02:40 GMT
jim         98/02/20 12:02:40

  Modified:    src/ap   ap_cpystrn.c
  Log:
  Minor clarification
  
  Revision  Changes    Path
  1.5       +2 -2      apache-1.3/src/ap/ap_cpystrn.c
  
  Index: ap_cpystrn.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/ap/ap_cpystrn.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ap_cpystrn.c	1998/02/20 19:21:24	1.4
  +++ ap_cpystrn.c	1998/02/20 20:02:39	1.5
  @@ -60,8 +60,8 @@
    *   (2) strncpy() null fills, which is bogus, esp. when copy 8byte
    *       strings into 8k blocks.
    *   (3) Instead of returning the pointer to the beginning of
  - *       the destination string, we return the end so we can
  - *       "check" for truncation
  + *       the destination string, we return a pointer to the
  + *       terminating '\0' to allow us to "check" for truncation
    *
    * ap_cpystrn() follows the same call structure as strncpy().
    */
  
  
  

Mime
View raw message