You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@locus.apache.org on 2000/10/06 16:08:39 UTC

cvs commit: apache-2.0/src/lib/apr/misc/unix getuuid.c

gstein      00/10/06 07:08:39

  Modified:    src      CHANGES
               src/lib/apr/include apr_uuid.h
               src/lib/apr/misc/unix getuuid.c
  Log:
  some nits that I forgot first time around.
  
  Revision  Changes    Path
  1.255     +3 -0      apache-2.0/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/CHANGES,v
  retrieving revision 1.254
  retrieving revision 1.255
  diff -u -r1.254 -r1.255
  --- CHANGES	2000/10/06 06:06:58	1.254
  +++ CHANGES	2000/10/06 14:08:37	1.255
  @@ -1,4 +1,7 @@
   Changes with Apache 2.0a7
  +  *) APR now has UUID generation/formatting/parsing support.
  +     [Greg Stein]
  +
     *) Begin the http_filter.  This is an input filter that understands
        the absolute basic amount required to parse an HTTP Request.  The
        goal is to be able to split headers from request body before passing
  
  
  
  1.2       +1 -1      apache-2.0/src/lib/apr/include/apr_uuid.h
  
  Index: apr_uuid.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_uuid.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- apr_uuid.h	2000/10/06 12:19:37	1.1
  +++ apr_uuid.h	2000/10/06 14:08:38	1.2
  @@ -81,7 +81,7 @@
   /**
    * Format a UUID into a string, following the standard format
    * @param buffer The buffer to place the formatted UUID string into. It must
  - *               be at least APR_UUID_FORMATTED_LENGTH + 1bytes long to hold
  + *               be at least APR_UUID_FORMATTED_LENGTH + 1 bytes long to hold
    *               the formatted UUID and a null terminator
    * @param uuid The UUID to format
    * @deffunc int apr_format_uuid(apr_pool_t *p, const apr_uuid_t *uuid)
  
  
  
  1.2       +2 -0      apache-2.0/src/lib/apr/misc/unix/getuuid.c
  
  Index: getuuid.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/unix/getuuid.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- getuuid.c	2000/10/06 12:19:39	1.1
  +++ getuuid.c	2000/10/06 14:08:39	1.2
  @@ -158,6 +158,8 @@
   
   static void get_current_time(apr_uint64_t *timestamp)
   {
  +    /* ### this needs to be made thread-safe! */
  +
       apr_uint64_t time_now;
       static apr_uint64_t time_last = 0;
       static int fudge = 0;