striker 02/03/21 02:03:39
Modified: . renames_pending
include apr_time.h
test testtime.c
time/unix time.c timestr.c
time/win32 time.c timestr.c
Log:
Rename apr_explode_gmt to apr_time_exp_gmt.
Submitted by: Thom May <[EMAIL PROTECTED]>
Revision Changes Path
1.6 +0 -1 apr/renames_pending
Index: renames_pending
===================================================================
RCS file: /home/cvs/apr/renames_pending,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- renames_pending 17 Mar 2002 22:38:25 -0000 1.5
+++ renames_pending 21 Mar 2002 10:03:38 -0000 1.6
@@ -1,6 +1,5 @@
Symbol renames for APR
-apr_time_exp_gmt from apr_explode_gmt
apr_time_exp_lt from apr_explode_localtime
apr_time_exp_tz from apr_explode_time
1.47 +2 -2 apr/include/apr_time.h
Index: apr_time.h
===================================================================
RCS file: /home/cvs/apr/include/apr_time.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- apr_time.h 17 Mar 2002 22:38:25 -0000 1.46
+++ apr_time.h 21 Mar 2002 10:03:38 -0000 1.47
@@ -158,8 +158,8 @@
* @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_time_t input);
+APR_DECLARE(apr_status_t) apr_time_exp_gmt(apr_time_exp_t *result,
+ apr_time_t input);
/**
* convert a time to its human readable components in local timezone
1.30 +1 -1 apr/test/testtime.c
Index: testtime.c
===================================================================
RCS file: /home/cvs/apr/test/testtime.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- testtime.c 17 Mar 2002 22:38:25 -0000 1.29
+++ testtime.c 21 Mar 2002 10:03:38 -0000 1.30
@@ -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))
1.64 +4 -3 apr/time/unix/time.c
Index: time.c
===================================================================
RCS file: /home/cvs/apr/time/unix/time.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- time.c 17 Mar 2002 22:38:25 -0000 1.63
+++ time.c 21 Mar 2002 10:03:38 -0000 1.64
@@ -146,15 +146,16 @@
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_explode_time(apr_time_exp_t *result,
+ apr_time_t input, apr_int32_t offs)
{
explode_time(result, input, offs, 0);
result->tm_gmtoff = offs;
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);
}
1.26 +1 -1 apr/time/unix/timestr.c
Index: timestr.c
===================================================================
RCS file: /home/cvs/apr/time/unix/timestr.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- timestr.c 13 Mar 2002 20:39:31 -0000 1.25
+++ timestr.c 21 Mar 2002 10:03:38 -0000 1.26
@@ -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 */
1.30 +2 -2 apr/time/win32/time.c
Index: time.c
===================================================================
RCS file: /home/cvs/apr/time/win32/time.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- time.c 17 Mar 2002 22:38:25 -0000 1.29
+++ time.c 21 Mar 2002 10:03:38 -0000 1.30
@@ -146,8 +146,8 @@
return aprtime;
}
-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)
{
FILETIME ft;
SYSTEMTIME st;
1.18 +1 -1 apr/time/win32/timestr.c
Index: timestr.c
===================================================================
RCS file: /home/cvs/apr/time/win32/timestr.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- timestr.c 13 Mar 2002 20:39:31 -0000 1.17
+++ timestr.c 21 Mar 2002 10:03:39 -0000 1.18
@@ -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 */