Changeset 82
- Timestamp:
- Jan 14, 2007, 12:22:09 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_processcheck.c
r78 r82 151 151 #endif /* HAVE_LSTAT */ 152 152 153 #if defined(S_IFLNK) && !defined(S_ISLNK) 154 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) 155 #else 156 #if !defined(S_ISLNK) 157 #define S_ISLNK(mode) (0) 158 #endif 159 #endif 160 153 161 static const short SH_PR_PS = 0x0001; 154 162 … … 666 674 static short sh_processes_check (pid_t pid, short res) 667 675 { 668 int retval;669 676 int have_checks = 0; 670 677 int need_checks = 0; … … 673 680 struct stat buf; 674 681 DIR * dir; 675 #endif676 682 #ifdef HAVE_STATVFS 683 int retval; 677 684 struct statvfs vfsbuf; 685 #endif 678 686 #endif 679 687
Note:
See TracChangeset
for help on using the changeset viewer.