Hello
This fixes a bug in strsep where it was increasing the wrong pointer.
The only existing user of it I can find is arch/ppc/xmon/xmon.c, within
#if 0 and they do not use the updated pointer anyway.
Patch vs test6-pre8, but this is unchanged in test6. Please apply.
/Urban
--- linux-2.4.0-test6-pre8-orig/lib/string.c Thu Aug 10 13:36:56 2000
+++ linux/lib/string.c Thu Aug 10 13:37:07 2000
@@ -250,7 +250,7 @@
*s = strpbrk( sbegin, ct);
if (*s && **s != '\0')
- **s++ = '\0';
+ *(*s)++ = '\0';
return (sbegin);
}
#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:21 EST