summaryrefslogtreecommitdiff
path: root/devel/idutils/files/patch-configure
blob: 033b9d7c6aaf3447c00b0cd8aef36458f1349cf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.old	2011-03-28 08:15:17.000000000 +1100
+++ configure	2011-03-28 08:15:47.000000000 +1100
@@ -8239,7 +8239,7 @@
                   || close (fd) != 0
                   || stat (file, &st1) != 0
                   || st0.st_atime != st1.st_atime)
-                status |= 64;
+                status |= 0;
             }
             return status;
   ;
@@ -14722,8 +14722,6 @@
            linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
                    # closed fd may yield -EBADF instead of -1 / errno=EBADF.
              gl_cv_func_dup2_works=no;;
-           freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
-             gl_cv_func_dup2_works=no;;
            *) gl_cv_func_dup2_works=yes;;
          esac
 else