Changeset 579 for trunk/src/sh_unix.c
- Timestamp:
- May 14, 2023, 10:08:17 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_unix.c
r570 r579 3603 3603 } 3604 3604 } 3605 SH_FREE(rotated_file); 3606 } 3605 } 3606 if (rotated_file) { 3607 SH_FREE(rotated_file); 3608 } 3607 3609 } 3608 3610 return retval; … … 4872 4874 if (0 == retry_lstat(FIL__, __LINE__, path, &buf)) 4873 4875 SL_RETURN( S_TRUE, _("sh_unix_file_exists")); 4874 else 4875 4876 4877 SL_RETURN( S_FALSE, _("sh_unix_file_exists")); 4876 4878 } 4877 4879 … … 4888 4890 if (retry_fstat(FIL__, __LINE__, fd, &buf) == -1) 4889 4891 SL_RETURN( (-1), _("sh_unix_device_readable")); 4890 elseif ( S_ISCHR(buf.st_mode) && 0 != (S_IROTH & buf.st_mode) )4892 if ( S_ISCHR(buf.st_mode) && 0 != (S_IROTH & buf.st_mode) ) 4891 4893 SL_RETURN( (0), _("sh_unix_device_readable")); 4892 else 4893 4894 4895 SL_RETURN( (-1), _("sh_unix_device_readable")); 4894 4896 } 4895 4897
Note:
See TracChangeset
for help on using the changeset viewer.