On Tue, 2017 Feb 28 16:47+0100, Bruno Haible wrote: > > The relevant spec here is POSIX: > http://pubs.opengroup.org/onlinepubs/9699919799/functions/symlink.html > Line 64 of test-symlink.h:64 corresponds to the case > > [ENOENT] or [ENOTDIR] > The path2 argument contains at least one non- <slash> character > and ends with one or more trailing <slash> characters. ... > > > However, the GNU/Linux man pages for symlink() and symlinkat() make > > no mention of EINVAL. > > When a facility is specified by POSIX, gnulib's tests try to go with > the POSIX spec, at least on non-glibc platforms.
All right, that document seems pretty cut-and-dry about what errno values can be returned. I'll file a report with IBM and see what they say. Thanks for the pointer, --Daniel -- Daniel Richard G. || [email protected] My ASCII-art .sig got a bad case of Times New Roman.
