/[path-sandbox]/trunk/src/libsandbox.c
Gentoo

Diff of /trunk/src/libsandbox.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 247 Revision 248
921 /* If lstat() failed with eerror = ENOENT, then its 921 /* If lstat() failed with eerror = ENOENT, then its
922 * possible that we are running on an older kernel 922 * possible that we are running on an older kernel
923 * which had issues with returning invalid paths if 923 * which had issues with returning invalid paths if
924 * they got too long. 924 * they got too long.
925 */ 925 */
926 errno = ENAMETOOLONG;
926 free(tmpbuf); 927 free(tmpbuf);
927 return NULL; 928 return NULL;
928 } else if (errno != 0) { 929 } else if (errno != 0) {
929 /* Not sure if we should quit here, but I guess if 930 /* Not sure if we should quit here, but I guess if
930 * lstat() fails, getcwd could have messed up. 931 * lstat() fails, getcwd could have messed up.

Legend:
Removed from v.247  
changed lines
  Added in v.248

  ViewVC Help
Powered by ViewVC 1.1.20