]> granicus.if.org Git - xz/commitdiff
xz: Remove an outdated NetBSD-specific comment.
authorLasse Collin <lasse.collin@tukaani.org>
Fri, 28 Jun 2013 15:46:13 +0000 (18:46 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 28 Jun 2013 15:46:13 +0000 (18:46 +0300)
Nowadays errno == EFTYPE is documented in open(2).

src/xz/file_io.c

index e0f44d03d8f75acc143cbe9d2a47fe6845cdcbc4..6598ef6e6496b7c52afb17f65612e5ff3897f2b7 100644 (file)
@@ -401,10 +401,6 @@ io_open_src_real(file_pair *pair)
                        was_symlink = true;
 
 #      elif defined(__NetBSD__)
-               // 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;