diff options
Diffstat (limited to 'package/util-linux/patches/patch-text-utils_display_c')
-rw-r--r-- | package/util-linux/patches/patch-text-utils_display_c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/util-linux/patches/patch-text-utils_display_c b/package/util-linux/patches/patch-text-utils_display_c new file mode 100644 index 000000000..f1b17a774 --- /dev/null +++ b/package/util-linux/patches/patch-text-utils_display_c @@ -0,0 +1,12 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- util-linux-2.12r.orig/text-utils/display.c 2002-03-09 00:05:39.000000000 +0100 ++++ util-linux-2.12r/text-utils/display.c 2008-10-16 12:52:48.000000000 +0200 +@@ -163,7 +163,7 @@ static void bpad(PR *pr) + pr->cchar[0] = 's'; + pr->cchar[1] = 0; + for (p1 = pr->fmt; *p1 != '%'; ++p1); +- for (p2 = ++p1; *p1 && index(spec, *p1); ++p1); ++ for (p2 = ++p1; *p1 && strchr(spec, *p1); ++p1); + while ((*p2++ = *p1++) != 0) ; + } + |