because it means getdelim() returns -1 for both error and EOF, and never returns 0. However, this is what the original GNU implementation does, and POSIX inherited the bug. Reported by: marcus@ |
||
|---|---|---|
| .. | ||
| libc | ||
| libmp | ||
| libutil | ||
| msun | ||
because it means getdelim() returns -1 for both error and EOF, and never returns 0. However, this is what the original GNU implementation does, and POSIX inherited the bug. Reported by: marcus@ |
||
|---|---|---|
| .. | ||
| libc | ||
| libmp | ||
| libutil | ||
| msun | ||