diff options
author | Steve Price <steve@FreeBSD.org> | 1998-08-10 00:03:14 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-08-10 00:03:14 +0000 |
commit | 21704cd5242b6340e006490704c9b33a26288b59 (patch) | |
tree | 1f8ec9f5968ef3b807611035f14f2a57faf563b4 /x11-fm/xfm/files | |
parent | Update to version 2.02.1. (diff) |
strtol -> strtoul so the 'magic' file is parsed correctly.
PR: 7535
Submitted by: Sergey Shkonda <serg@bcs.zp.ua>
Notes
Notes:
svn path=/head/; revision=12388
Diffstat (limited to 'x11-fm/xfm/files')
-rw-r--r-- | x11-fm/xfm/files/patch-ab | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-fm/xfm/files/patch-ab b/x11-fm/xfm/files/patch-ab new file mode 100644 index 000000000000..c0fdb1311d5c --- /dev/null +++ b/x11-fm/xfm/files/patch-ab @@ -0,0 +1,11 @@ +--- src/magic.c.orig Sun Aug 9 13:47:06 1998 ++++ src/magic.c Sun Aug 9 13:47:18 1998 +@@ -227,7 +227,7 @@ + default: + mtypes[count].flags |= M_EQ; + } +- mtypes[count].value.number = strtol(cptr, &cptr, 0); ++ mtypes[count].value.number = strtoul(cptr, &cptr, 0); + } + while(isspace(*cptr)) + cptr++; |