aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-09-05 21:34:29 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-09-05 21:34:29 +0300
commitbcb1b898341f7073f51660d7052d7ed6c5461a66 (patch)
tree3fa2f719d8f5854f01b885bfd2080f38d15bb3e2
parentxz: Use an array instead of pointer for stdin_filename. (diff)
downloadxz-bcb1b898341f7073f51660d7052d7ed6c5461a66.tar.xz
xz: Update the comment about NetBSD in file_io.c.
Thanks to Joerg Sonnenberger.
Diffstat (limited to '')
-rw-r--r--src/xz/file_io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c
index a78002eb..10829841 100644
--- a/src/xz/file_io.c
+++ b/src/xz/file_io.c
@@ -396,10 +396,10 @@ io_open_src_real(file_pair *pair)
was_symlink = true;
# elif defined(__NetBSD__)
- // FIXME? As of 2008-11-20, NetBSD doesn't document what
- // errno is used with O_NOFOLLOW. It seems to be EFTYPE,
- // but since it isn't documented, it may be wrong to rely
- // on it here.
+ // As of 2010-09-05, NetBSD doesn't document what errno is
+ // used with O_NOFOLLOW. It is EFTYPE though, and I
+ // understood that is very unlikely to change even though
+ // it is undocumented.
if (errno == EFTYPE)
was_symlink = true;