os_getcwd(): do not realloc if there was no malloc().
[exim.git] / src / src / exinext.src
index 80d63697283151c5e4e07b1c6fa32a8c73db5840..9c427350b29ab28bd9fff6470730ad7ed1f2ab03 100644 (file)
@@ -1,7 +1,6 @@
 #! /bin/sh
-# $Cambridge: exim/src/src/exinext.src,v 1.4 2009/10/30 15:14:04 nm4 Exp $
 
-# Copyright (c) 1996-2004 University of Cambridge.
+# Copyright (c) University of Cambridge, 1995 - 2007
 # See the file NOTICE for conditions of use and distribution.
 
 # Except when they appear in comments, the following placeholders in this
@@ -116,6 +115,9 @@ fi
 
 perl - $exim_path "$eximmacdef" $argone $spool_directory $qualify_domain $config <<'End'
 
+  # We don't import anything, but guard against future changes which do
+  BEGIN { pop @INC if $INC[-1] eq '.' };
+
   # Name the arguments
 
   $exim = $ARGV[0];