/[path-sandbox]/trunk/libsbutil/get_sandbox_lib.c
Gentoo

Diff of /trunk/libsbutil/get_sandbox_lib.c

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

Revision 309 Revision 313
103 path)) { 103 path)) {
104 if (NULL == realpath(TMPDIR, path)) 104 if (NULL == realpath(TMPDIR, path))
105 return -1; 105 return -1;
106 } 106 }
107 107
108 /* Reset errno in case realpath set it */
109 errno = 0;
110
108 return 0; 111 return 0;
109} 112}
110 113
111long file_length(int fd) 114long file_length(int fd)
112{ 115{

Legend:
Removed from v.309  
changed lines
  Added in v.313

  ViewVC Help
Powered by ViewVC 1.1.20