Procházet zdrojové kódy

revert 17821, wait for better test cases

Eric Andersen před 19 roky
rodič
revize
b7b1d3a553
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      libc/stdlib/realpath.c

+ 1 - 1
libc/stdlib/realpath.c

@@ -133,7 +133,7 @@ char resolved_path[];
 				/* Make sure it's null terminated. */
 				*new_path = '\0';
 				strcpy(resolved_path, got_path);
-				return resolved_path;
+				return NULL;
 			}
 		} else {
 			/* Note: readlink doesn't add the null byte. */