diff options
author | Stephane Chazelas <stephane.chazelas@gmail.com> | 2018-03-18 16:49:42 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2018-03-18 16:49:42 -0700 |
commit | d2350a1e8027e9550996464739885f5ec468bd83 (patch) | |
tree | 005357eaa5df8be0b5e374e13753c853c16d5d7e /Src/Modules/mapfile.c | |
parent | 1219eae82938c918f5183e89af4a54296256372f (diff) | |
download | zsh-d2350a1e8027e9550996464739885f5ec468bd83.tar.gz zsh-d2350a1e8027e9550996464739885f5ec468bd83.tar.xz zsh-d2350a1e8027e9550996464739885f5ec468bd83.zip |
42469: necessary repairs to 42465 found by "make check"
Diffstat (limited to 'Src/Modules/mapfile.c')
-rw-r--r-- | Src/Modules/mapfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Modules/mapfile.c b/Src/Modules/mapfile.c index 771e5b5fc..7a903418f 100644 --- a/Src/Modules/mapfile.c +++ b/Src/Modules/mapfile.c @@ -197,9 +197,8 @@ get_contents(char *fname) val = NULL; if ((fd = open(fname, O_RDONLY | O_NOCTTY)) >= 0) { LinkList ll; - int readerror; - if ((ll = readoutput(fd, 1, &readerror))) + if ((ll = readoutput(fd, 1, 0))) val = peekfirst(ll); } #endif /* USE_MMAP */ |