]> 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 19:04:40 +0000 (22:04 +0300)
Nowadays errno == EFTYPE is documented in open(2).

src/xz/file_io.c

index f601c564ecd0dd0fa7d7cf351fc3122fca139257..a97dbfa278d2809f901a544aa4ccdd49eee7fcf7 100644 (file)
@@ -398,10 +398,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;