You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/10/18 13:12:39 UTC
svn commit: r1533386 - /subversion/trunk/subversion/libsvn_subr/time.c
Author: stefan2
Date: Fri Oct 18 11:12:39 2013
New Revision: 1533386
URL: http://svn.apache.org/r1533386
Log:
Coding style police. No functional change.
* subversion/libsvn_subr/time.c
(human_timestamp_format_suffix): rename to ...
(HUMAN_TIMESTAMP_FORMAT_SUFFIX): ... this since it's a #define
(svn_time_to_human_cstring): update user
Modified:
subversion/trunk/subversion/libsvn_subr/time.c
Modified: subversion/trunk/subversion/libsvn_subr/time.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/time.c?rev=1533386&r1=1533385&r2=1533386&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/time.c (original)
+++ subversion/trunk/subversion/libsvn_subr/time.c Fri Oct 18 11:12:39 2013
@@ -82,7 +82,7 @@
/* Machine parseable part, generated by apr_snprintf. */
#define HUMAN_TIMESTAMP_FORMAT "%.4d-%.2d-%.2d %.2d:%.2d:%.2d %+.2d%.2d"
/* Human explanatory part, generated by apr_strftime as "Sat, 01 Jan 2000" */
-#define human_timestamp_format_suffix _(" (%a, %d %b %Y)")
+#define HUMAN_TIMESTAMP_FORMAT_SUFFIX _(" (%a, %d %b %Y)")
const char *
svn_time_to_cstring(apr_time_t when, apr_pool_t *pool)
@@ -245,7 +245,7 @@ svn_time_to_human_cstring(apr_time_t whe
ret = apr_strftime(human_datestr,
&retlen,
SVN_TIME__MAX_LENGTH - len,
- human_timestamp_format_suffix,
+ HUMAN_TIMESTAMP_FORMAT_SUFFIX,
&exploded_time);
/* If there was an error, ensure that the string is zero-terminated. */