diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-04-30 12:26:46 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-04-30 12:26:46 +0800 |
commit | 352f5c20f36ec666fd29022fcccad7f7c1970138 (patch) | |
tree | c457a5fb06046131146c2437499f54e55645079d /deskutils/gnome-utils/files/patch-logview_misc.c | |
parent | 3ed1d4879f6be42f66eaa3723475f889a5307fd9 (diff) | |
download | marcuscom-ports-352f5c20f36ec666fd29022fcccad7f7c1970138.tar marcuscom-ports-352f5c20f36ec666fd29022fcccad7f7c1970138.tar.gz marcuscom-ports-352f5c20f36ec666fd29022fcccad7f7c1970138.tar.bz2 marcuscom-ports-352f5c20f36ec666fd29022fcccad7f7c1970138.tar.lz marcuscom-ports-352f5c20f36ec666fd29022fcccad7f7c1970138.tar.xz marcuscom-ports-352f5c20f36ec666fd29022fcccad7f7c1970138.tar.zst marcuscom-ports-352f5c20f36ec666fd29022fcccad7f7c1970138.zip |
- Update to 2.15.0
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6160 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gnome-utils/files/patch-logview_misc.c')
-rw-r--r-- | deskutils/gnome-utils/files/patch-logview_misc.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/deskutils/gnome-utils/files/patch-logview_misc.c b/deskutils/gnome-utils/files/patch-logview_misc.c new file mode 100644 index 000000000..1a0f54cfe --- /dev/null +++ b/deskutils/gnome-utils/files/patch-logview_misc.c @@ -0,0 +1,21 @@ +--- logview/misc.c.orig Tue Apr 18 21:28:07 2006 ++++ logview/misc.c Tue Apr 18 21:28:30 2006 +@@ -135,15 +135,15 @@ string_get_date (char *line) + { + GDate *date; + struct tm tp; +- int cp; ++ char *cp; + + if (line == NULL || line[0] == 0) + return NULL; + + cp = strptime (line, "%b %d", &tp); +- if (cp == 0) { ++ if (cp == NULL) { + cp = strptime (line, "%F", &tp); +- if (cp == 0) { ++ if (cp == NULL) { + return NULL; + } + } |