From 2571b1f11135f4eebcfc1227afc2320e05cd8c77 Mon Sep 17 00:00:00 2001 From: "larryh%netscape.com" Date: Sat, 21 Nov 1998 00:20:16 +0000 Subject: [PATCH] BugZilla #1473 --- nsprpub/pr/src/io/prlog.c | 2 +- nsprpub/pr/src/md/unix/unix.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nsprpub/pr/src/io/prlog.c b/nsprpub/pr/src/io/prlog.c index bbd09ad09e4..24bf87e0a85 100644 --- a/nsprpub/pr/src/io/prlog.c +++ b/nsprpub/pr/src/io/prlog.c @@ -196,7 +196,7 @@ void _PR_InitLog(void) } lm = lm->next; } - if (NULL == lm) { + if (( PR_FALSE == skip_modcheck) && (NULL == lm)) { #ifdef XP_PC char* str = PR_smprintf("Unrecognized NSPR_LOG_MODULE: %s=%d\n", module, level); diff --git a/nsprpub/pr/src/md/unix/unix.c b/nsprpub/pr/src/md/unix/unix.c index 62096a6de58..88a9a0641c9 100644 --- a/nsprpub/pr/src/md/unix/unix.c +++ b/nsprpub/pr/src/md/unix/unix.c @@ -2499,7 +2499,7 @@ PRInt32 _MD_getopenfileinfo64(const PRFileDesc *fd, PRFileInfo64 *info) return rv; } -struct _MD_IOVector _md_iovector; +struct _MD_IOVector _md_iovector = { open }; /* ** These implementations are to emulate large file routines on systems that