bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3.
They are replaced as proposed by SuSv3.
Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>
diff --git a/user/sash/sash.c b/user/sash/sash.c
index 24fbddb..b14c7f5 100644
--- a/user/sash/sash.c
+++ b/user/sash/sash.c
@@ -502,7 +502,7 @@ command(cmd)
* BASH-style variable setting
*/
if (argc == 1) {
- c = index(argv[0], '=');
+ c = strchr(argv[0], '=');
if (c > argv[0]) {
*c++ = '\0';
setenv(argv[0], c, 1);
--
1.5.3.3
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev