summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-utils/files/patch-logview_misc.c
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-30 12:26:46 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-30 12:26:46 +0800
commit352f5c20f36ec666fd29022fcccad7f7c1970138 (patch)
treec457a5fb06046131146c2437499f54e55645079d /deskutils/gnome-utils/files/patch-logview_misc.c
parent3ed1d4879f6be42f66eaa3723475f889a5307fd9 (diff)
downloadmarcuscom-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.c21
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;
+ }
+ }