]> code.citadel.org Git - citadel.git/commitdiff
* policy.c: warning fix for OSF/1 (use memset() instead of bzero())
authorNathan Bryant <loanshark@uncensored.citadel.org>
Thu, 29 Oct 1998 02:29:25 +0000 (02:29 +0000)
committerNathan Bryant <loanshark@uncensored.citadel.org>
Thu, 29 Oct 1998 02:29:25 +0000 (02:29 +0000)
citadel/ChangeLog
citadel/policy.c

index 754cf1349b8e7cf33aea486490123000df0bd414..2b04d8905f98822718b0a9195540662d33cab30b 100644 (file)
@@ -10,6 +10,7 @@ Wed Oct 28 20:20:14 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us
          *.mo, rebuild configure when configure.in changes.
        * configure.in: check for install and autoconf
        * configure.in, Makefile.in: only pass -fPIC to gcc
+       * policy.c: warning fix for OSF/1 (use memset() instead of bzero())
 
 Tue Oct 27 22:25:42 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * Unified the "unpacked database" format for both upgrades and
index d607d398f418702e17b6fb6c5f18d2734e15bf1b..a52beb78e7717f4eba4c680cfab0ec8fd53c7682 100644 (file)
@@ -79,7 +79,7 @@ void cmd_spex(char *argbuf) {
        struct floor flbuf;
        char which[256];
 
-       bzero(&exp, sizeof(struct ExpirePolicy));
+       memset(&exp, 0, sizeof(struct ExpirePolicy));
        extract(which, argbuf, 0);
        exp.expire_mode = extract_int(argbuf, 1);
        exp.expire_value = extract_int(argbuf, 2);