Changeset 279 for trunk/src/dnmalloc.c


Ignore:
Timestamp:
Apr 30, 2010, 11:55:18 PM (15 years ago)
Author:
katerina
Message:

Fix for tickets #200 to #206 (kernel check, login checks, bugfixes).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/dnmalloc.c

    r237 r279  
    309309  char * i3 = "): ";
    310310  char * i5 = "\n";
     311  int   res = 0;
    311312
    312313  iov[0].iov_base = i1;               iov[0].iov_len = strlen(i1);
     
    314315  iov[2].iov_base = i3;               iov[2].iov_len = strlen(i3);
    315316  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); 
    318321#else
    319322  fputs("assertion failed (", stderr);
Note: See TracChangeset for help on using the changeset viewer.