]> git.pld-linux.org Git - packages/cvs.git/commitdiff
- avoid datetime parsing errors.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 6 Nov 2007 08:58:22 +0000 (08:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cvs-datetime.patch -> 1.1

cvs-datetime.patch [new file with mode: 0644]

diff --git a/cvs-datetime.patch b/cvs-datetime.patch
new file mode 100644 (file)
index 0000000..7acab6c
--- /dev/null
@@ -0,0 +1,15 @@
+diff -urN cvs-1.12.13.org/src/status.c cvs-1.12.13/src/status.c
+--- cvs-1.12.13.org/src/status.c       2005-09-22 20:38:28.000000000 +0200
++++ cvs-1.12.13/src/status.c   2007-11-06 09:55:55.830920982 +0100
+@@ -213,8 +213,9 @@
+       cvs_output ("   Working revision:\t", 0);
+       cvs_output (vers->vn_user, 0);
+-      /* Only add the UTC timezone if there is a time to use. */
+-      if (!server_active && strlen (vers->ts_rcs) > 0)
++      /* Only add the UTC timezone if there is a time to use.
++       * ts_rcs sometimes contains only "=" character so we check len > 1 */
++      if (!server_active && strlen (vers->ts_rcs) > 1)
+       {
+           /* Convert from the asctime() format to ISO 8601 */
+           char *buf;
This page took 0.523613 seconds and 4 git commands to generate.