[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] ccvs/lib ChangeLog Makefile.am Makefile.in mman.h
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] ccvs/lib ChangeLog Makefile.am Makefile.in mman.h |
Date: |
Fri, 12 Sep 2008 19:44:51 +0000 |
CVSROOT: /cvsroot/cvs
Module name: ccvs
Changes by: Derek Robert Price <dprice> 08/09/12 19:44:51
Modified files:
lib : ChangeLog Makefile.am Makefile.in
Added files:
lib : mman.h
Log message:
* mman.h: New file.
* Makefile.am (libcvs_a_SOURCES): Add mman.h.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/lib/ChangeLog?cvsroot=cvs&r1=1.558&r2=1.559
http://cvs.savannah.gnu.org/viewcvs/ccvs/lib/Makefile.am?cvsroot=cvs&r1=1.129&r2=1.130
http://cvs.savannah.gnu.org/viewcvs/ccvs/lib/Makefile.in?cvsroot=cvs&r1=1.233&r2=1.234
http://cvs.savannah.gnu.org/viewcvs/ccvs/lib/mman.h?cvsroot=cvs&rev=1.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/lib/ChangeLog,v
retrieving revision 1.558
retrieving revision 1.559
diff -u -b -r1.558 -r1.559
--- ChangeLog 12 Sep 2008 14:22:14 -0000 1.558
+++ ChangeLog 12 Sep 2008 19:44:50 -0000 1.559
@@ -1,3 +1,8 @@
+2008-09-12 Derek Price <address@hidden>
+
+ * mman.h: New file.
+ * Makefile.am (libcvs_a_SOURCES): Add mman.h.
+
2008-06-14 Mark D. Baushke <address@hidden>
* libcvs.mak (CPP_PROJ): Add /I "..\src" to find error.h
Index: Makefile.am
===================================================================
RCS file: /cvsroot/cvs/ccvs/lib/Makefile.am,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -b -r1.129 -r1.130
--- Makefile.am 29 Aug 2007 16:20:25 -0000 1.129
+++ Makefile.am 12 Sep 2008 19:44:50 -0000 1.130
@@ -1,9 +1,9 @@
## Process this file with automake to produce Makefile.in.
# Makefile for library files used by GNU CVS.
#
-# Copyright (C) 1986-2007 The Free Software Foundation, Inc.
+# Copyright (C) 1986-2008 The Free Software Foundation, Inc.
#
-# Portions Copyright (C) 1998-2007 Derek Price,
+# Portions Copyright (C) 1998-2008 Derek Price,
# Ximbiot LLC <http://ximbiot.com>,
# and others.
@@ -26,6 +26,7 @@
# with the diff library (perhaps to have the caller, CVS, do the
# matching?)
libcvs_a_SOURCES = \
+ mman.h \
sighandle.c \
system.h \
wait.h \
Index: Makefile.in
===================================================================
RCS file: /cvsroot/cvs/ccvs/lib/Makefile.in,v
retrieving revision 1.233
retrieving revision 1.234
diff -u -b -r1.233 -r1.234
--- Makefile.in 28 Jan 2008 05:32:58 -0000 1.233
+++ Makefile.in 12 Sep 2008 19:44:51 -0000 1.234
@@ -16,9 +16,9 @@
# Makefile for library files used by GNU CVS.
#
-# Copyright (C) 1986-2007 The Free Software Foundation, Inc.
+# Copyright (C) 1986-2008 The Free Software Foundation, Inc.
#
-# Portions Copyright (C) 1998-2007 Derek Price,
+# Portions Copyright (C) 1998-2008 Derek Price,
# Ximbiot LLC <http://ximbiot.com>,
# and others.
@@ -518,13 +518,13 @@
# Should look into unifying regular expression matching in CVS
# with the diff library (perhaps to have the caller, CVS, do the
# matching?)
-libcvs_a_SOURCES = sighandle.c system.h wait.h xselect.h xtime.h \
- base64.h base64.c getdate.y getnline.h getnline.c gettext.h \
- localcharset.h localcharset.c malloca.c mbchar.c mbslen.c \
- mbsstr.c mbuiter.h minmax.h mreadlink-with-size.c openat-die.c \
- savewd.h savewd.c size_max.h strnlen1.h strnlen1.c \
- uniwidth/width.c verify.h xalloc-die.c xgethostname.h \
- xgethostname.c xsize.h xstrndup.h xstrndup.c
+libcvs_a_SOURCES = mman.h sighandle.c system.h wait.h xselect.h \
+ xtime.h base64.h base64.c getdate.y getnline.h getnline.c \
+ gettext.h localcharset.h localcharset.c malloca.c mbchar.c \
+ mbslen.c mbsstr.c mbuiter.h minmax.h mreadlink-with-size.c \
+ openat-die.c savewd.h savewd.c size_max.h strnlen1.h \
+ strnlen1.c uniwidth/width.c verify.h xalloc-die.c \
+ xgethostname.h xgethostname.c xsize.h xstrndup.h xstrndup.c
libcvs_a_LIBADD = @LIBOBJS@ $(gl_LIBOBJS) @ALLOCA@
libcvs_a_DEPENDENCIES = @LIBOBJS@ $(gl_LIBOBJS) @ALLOCA@
BUILT_SOURCES = $(ALLOCA_H) $(ARPA_INET_H) configmake.h $(DIRENT_H) \
Index: mman.h
===================================================================
RCS file: mman.h
diff -N mman.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ mman.h 12 Sep 2008 19:44:51 -0000 1.1
@@ -0,0 +1,26 @@
+/* Copyright (C) 2008 The Free Software Foundation, Inc.
+ *
+ * Portions Copyright (C) 2008 Derek Price
+ * and Ximbiot LLC <http://ximbiot.com>.
+ *
+ * Abstraction for the sys/mman.h header. Don't include this unless you've
+ * checked HAVE_MMAP.
+ *
+ * Probably, this should be moved into GNULIB. The exact same cruft below is
+ * used in GNULIB's pagealign_alloc.c.
+ */
+#ifndef MMAN_H
+#define MMAN_H
+
+#include <sys/mman.h>
+
+/* Define MAP_FILE when it isn't otherwise. */
+#ifndef MAP_FILE
+# define MAP_FILE 0
+#endif
+/* Define MAP_FAILED for old systems which neglect to. */
+#ifndef MAP_FAILED
+# define MAP_FAILED ((void *)-1)
+#endif
+
+#endif /* MMAN_H double-inclusion guard. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Cvs-cvs] ccvs/lib ChangeLog Makefile.am Makefile.in mman.h,
Derek Robert Price <=