diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-06-09 00:26:18 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-06-14 19:50:58 -0400 |
commit | 10800088099ec4c27c1db6c613c8bbf9f76e4057 (patch) | |
tree | c4a6978a0806d91991af2a63fba384b4afae5722 /src/stdio/vswscanf.c | |
parent | af0517301677b4206c605caaef25f5d57a31b5b8 (diff) | |
download | musl-10800088099ec4c27c1db6c613c8bbf9f76e4057.tar.gz musl-10800088099ec4c27c1db6c613c8bbf9f76e4057.tar.bz2 musl-10800088099ec4c27c1db6c613c8bbf9f76e4057.tar.xz musl-10800088099ec4c27c1db6c613c8bbf9f76e4057.zip |
getdate: correctly specify error number
POSIX defines getdate error #5 as:
"An I/O error is encountered while reading the template file."
POSIX defines getdate error #7 as:
"There is no line in the template that matches the input."
This change correctly disambiguates between the two error conditions.
Diffstat (limited to 'src/stdio/vswscanf.c')
0 files changed, 0 insertions, 0 deletions