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/inetd/inetd.c b/user/inetd/inetd.c
index 0baf77a..e7c18cc 100644
--- a/user/inetd/inetd.c
+++ b/user/inetd/inetd.c
@@ -580,7 +580,7 @@ read_config_lines(FILE *cfp)
fprintf(stderr, "Malloc failed\n");
continue;
}
- bzero(p, sz);
+ memset(p, 0, sz);
/* copy in the args and exec path. */
/* No possible overrun here as we've already calculated the sizes */
--
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