apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <t...@planetarytramp.net>
Subject Renames pending - apr_explode_gmt
Date Sun, 17 Mar 2002 23:56:43 GMT
Hi guys,
attached are the patches for apr and apr-util to rename apr_explode_gmt to
apr_time_exp_gmt.
Similar patches for httpd will be following shortly.
Cheers,
-Thom


Index: include/apr_time.h
===================================================================
RCS file: /home/cvspublic/apr/include/apr_time.h,v
retrieving revision 1.46
diff -u -u -3 -r1.46 apr_time.h
--- include/apr_time.h	17 Mar 2002 22:38:25 -0000	1.46
+++ include/apr_time.h	17 Mar 2002 23:32:32 -0000
@@ -158,7 +158,7 @@
  * @param result the exploded time
  * @param input the time to explode
  */
-APR_DECLARE(apr_status_t) apr_explode_gmt(apr_time_exp_t *result, 
+APR_DECLARE(apr_status_t) apr_time_exp_gmt(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.29
diff -u -u -3 -r1.29 testtime.c
--- test/testtime.c	17 Mar 2002 22:38:25 -0000	1.29
+++ test/testtime.c	17 Mar 2002 23:32:34 -0000
@@ -83,7 +83,7 @@
     now = apr_time_now();
     printf("OK\n");
 
-    STD_TEST_NEQ("    apr_explode_gmt", apr_explode_gmt(&xt, now))
+    STD_TEST_NEQ("    apr_time_exp_gmt", apr_time_exp_gmt(&xt, now))
     
     STD_TEST_NEQ("    apr_explode_localtime", apr_explode_localtime(&xt2, now))
 
Index: time/unix/time.c
===================================================================
RCS file: /home/cvspublic/apr/time/unix/time.c,v
retrieving revision 1.63
diff -u -u -3 -r1.63 time.c
--- time/unix/time.c	17 Mar 2002 22:38:25 -0000	1.63
+++ time/unix/time.c	17 Mar 2002 23:32:39 -0000
@@ -154,7 +154,7 @@
     return APR_SUCCESS;
 }
 
-APR_DECLARE(apr_status_t) apr_explode_gmt(apr_time_exp_t *result, apr_time_t input)
+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);
 }
Index: time/unix/timestr.c
===================================================================
RCS file: /home/cvspublic/apr/time/unix/timestr.c,v
retrieving revision 1.25
diff -u -u -3 -r1.25 timestr.c
--- time/unix/timestr.c	13 Mar 2002 20:39:31 -0000	1.25
+++ time/unix/timestr.c	17 Mar 2002 23:32:39 -0000
@@ -83,7 +83,7 @@
     const char *s;
     int real_year;
 
-    apr_explode_gmt(&xt, t);
+    apr_time_exp_gmt(&xt, t);
 
     /* example: "Sat, 08 Jan 2000 18:31:41 GMT" */
     /*           12345678901234567890123456789  */
Index: time/win32/time.c
===================================================================
RCS file: /home/cvspublic/apr/time/win32/time.c,v
retrieving revision 1.29
diff -u -u -3 -r1.29 time.c
--- time/win32/time.c	17 Mar 2002 22:38:25 -0000	1.29
+++ time/win32/time.c	17 Mar 2002 23:32:41 -0000
@@ -146,7 +146,7 @@
     return aprtime; 
 }
 
-APR_DECLARE(apr_status_t) apr_explode_gmt(apr_time_exp_t *result,
+APR_DECLARE(apr_status_t) apr_time_exp_gmt(apr_time_exp_t *result,
                                           apr_time_t input)
 {
     FILETIME ft;
Index: time/win32/timestr.c
===================================================================
RCS file: /home/cvspublic/apr/time/win32/timestr.c,v
retrieving revision 1.17
diff -u -u -3 -r1.17 timestr.c
--- time/win32/timestr.c	13 Mar 2002 20:39:31 -0000	1.17
+++ time/win32/timestr.c	17 Mar 2002 23:32:41 -0000
@@ -71,7 +71,7 @@
     const char *s;
     int real_year;
 
-    apr_explode_gmt(&xt, t);
+    apr_time_exp_gmt(&xt, t);
 
     /* example: "Sat, 08 Jan 2000 18:31:41 GMT" */
     /*           12345678901234567890123456789  */

Mime
View raw message