pull-in emu-lite

This commit is contained in:
BVK Chaitanya 2010-06-01 09:12:01 +05:30
commit fe16b84557
9 changed files with 66 additions and 20 deletions

View file

@ -185,7 +185,8 @@ canonicalize_file_name (const char *path)
char *ret;
#ifdef PATH_MAX
ret = xmalloc (PATH_MAX);
(void) realpath (path, ret);
if (!realpath (path, ret))
return NULL;
#else
ret = realpath (path, NULL);
#endif