Patch to rename apr_explode_time to apr_time_exp_tz
This does not impact apache2, and an svn patch is on it's way to that
mailing list too.
Cheers,
-Thom
--
Thom May -> [EMAIL PROTECTED]
Sending >500KB attachments is forbidden by the Geneva Convention.
Your country may be at risk if you fail to comply.
Index: renames_pending
===================================================================
RCS file: /home/cvspublic/apr/renames_pending,v
retrieving revision 1.7
diff -u -u -r1.7 renames_pending
--- renames_pending 13 Apr 2002 12:00:07 -0000 1.7
+++ renames_pending 14 Apr 2002 22:09:33 -0000
@@ -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
Index: include/apr_time.h
===================================================================
RCS file: /home/cvspublic/apr/include/apr_time.h,v
retrieving revision 1.48
diff -u -u -r1.48 apr_time.h
--- include/apr_time.h 13 Apr 2002 12:00:07 -0000 1.48
+++ include/apr_time.h 14 Apr 2002 22:09:38 -0000
@@ -149,7 +149,7 @@
* @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_DECLARE(apr_status_t) apr_time_exp_tz(apr_time_exp_t *result,
apr_time_t input,
apr_int32_t offs);
Index: test/testtime.c
===================================================================
RCS file: /home/cvspublic/apr/test/testtime.c,v
retrieving revision 1.31
diff -u -u -r1.31 testtime.c
--- test/testtime.c 13 Apr 2002 12:00:07 -0000 1.31
+++ test/testtime.c 14 Apr 2002 22:09:45 -0000
@@ -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))
Index: time/unix/time.c
===================================================================
RCS file: /home/cvspublic/apr/time/unix/time.c,v
retrieving revision 1.67
diff -u -u -r1.67 time.c
--- time/unix/time.c 13 Apr 2002 12:00:07 -0000 1.67
+++ time/unix/time.c 14 Apr 2002 22:09:46 -0000
@@ -146,7 +146,7 @@
xt->tm_gmtoff = get_offset(&tm);
}
-APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result,
+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);
@@ -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;
Index: time/win32/time.c
===================================================================
RCS file: /home/cvspublic/apr/time/win32/time.c,v
retrieving revision 1.31
diff -u -u -r1.31 time.c
--- time/win32/time.c 13 Apr 2002 12:00:07 -0000 1.31
+++ time/win32/time.c 14 Apr 2002 22:09:47 -0000
@@ -158,7 +158,7 @@
return APR_SUCCESS;
}
-APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result,
+APR_DECLARE(apr_status_t) apr_time_exp_tz(apr_time_exp_t *result,
apr_time_t input, apr_int32_t offs)
{
FILETIME ft;