Sat Dec 27 16:16:49 2003 Ben Pfaff <blp@gnu.org>
[pspp-builds.git] / src / filename.c
index 4aaf7d17f916d5c92aca4d4d2aad8f11d07376e9..458b1c4102d93e048b1dbd9832cc4d07f7d63271 100644 (file)
@@ -36,18 +36,16 @@ char *alloca ();
 #endif
 
 #include <assert.h>
+#include "filename.h"
 #include <stdlib.h>
 #include <ctype.h>
 #include <errno.h>
 #include "alloc.h"
 #include "error.h"
-#include "filename.h"
 #include "settings.h"
 #include "str.h"
 #include "version.h"
 
-#undef DEBUGGING
-/*#define DEBUGGING 1 */
 #include "debug-print.h"
 
 /* PORTME: Everything in this file is system dependent. */
@@ -373,16 +371,10 @@ fn_normalize (const char *filename)
   else
     {
       errno = 0;
-#if __CHECKER__
-      memset (dest, 0, maxlen);
-#endif
       while (getcwd (dest, maxlen - (dest - fn2)) == NULL && errno == ERANGE)
        {
          maxlen *= 2;
          dest = fn2 = xrealloc (fn2, maxlen + 1);
-#if __CHECKER__
-         memset (dest, 0, maxlen);
-#endif
          errno = 0;
        }
       if (errno)