SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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 */