[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling diffutils under tru64 version 5
From: |
David L. Nicol |
Subject: |
compiling diffutils under tru64 version 5 |
Date: |
Wed, 27 Dec 2000 20:14:41 -0600 |
In order to compile diffutils 2.7 under OSF, I had to edit out
an ifdef in the fnmatch.h file.
bash-2.03$ ./diff -u fnmatch.h*
--- fnmatch.h Tue Sep 27 11:16:50 1994
+++ fnmatch.h_mine Wed Dec 27 20:00:01 2000
@@ -18,7 +18,6 @@
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef _FNMATCH_H
-
#define _FNMATCH_H 1
#ifdef __cplusplus
@@ -48,11 +47,9 @@
#define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special
chars. */
#define FNM_PERIOD (1 << 2) /* Leading `.' is matched only
explicitly. */
-#if !defined (_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 2 || defined (_GNU_SOURCE)
#define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
#define FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */
#define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */
-#endif
/* Value returned by `fnmatch' if STRING does not match PATTERN. */
#define FNM_NOMATCH 1
I don't know what defines I've got here that would let the required ones
happen.
--
David Nicol 816.235.1187 address@hidden
Today in art class, draw your sword
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- compiling diffutils under tru64 version 5,
David L. Nicol <=