summaryrefslogtreecommitdiff
path: root/print/dviselect/files/patch-lib_search.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:02:16 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:02:16 +0000
commitba06c2d6a37dc081a3a8c5a01426a0a009428ca9 (patch)
tree7b1cdea9a21ff4ed307e29514e9d8286d9d83dfa /print/dviselect/files/patch-lib_search.c
parentStage, and pull the patches into a sed command. (diff)
Rename p*/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363322
Diffstat (limited to 'print/dviselect/files/patch-lib_search.c')
-rw-r--r--print/dviselect/files/patch-lib_search.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/dviselect/files/patch-lib_search.c b/print/dviselect/files/patch-lib_search.c
new file mode 100644
index 000000000000..43054c620521
--- /dev/null
+++ b/print/dviselect/files/patch-lib_search.c
@@ -0,0 +1,11 @@
+--- lib/search.c~ Wed Nov 15 13:19:58 1989
++++ lib/search.c Wed Dec 13 22:53:51 2006
+@@ -72,7 +72,7 @@
+ s->s_space = 10; /* initially, room for 10 objects */
+ s->s_n = 0; /* and none in the table */
+ if ((s->s_data = malloc(s->s_space * dsize)) == 0) {
+- free((char *) s); (char *) s = 0;
++ free((char *) s); s = 0;
+ return (0);
+ }
+ return (s);