Changeset 391


Ignore:
Timestamp:
Feb 12, 2012, 12:26:13 AM (13 years ago)
Author:
katerina
Message:

Fix for ticket #288 (the --with-gpg option can cause startup to hang).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_gpg.c

    r383 r391  
    860860  if (ferror(source.pipe) && errno == EAGAIN)
    861861    {
     862      retry_msleep(0,10); /* sleep 10 ms to avoid starving the gpg child writing to the pipe */
    862863      clearerr(source.pipe);
    863864      goto xagain;
     
    938939  if (ferror(source.pipe) && errno == EAGAIN)
    939940    {
     941      retry_msleep(0,10); /* sleep 10 ms to avoid starving the gpg child writing to the pipe */
    940942      clearerr(source.pipe);
    941943      goto yagain;
Note: See TracChangeset for help on using the changeset viewer.