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/boa/src/auth.c b/user/boa/src/auth.c
index e8f000e..12c16f3 100644
--- a/user/boa/src/auth.c
+++ b/user/boa/src/auth.c
@@ -21,7 +21,7 @@
 
 #include <stdio.h>
 #include <fcntl.h>
-#include <strings.h>
+#include <string.h>
 #ifdef __UC_LIBC__
 #include <unistd.h>
 #else
@@ -365,7 +365,7 @@ int auth_authorize(request * req)
                                                        break;
 #endif
                                        }
-                                       bzero(current_client, 
sizeof(current_client));
+                                       memset(current_client, 0, 
sizeof(current_client));
                                        send_r_unauthorized(req,server_name);
                                        return 0;
                                }
diff --git a/user/boa/src/config.c b/user/boa/src/config.c
index dc222a9..9ad3d8a 100644
--- a/user/boa/src/config.c
+++ b/user/boa/src/config.c
@@ -322,7 +322,7 @@ embedparse(FILE *fp)
        if (fp == NULL)
                return(-1);
        
-       bzero(arg, sizeof(arg));
+       memset(arg, 0, sizeof(arg));
        
        line = 0;
        while (fgets(buf, sizeof(buf), fp)) {
-- 
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

Reply via email to