Cleanup redundant definition of PATH_MAX
authorJeremy Harris <jgh146exb@wizmail.org>
Wed, 23 Mar 2016 21:50:20 +0000 (21:50 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 9 Apr 2016 14:48:51 +0000 (15:48 +0100)
src/OS/Makefile-Base
src/src/exim.h

index 0ae416410c1df7746d7db6a0cae244209abc091a..cba5cd35983a693e98c030f665c83c4198d9a25d 100644 (file)
@@ -456,7 +456,7 @@ eximon.bin: $(EXIMON_EDITME) eximon $(OBJ_MONBIN) \
          $(CFLAGS) $(XINCLUDE) -I. ../exim_monitor/em_version.c
        @echo "$(LNCC) -o eximon.bin"
        $(FE)$(PURIFY) $(LNCC) -o eximon.bin em_version.o $(LFLAGS) $(XLFLAGS) \
-       $(OBJ_MONBIN) -lXaw -lXmu -lXt -lXext -lX11 $(PCRE_LIBS) \
+         $(OBJ_MONBIN) -lXaw -lXmu -lXt -lXext -lX11 $(PCRE_LIBS) \
          $(LIBS) $(LIBS_EXIMON) $(EXTRALIBS) $(EXTRALIBS_EXIMON) -lc
        @if [ x"$(STRIP_COMMAND)" != x"" ]; then \
          echo $(STRIP_COMMAND) eximon.bin; \
index 5582ea94ac92804da7662816d8fb782e3b2b9d88..41d37711069a485d626cb3d59e016f1fcb9e7470 100644 (file)
@@ -584,19 +584,9 @@ default to EDQUOT if it exists, otherwise ENOSPC. */
 # endif
 #endif
 
-/* Ensure PATH_MAX is defined */
-
-#ifndef PATH_MAX
-  #ifdef MAXPATHLEN
-  # define PATH_MAX MAXPATHLEN
-  #else
-  # define PATH_MAX 1024
-  #endif
-#endif
-
 /* DANE w/o DNSSEC is useless */
 #if defined(EXPERIMENTAL_DANE) && defined(DISABLE_DNSSEC)
-  #undef DISABLE_DNSSEC
+undef DISABLE_DNSSEC
 #endif
 
 #endif