source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: 1.13 backport: handle absence of PATH_MAX
@ 2016-08-02 11:19 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2016-08-02 11:19 UTC (permalink / raw)
  To: source

Log Message:
-----------
1.13 backport: handle absence of PATH_MAX

Tags:
----
VERSION_1_13

Modified Files:
--------------
    mdocml:
        Makefile
        configure
        configure.local.example

Revision Data
-------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/Makefile,v
retrieving revision 1.488.2.1
retrieving revision 1.488.2.2
diff -LMakefile -LMakefile -u -p -r1.488.2.1 -r1.488.2.2
--- Makefile
+++ Makefile
@@ -29,6 +29,7 @@ TESTSRCS	 = test-dirent-namlen.c \
 		   test-mmap.c \
 		   test-nanosleep.c \
 		   test-ohash.c \
+		   test-PATH_MAX.c \
 		   test-pledge.c \
 		   test-progname.c \
 		   test-reallocarray.c \
Index: configure
===================================================================
RCS file: /home/cvs/mdocml/mdocml/configure,v
retrieving revision 1.43.2.2
retrieving revision 1.43.2.3
diff -Lconfigure -Lconfigure -u -p -r1.43.2.2 -r1.43.2.3
--- configure
+++ configure
@@ -209,6 +209,7 @@ runtest getsubopt	GETSUBOPT	|| true
 runtest isblank		ISBLANK		|| true
 runtest mkdtemp		MKDTEMP		|| true
 runtest mmap		MMAP		|| true
+runtest PATH_MAX	PATH_MAX	|| true
 runtest pledge		PLEDGE		|| true
 runtest sandbox_init	SANDBOX_INIT	|| true
 runtest progname	PROGNAME	|| true
@@ -351,6 +352,7 @@ echo "#define MANPATH_DEFAULT \"${MANPAT
 [ -n "${OSNAME}" ] && echo "#define OSNAME \"${OSNAME}\""
 [ -n "${UTF8_LOCALE}" ] && echo "#define UTF8_LOCALE \"${UTF8_LOCALE}\""
 [ -n "${HOMEBREWDIR}" ] && echo "#define HOMEBREWDIR \"${HOMEBREWDIR}\""
+[ ${HAVE_PATH_MAX} -eq 0 ] && echo "#define PATH_MAX 4096"
 
 cat << __HEREDOC__
 #define HAVE_DIRENT_NAMLEN ${HAVE_DIRENT_NAMLEN}
Index: configure.local.example
===================================================================
RCS file: /home/cvs/mdocml/mdocml/configure.local.example,v
retrieving revision 1.14.2.2
retrieving revision 1.14.2.3
diff -Lconfigure.local.example -Lconfigure.local.example -u -p -r1.14.2.2 -r1.14.2.3
--- configure.local.example
+++ configure.local.example
@@ -272,6 +272,7 @@ HAVE_GETSUBOPT=0
 HAVE_ISBLANK=0
 HAVE_MKDTEMP=0
 HAVE_MMAP=0
+HAVE_PATH_MAX=0
 HAVE_PLEDGE=0
 HAVE_PROGNAME=0
 HAVE_REALLOCARRAY=0
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-02 11:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-02 11:19 mdocml: 1.13 backport: handle absence of PATH_MAX schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).