Changeset 767 for trunk/coverager.c
- Timestamp:
- 04/18/2011 09:16:12 AM (2 years ago)
- Files:
-
- 1 modified
-
trunk/coverager.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/coverager.c
r716 r767 172 172 p[1] = covlines; 173 173 174 ftruncate(fd, 0); 174 if (ftruncate(fd, 0) != 0) { 175 goto bailout; 176 } 175 177 lseek(fd, 0, SEEK_SET); 176 write(fd, (char *) buf, size); 178 if (write(fd, (char *) buf, size) != size) { 179 goto bailout; 180 } 177 181 178 182 bailout:

