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/ftpd/config.h b/user/ftpd/config.h index b3c9fb9..4265d50 100644 --- a/user/ftpd/config.h +++ b/user/ftpd/config.h @@ -44,13 +44,13 @@ /* #undef HAVE_ATTR_WEAK_REFS */ /* Define to 1 if you have the `bcmp' function. */ -#define HAVE_BCMP 1 +#undef HAVE_BCMP /* Define to 1 if you have the `bcopy' function. */ -#define HAVE_BCOPY 1 +#undef HAVE_BCOPY /* Define to 1 if you have the `bzero' function. */ -#define HAVE_BZERO 1 +#undef HAVE_BZERO /* Define to 1 if the system has the type `cc_t'. */ #define HAVE_CC_T 1 diff --git a/user/ftpd/logwtmp.c b/user/ftpd/logwtmp.c index e332900..928f3e8 100644 --- a/user/ftpd/logwtmp.c +++ b/user/ftpd/logwtmp.c @@ -112,7 +112,7 @@ logwtmp (char *line, char *name, char *host) struct utmp ut; /* Set information in new entry. */ - bzero (&ut, sizeof (ut)); + memset (&ut, 0, sizeof (ut)); #ifdef HAVE_STRUCT_UTMP_UT_TYPE ut.ut_type = USER_PROCESS; #endif -- 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
