From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/nfs-utils/patches/patch-utils_mountd_fsloc_c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/nfs-utils/patches/patch-utils_mountd_fsloc_c (limited to 'package/nfs-utils/patches/patch-utils_mountd_fsloc_c') diff --git a/package/nfs-utils/patches/patch-utils_mountd_fsloc_c b/package/nfs-utils/patches/patch-utils_mountd_fsloc_c new file mode 100644 index 000000000..61e42a7c6 --- /dev/null +++ b/package/nfs-utils/patches/patch-utils_mountd_fsloc_c @@ -0,0 +1,12 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- nfs-utils-1.1.3.orig/utils/mountd/fsloc.c 2008-07-27 23:01:45.000000000 +0200 ++++ nfs-utils-1.1.3/utils/mountd/fsloc.c 2008-10-06 16:46:49.000000000 +0200 +@@ -126,7 +126,7 @@ static struct servers *method_list(char + struct servers *rv=NULL; + + xlog(L_NOTICE, "method_list(%s)\n", data); +- for (ptr--, listsize=1; ptr; ptr=index(ptr, ':'), listsize++) ++ for (ptr--, listsize=1; ptr; ptr=strchr(ptr, ':'), listsize++) + ptr++; + list = malloc(listsize * sizeof(char *)); + copy = strdup(data); -- cgit v1.2.3