remove bad patch to a file that's not compiled in anyway (no binary changes)
This commit is contained in:
parent
73eaddc596
commit
523207b9c8
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-lsort_c,v 1.1.1.1 2004/06/26 19:00:48 sturm Exp $
|
||||
--- lsort.c.orig 2003-09-11 10:20:03.000000000 -0400
|
||||
+++ lsort.c 2004-06-08 15:52:01.000000000 -0400
|
||||
@@ -90,9 +90,9 @@ save_it(buffer, pathname)
|
||||
struct save_line *sp;
|
||||
sp = malloc(sizeof *sp + strlen(buffer) + strlen(pathname) + 4);
|
||||
sp->key = (char*) (sp+1);
|
||||
- strcpy(sp->key, pathname);
|
||||
+ (void)strlcpy(sp->key, pathname, sizeof(sp->key));
|
||||
sp->data = (sp->key + strlen(sp->key) + 1);
|
||||
- strcpy(sp->data, buffer);
|
||||
+ (void)strlcpy(sp->data, buffer, sizeof(sp->data));
|
||||
sp->next = lines;
|
||||
lines = sp;
|
||||
++linecount;
|
Loading…
Reference in New Issue
Block a user