summaryrefslogtreecommitdiffstats
path: root/source/nmbd/nmbd_namequery.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-12-10 23:52:34 +0000
committerJeremy Allison <jra@samba.org>1998-12-10 23:52:34 +0000
commitbd61029e2ad2cec7751a251fccd2dbf709175fc9 (patch)
tree2de1a80e057dc126c004293642e713e3cd6fbce6 /source/nmbd/nmbd_namequery.c
parent4f9d42ea67814387d9f3ee9c7b0a672ea000b70c (diff)
downloadsamba-bd61029e2ad2cec7751a251fccd2dbf709175fc9.tar.gz
samba-bd61029e2ad2cec7751a251fccd2dbf709175fc9.tar.xz
samba-bd61029e2ad2cec7751a251fccd2dbf709175fc9.zip
HPUX fix. This looks like a big change but isn't actually, most of the
changes are bzero -> memset as the compiler on HPUX is very picky about bzero (probably a strange define). The significant changes are in configure.in, to fix the HPUX shadow.h problem and also move the large file support to the correct place. passdb/pass_check.c: Added includes for KRB5, DCE and AFS if requested in autoconf. tests/trapdoor.c: Fix to use setresuid and setresgid if defined. The rest of the changes are bzero -> memset. Jeremy.
Diffstat (limited to 'source/nmbd/nmbd_namequery.c')
-rw-r--r--source/nmbd/nmbd_namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_namequery.c b/source/nmbd/nmbd_namequery.c
index fae045882f2..8c415548421 100644
--- a/source/nmbd/nmbd_namequery.c
+++ b/source/nmbd/nmbd_namequery.c
@@ -193,7 +193,7 @@ BOOL query_name(struct subnet_record *subrec, char *name, int type,
struct res_rec rrec;
int i;
- bzero((char *)&rrec, sizeof(struct res_rec));
+ memset((char *)&rrec, '\0', sizeof(struct res_rec));
/* Fake up the needed res_rec just in case it's used. */
rrec.rr_name = nmbname;