apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr/time/win32 time.c
Date Mon, 15 Apr 2002 00:01:09 GMT
jerenkrantz    02/04/14 17:01:09

  Modified:    .        CHANGES renames_pending
               include  apr_time.h
               test     testtime.c
               time/unix time.c
               time/win32 time.c
  Log:
  Per rename_pendings, rename apr_explode_time to apr_time_exp_tz.
  
  (Justin made a few whitespace corrections.)
  
  Submitted by:	Thom May <thom@planetarytramp.net>
  Reviewed by:	Justin Erenkrantz
  
  Revision  Changes    Path
  1.258     +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.257
  retrieving revision 1.258
  diff -u -r1.257 -r1.258
  --- CHANGES	12 Apr 2002 01:19:44 -0000	1.257
  +++ CHANGES	15 Apr 2002 00:01:09 -0000	1.258
  @@ -1,5 +1,8 @@
   Changes with APR b1
   
  +  *) Rename apr_explode_time to apr_time_exp_tz.
  +     [Thom May <thom@planetarytramp.net>]
  +
     *) Set precompiler for Solaris atomics when using GNU binutils.
        PR 7876.  [solomon@conceptshopping.com (Marvin Solomon)]
   
  
  
  
  1.8       +0 -2      apr/renames_pending
  
  Index: renames_pending
  ===================================================================
  RCS file: /home/cvs/apr/renames_pending,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- renames_pending	13 Apr 2002 12:00:07 -0000	1.7
  +++ renames_pending	15 Apr 2002 00:01:09 -0000	1.8
  @@ -1,7 +1,5 @@
   Symbol renames for APR 
   
  -apr_time_exp_tz                  from apr_explode_time
  -
   apr_group_name_get               from apr_get_groupname
   
   apr_user_homedir_get             from apr_get_home_directory
  
  
  
  1.49      +3 -3      apr/include/apr_time.h
  
  Index: apr_time.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_time.h,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- apr_time.h	13 Apr 2002 12:00:07 -0000	1.48
  +++ apr_time.h	15 Apr 2002 00:01:09 -0000	1.49
  @@ -149,9 +149,9 @@
    * @param offs the number of seconds offset to apply
    * @param zone the zone description
    */
  -APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result,
  -                                           apr_time_t input,
  -                                           apr_int32_t offs);
  +APR_DECLARE(apr_status_t) apr_time_exp_tz(apr_time_exp_t *result,
  +                                          apr_time_t input,
  +                                          apr_int32_t offs);
   
   /**
    * convert a time to its human readable components in GMT timezone
  
  
  
  1.32      +2 -2      apr/test/testtime.c
  
  Index: testtime.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testtime.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- testtime.c	13 Apr 2002 12:00:07 -0000	1.31
  +++ testtime.c	15 Apr 2002 00:01:09 -0000	1.32
  @@ -155,8 +155,8 @@
                    apr_strftime(str, &sz, STR_SIZE, "%T", &xt))
       printf ("        ( %s )\n", str);    
   
  -    STD_TEST_NEQ("    apr_explode_time (GMT -5 hours)",
  -                 apr_explode_time(&xt2, now, hr_off))
  +    STD_TEST_NEQ("    apr_time_exp_tz (GMT -5 hours)",
  +                 apr_time_exp_tz(&xt2, now, hr_off))
   
       STD_TEST_NEQ("    apr_strftime (offset) (HH:MM:SS)",
                    apr_strftime(str2, &sz, STR_SIZE, "%T", &xt2))
  
  
  
  1.68      +4 -4      apr/time/unix/time.c
  
  Index: time.c
  ===================================================================
  RCS file: /home/cvs/apr/time/unix/time.c,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- time.c	13 Apr 2002 12:00:07 -0000	1.67
  +++ time.c	15 Apr 2002 00:01:09 -0000	1.68
  @@ -146,8 +146,8 @@
       xt->tm_gmtoff = get_offset(&tm);
   }
   
  -APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result,
  -                                           apr_time_t input, apr_int32_t offs)
  +APR_DECLARE(apr_status_t) apr_time_exp_tz(apr_time_exp_t *result,
  +                                          apr_time_t input, apr_int32_t offs)
   {
       explode_time(result, input, offs, 0);
       result->tm_gmtoff = offs;
  @@ -157,7 +157,7 @@
   APR_DECLARE(apr_status_t) apr_time_exp_gmt(apr_time_exp_t *result,
                                              apr_time_t input)
   {
  -    return apr_explode_time(result, input, 0);
  +    return apr_time_exp_tz(result, input, 0);
   }
   
   APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result,
  @@ -165,7 +165,7 @@
   {
   #if defined(__EMX__)
       /* EMX gcc (OS/2) has a timezone global we can use */
  -    return apr_explode_time(result, input, -timezone);
  +    return apr_time_exp_tz(result, input, -timezone);
   #else
       explode_time(result, input, 0, 1);
       return APR_SUCCESS;
  
  
  
  1.32      +2 -2      apr/time/win32/time.c
  
  Index: time.c
  ===================================================================
  RCS file: /home/cvs/apr/time/win32/time.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- time.c	13 Apr 2002 12:00:07 -0000	1.31
  +++ time.c	15 Apr 2002 00:01:09 -0000	1.32
  @@ -158,8 +158,8 @@
       return APR_SUCCESS;
   }
   
  -APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result, 
  -                                           apr_time_t input, apr_int32_t offs)
  +APR_DECLARE(apr_status_t) apr_time_exp_tz(apr_time_exp_t *result, 
  +                                          apr_time_t input, apr_int32_t offs)
   {
       FILETIME ft;
       SYSTEMTIME st;
  
  
  

Mime
View raw message