pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/skippy/patches Add patch missed in previous.
details: https://anonhg.NetBSD.org/pkgsrc/rev/74cc76645596
branches: trunk
changeset: 527781:74cc76645596
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Fri Apr 13 09:33:46 2007 +0000
description:
Add patch missed in previous.
diffstat:
wm/skippy/patches/patch-ab | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diffs (28 lines):
diff -r b8a3657950f6 -r 74cc76645596 wm/skippy/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/skippy/patches/patch-ab Fri Apr 13 09:33:46 2007 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1 2007/04/13 09:33:46 xtraeme Exp $
+
+--- config.c.orig 2007-04-13 04:46:28.000000000 +0200
++++ config.c 2007-04-13 04:48:03.000000000 +0200
+@@ -72,9 +72,9 @@
+ int ix = 0, l_ix = 0;
+ dlist *new_config = 0;
+
+- regcomp(&re_section, "^[[:space:]]*\\[[[:space:]]*([[:alnum:]]*?)[[:space:]]*\\][[:space:]]*$", REG_EXTENDED);
++ regcomp(&re_section, "^[[:space:]]*\\[[[:space:]]*([[:alnum:]]*)[[:space:]]*\\][[:space:]]*$", REG_EXTENDED);
+ regcomp(&re_empty, "^[[:space:]]*#|^[[:space:]]*$", REG_EXTENDED);
+- regcomp(&re_entry, "^[[:space:]]*([[:alnum:]]+)[[:space:]]*=[[:space:]]*(.*?)[[:space:]]*$", REG_EXTENDED);
++ regcomp(&re_entry, "^[[:space:]]*([[:alnum:]]+)[[:space:]]*=[[:space:]]*(.*)[[:space:]]*$", REG_EXTENDED);
+
+ while(1)
+ {
+@@ -148,6 +148,7 @@
+ fclose(fin);
+ return 0;
+ }
++ data[flen] = '\0';
+
+ fclose(fin);
+
Home |
Main Index |
Thread Index |
Old Index