apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <t...@planetarytramp.net>
Subject [PATCH] Rename apr_explode_localtime to apr_time_exp_lt
Date Mon, 01 Apr 2002 16:57:23 GMT
As the subject, patches also going to svn and apache dev lists.
Cheers,
-- 
Thom May -> thom@planetarytramp.net

This is akin to asking a woman on a date, after you've been pissing on her feet all night.

George Broussard, 3D Realms - on PlanetCrap


Index: renames_pending
===================================================================
RCS file: /home/cvspublic/apr/renames_pending,v
retrieving revision 1.6
diff -u -u -r1.6 renames_pending
--- renames_pending	21 Mar 2002 10:03:38 -0000	1.6
+++ renames_pending	1 Apr 2002 14:42:24 -0000
@@ -1,6 +1,5 @@
 Symbol renames for APR 
 
-apr_time_exp_lt                  from apr_explode_localtime
 apr_time_exp_tz                  from apr_explode_time
 
 apr_group_name_get               from apr_get_groupname
Index: include/apr_time.h
===================================================================
RCS file: /home/cvspublic/apr/include/apr_time.h,v
retrieving revision 1.47
diff -u -u -r1.47 apr_time.h
--- include/apr_time.h	21 Mar 2002 10:03:38 -0000	1.47
+++ include/apr_time.h	1 Apr 2002 14:42:31 -0000
@@ -166,7 +166,7 @@
  * @param result the exploded time
  * @param input the time to explode
  */
-APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result, 
+APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result, 
                                                 apr_time_t input);
 
 /**
Index: test/testtime.c
===================================================================
RCS file: /home/cvspublic/apr/test/testtime.c,v
retrieving revision 1.30
diff -u -u -r1.30 testtime.c
--- test/testtime.c	21 Mar 2002 10:03:38 -0000	1.30
+++ test/testtime.c	1 Apr 2002 14:42:34 -0000
@@ -85,7 +85,7 @@
 
     STD_TEST_NEQ("    apr_time_exp_gmt", apr_time_exp_gmt(&xt, now))
     
-    STD_TEST_NEQ("    apr_explode_localtime", apr_explode_localtime(&xt2, now))
+    STD_TEST_NEQ("    apr_time_exp_lt", apr_time_exp_lt(&xt2, now))
 
     STD_TEST_NEQ("    apr_time_exp_get (GMT)", apr_time_exp_get(&imp, &xt))
 
Index: time/unix/time.c
===================================================================
RCS file: /home/cvspublic/apr/time/unix/time.c,v
retrieving revision 1.65
diff -u -u -r1.65 time.c
--- time/unix/time.c	21 Mar 2002 10:16:45 -0000	1.65
+++ time/unix/time.c	1 Apr 2002 14:42:37 -0000
@@ -160,7 +160,7 @@
     return apr_explode_time(result, input, 0);
 }
 
-APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result,
+APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result,
                                                 apr_time_t input)
 {
 #if defined(__EMX__)
Index: time/unix/timestr.c
===================================================================
RCS file: /home/cvspublic/apr/time/unix/timestr.c,v
retrieving revision 1.26
diff -u -u -r1.26 timestr.c
--- time/unix/timestr.c	21 Mar 2002 10:03:38 -0000	1.26
+++ time/unix/timestr.c	1 Apr 2002 14:42:38 -0000
@@ -134,7 +134,7 @@
     /* example: "Wed Jun 30 21:49:08 1993" */
     /*           123456789012345678901234  */
 
-    apr_explode_localtime(&xt, t);
+    apr_time_exp_lt(&xt, t);
     s = &apr_day_snames[xt.tm_wday][0];
     *date_str++ = *s++;
     *date_str++ = *s++;
Index: time/win32/time.c
===================================================================
RCS file: /home/cvspublic/apr/time/win32/time.c,v
retrieving revision 1.30
diff -u -u -r1.30 time.c
--- time/win32/time.c	21 Mar 2002 10:03:38 -0000	1.30
+++ time/win32/time.c	1 Apr 2002 14:42:39 -0000
@@ -171,7 +171,7 @@
     return APR_SUCCESS;
 }
 
-APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result,
+APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result,
                                                 apr_time_t input)
 {
     SYSTEMTIME st;
Index: time/win32/timestr.c
===================================================================
RCS file: /home/cvspublic/apr/time/win32/timestr.c,v
retrieving revision 1.18
diff -u -u -r1.18 timestr.c
--- time/win32/timestr.c	21 Mar 2002 10:03:39 -0000	1.18
+++ time/win32/timestr.c	1 Apr 2002 14:42:40 -0000
@@ -122,7 +122,7 @@
     /* example: "Wed Jun 30 21:49:08 1993" */
     /*           123456789012345678901234  */
 
-    apr_explode_localtime(&xt, t);
+    apr_time_exp_lt(&xt, t);
     s = &apr_day_snames[xt.tm_wday][0];
     *date_str++ = *s++;
     *date_str++ = *s++;

Mime
View raw message