bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing define on certain platform


From: jeremy brand
Subject: missing define on certain platform
Date: Fri, 31 May 2002 11:05:59 -0700 (PDT)

Added to allow CVS to compile on certain older libc5 linux systems that do
not have MAP_FAILED defined.

Jeremy Brand

-----------
Index: ChangeLog
===================================================================
RCS file: /cvsroot/ccvs/ChangeLog,v
retrieving revision 1.648
diff -u -r1.648 ChangeLog
--- ChangeLog   22 May 2002 16:12:57 -0000      1.648
+++ ChangeLog   31 May 2002 17:42:03 -0000
@@ -1,3 +1,8 @@
+2002-05-31  Jeremy Brand  <address@hidden>, <address@hidden>
+
+        * Added to allow CVS to compile on certain older libc5 linux systems
+        that do not have MAP_FAILED defined.
+
 2002-05-22  Larry Jones  <address@hidden>

        * TODO (173, 202): Update to reflect current state of affairs.
Index: src/rcs.h
===================================================================
RCS file: /cvsroot/ccvs/src/rcs.h,v
retrieving revision 1.58
diff -u -r1.58 rcs.h
--- src/rcs.h   30 Mar 2001 22:10:36 -0000      1.58
+++ src/rcs.h   31 May 2002 17:42:03 -0000
@@ -13,6 +13,10 @@
 #define        RCS_MERGE_PAT_2 "=======\n"
 #define        RCS_MERGE_PAT_3 ">>>>>>> "

+#ifndef MAP_FAILED
+#define MAP_FAILED NULL
+#endif
+
 #define        RCSEXT          ",v"
 #define RCSPAT         "*,v"
 #define        RCSHEAD         "head"

Attachment: cvs.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]