diff options
-rw-r--r-- | ChangeLog.txt | 3 | ||||
-rw-r--r-- | guts/mkfifoat.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index cba674d..777bcf9 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,6 @@ +2010-09-08: + * (seebs) handle mkfifo without guaranteeing an EINVAL response. + 2010-09-02: * (seebs) fix errno for getcwd() with insufficient size * (seebs) Add an RPATH entry to the pseudo binary to find the sqlite3 diff --git a/guts/mkfifoat.c b/guts/mkfifoat.c index b1053f1..26fcba3 100644 --- a/guts/mkfifoat.c +++ b/guts/mkfifoat.c @@ -6,8 +6,9 @@ * wrap_mkfifoat(int dirfd, const char *path, mode_t mode) { * int rc = -1; */ + dev_t unused = 0; - rc = wrap___xmknodat(_STAT_VER, dirfd, path, (mode & 07777) | S_IFIFO, 0); + rc = wrap___xmknodat(_STAT_VER, dirfd, path, (mode & 07777) | S_IFIFO, &unused); /* return rc; * } |