For b/12342355, remove inappropriate assert in EXEC_ORIGIN support.

This commit is contained in:
Brooks Moses 2014-04-11 13:37:15 -07:00
parent 502932b7f5
commit 496eb9854c

View File

@ -2867,10 +2867,6 @@ get_directory (const char *file_path)
dest = __mempcpy (dest, file_path, path_len);
*dest = '\0';
/* Confirm that the constructed path is valid. */
struct stat64 st;
assert (__xstat64 (_STAT_VER, full_dir_path, &st) == 0);
return full_dir_path;
}