- Timestamp:
- Feb 25, 2009, 8:38:28 PM (16 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_unix.c
r217 r221 4272 4272 SL_ENTER(_("sh_unix_file_exists")); 4273 4273 4274 if ( -1 == retry_stat(FIL__, __LINE__, path, &buf))4275 SL_RETURN( S_ FALSE,_("sh_unix_file_exists"));4274 if (0 == retry_lstat(FIL__, __LINE__, path, &buf)) 4275 SL_RETURN( S_TRUE, _("sh_unix_file_exists")); 4276 4276 else 4277 SL_RETURN( S_ TRUE, _("sh_unix_file_exists"));4277 SL_RETURN( S_FALSE, _("sh_unix_file_exists")); 4278 4278 } 4279 4279 -
trunk/src/trustfile.c
r220 r221 366 366 #else 367 367 strncat(rbuf, "/", rsz-strlen(rbuf)-1); 368 rbuf[rsz-1] = '\0'; 368 369 strncat(rbuf, fname, rsz-strlen(rbuf)-1); 369 370 rbuf[rsz-1] = '\0';
Note:
See TracChangeset
for help on using the changeset viewer.