Changeset 30572149f92bf8103711b7a4319fdaf8040b928f

Show
Ignore:
Timestamp:
08/31/11 13:59:35 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1314799175 -0400
git-parent:

[68bc72a845c75f09372c7b02b14162ef6b382925]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1314799175 -0400
Message:

fix b394de2213c1f29eca92242b6fa60df439236740 from reconnoiter

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • jlog_io.c

    r68bc72a r3057214  
    236236{ 
    237237  struct stat sb; 
    238   if (fstat(f->fd, &sb) != 0) 
    239     return -1; 
     238  int rv; 
     239  while ((rv = fstat(f->fd, &sb) != 0) == -1 && errno == EINTR) ; 
     240  if (rv != 0) return -1; 
    240241  return sb.st_size; 
    241242}