Changeset 171 for trunk/src/samhain_setpwd.c
- Timestamp:
- Jul 8, 2008, 11:16:14 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/samhain_setpwd.c
r170 r171 8 8 #include <unistd.h> 9 9 #include <sys/types.h> 10 #include <signal.h> 10 11 #include <sys/wait.h> 11 12 #include <sys/stat.h> … … 70 71 } 71 72 72 while (nbytes){73 do { 73 74 count = read(fd, &buf[where], nbytes); 74 75 if (count == -1 && errno == EINTR) … … 76 77 where += count; 77 78 nbytes -= count; 78 } while ( count == -1 && errno == EINTR);79 } while (nbytes); 79 80 80 81 close(fd);
Note:
See TracChangeset
for help on using the changeset viewer.