diff options
-rw-r--r-- | ChangeLog.txt | 3 | ||||
-rw-r--r-- | guts/tempnam.c | 2 | ||||
-rw-r--r-- | guts/tmpnam.c | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 0d5c2dc..d3ced17 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,6 @@ +2010-03-25: + * (seebs) fix return values. + 2010-03-24: * (seebs) add chroot syscall * (seebs) add chroot handling to path canonicalization diff --git a/guts/tempnam.c b/guts/tempnam.c index 4da3c83..d620898 100644 --- a/guts/tempnam.c +++ b/guts/tempnam.c @@ -5,7 +5,7 @@ */ pseudo_diag("tempnam() is so ludicrously insecure as to defy implementation."); errno = ENOMEM; - rc = 0; + rc = NULL; /* return rc; * } diff --git a/guts/tmpnam.c b/guts/tmpnam.c index 3e1aab2..d854719 100644 --- a/guts/tmpnam.c +++ b/guts/tmpnam.c @@ -6,7 +6,7 @@ pseudo_diag("tmpnam() is so ludicrously insecure as to defy implementation."); errno = ENOMEM; - rc = 0; + rc = NULL; /* return rc; * } |