summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlarryh%netscape.com <devnull@localhost>1998-11-21 00:20:16 +0000
committerlarryh%netscape.com <devnull@localhost>1998-11-21 00:20:16 +0000
commitff2890ebc6c7d2d10ea434010a65f4d1e9340178 (patch)
tree964149986c752b28943340c7d48bfc2ca655fea3
parentf6e9241f8895edaa804432ed3050a32fbeab1ddd (diff)
downloadnspr-hg-ff2890ebc6c7d2d10ea434010a65f4d1e9340178.tar.gz
BugZilla #1473
-rw-r--r--pr/src/io/prlog.c2
-rw-r--r--pr/src/md/unix/unix.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pr/src/io/prlog.c b/pr/src/io/prlog.c
index bbd09ad0..24bf87e0 100644
--- a/pr/src/io/prlog.c
+++ b/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/pr/src/md/unix/unix.c b/pr/src/md/unix/unix.c
index 62096a6d..88a9a064 100644
--- a/pr/src/md/unix/unix.c
+++ b/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