SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
net/tinyfugue/patches/patch-src_history_c
Normal file
13
net/tinyfugue/patches/patch-src_history_c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/history.c.orig Mon May 24 12:07:15 2010
|
||||
+++ src/history.c Mon May 24 12:08:26 2010
|
||||
@@ -66,7 +66,9 @@ static Aline blankline[1] = { BLANK_ALINE };
|
||||
static struct History input[1];
|
||||
static int wnmatch = 4, wnlines = 5, wdmatch = 2, wdlines = 5;
|
||||
|
||||
-struct History globalhist[1], localhist[1];
|
||||
+static struct History globalhist_storage, localhist_storage;
|
||||
+struct History *globalhist = &globalhist_storage,
|
||||
+ *localhist = &localhist_storage;
|
||||
int log_count = 0;
|
||||
int norecord = 0; /* supress history (but not log) recording */
|
||||
int nolog = 0; /* supress log (but not history) recording */
|
Loading…
Add table
Add a link
Reference in a new issue