mirror of https://git.tukaani.org/xz.git
xz: Update the comment about NetBSD in file_io.c.
Thanks to Joerg Sonnenberger.
This commit is contained in:
parent
da014d5597
commit
bcb1b89834
|
@ -396,10 +396,10 @@ io_open_src_real(file_pair *pair)
|
||||||
was_symlink = true;
|
was_symlink = true;
|
||||||
|
|
||||||
# elif defined(__NetBSD__)
|
# elif defined(__NetBSD__)
|
||||||
// FIXME? As of 2008-11-20, NetBSD doesn't document what
|
// As of 2010-09-05, NetBSD doesn't document what errno is
|
||||||
// errno is used with O_NOFOLLOW. It seems to be EFTYPE,
|
// used with O_NOFOLLOW. It is EFTYPE though, and I
|
||||||
// but since it isn't documented, it may be wrong to rely
|
// understood that is very unlikely to change even though
|
||||||
// on it here.
|
// it is undocumented.
|
||||||
if (errno == EFTYPE)
|
if (errno == EFTYPE)
|
||||||
was_symlink = true;
|
was_symlink = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue