Changeset 279 for trunk/src/dnmalloc.c
- Timestamp:
- Apr 30, 2010, 11:55:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dnmalloc.c
r237 r279 309 309 char * i3 = "): "; 310 310 char * i5 = "\n"; 311 int res = 0; 311 312 312 313 iov[0].iov_base = i1; iov[0].iov_len = strlen(i1); … … 314 315 iov[2].iov_base = i3; iov[2].iov_len = strlen(i3); 315 316 iov[3].iov_base = (char*) error; iov[3].iov_len = strlen(error); 316 iov[4].iov_base = i5; iov[4].iov_len = strlen(i5); 317 writev(STDERR_FILENO, iov, 5); 317 iov[4].iov_base = i5; iov[4].iov_len = strlen(i5); 318 do { 319 res = writev(STDERR_FILENO, iov, 5); 320 } while (res < 0 && errno == EINTR); 318 321 #else 319 322 fputs("assertion failed (", stderr);
Note:
See TracChangeset
for help on using the changeset viewer.