[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Conditional/Comment Error? lib/canonicalize.c
From: |
Conrad T. Pino |
Subject: |
Conditional/Comment Error? lib/canonicalize.c |
Date: |
Mon, 13 Jun 2005 13:35:30 -0700 |
Can someone suggest which one of the following 2 changes (if any)
is the best one to commit?
Index: lib/canonicalize.c
===================================================================
RCS file: /cvs/ccvs/lib/canonicalize.c,v
retrieving revision 1.2
diff -u -p -r1.2 canonicalize.c
--- lib/canonicalize.c 10 Jun 2005 20:30:20 -0000 1.2
+++ lib/canonicalize.c 13 Jun 2005 20:32:04 -0000
@@ -69,7 +69,7 @@ void free ();
char *
canonicalize_file_name (const char *name)
{
-# if HAVE_RESOLVEPATH
+# if !HAVE_RESOLVEPATH
char *resolved, *extra_buf = NULL;
size_t resolved_size;
@@ -130,7 +130,7 @@ canonicalize_file_name (const char *name
return canonicalize_filename_mode (name, CAN_EXISTING);
-# endif /* !HAVE_RESOLVEPATH */
+# endif /* HAVE_RESOLVEPATH */
}
#endif /* !HAVE_CANONICALIZE_FILE_NAME */
- Conditional/Comment Error? lib/canonicalize.c,
Conrad T. Pino <=