diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2005-08-28 08:12:50 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2005-08-28 08:12:50 +0000 |
commit | bfbbdad41276ab22f33ea164e51516cf5497fbb5 (patch) | |
tree | f7f32a122e525aad1b207019467ba162e6e70706 /www/geolizer/files/patch-linklist | |
parent | Add a forgotten patch to fix the build on non_linux systems. (diff) |
Upgrade to 20050520 patch
Take maintainership
Notes
Notes:
svn path=/head/; revision=141044
Diffstat (limited to '')
-rw-r--r-- | www/geolizer/files/patch-linklist | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/www/geolizer/files/patch-linklist b/www/geolizer/files/patch-linklist index 7320ad7233a5..7e2ca025bae9 100644 --- a/www/geolizer/files/patch-linklist +++ b/www/geolizer/files/patch-linklist @@ -1,21 +1,3 @@ ---- linklist.c.orig Sat Jun 23 11:12:40 2001 -+++ linklist.c Sat Jun 23 11:19:54 2001 -@@ -190,12 +190,12 @@ - int add_glist(char *str, GLISTPTR *list) - { - GLISTPTR newptr,cptr,pptr; -- char temp_buf[80]; -+ char temp_buf[LINKLIST_MAX_STRING]; - char *name=temp_buf; - - /* make local copy of string */ -- strncpy(temp_buf,str,79); -- temp_buf[79]=0; -+ strncpy(temp_buf,str,LINKLIST_MAX_STRING - 1); -+ temp_buf[LINKLIST_MAX_STRING - 1]=0; - - while (!isspace((unsigned char)*name)&&*name!=0) name++; - if (*name==0) name=temp_buf; --- linklist.h.orig Fri Sep 29 05:50:30 2000 +++ linklist.h Sat Jun 23 11:15:57 2001 @@ -1,12 +1,18 @@ |