Changeset 2655

Show
Ignore:
Timestamp:
01/08/08 17:53:54 (1 year ago)
Author:
dhozac
Message:

Attempt to close race between dying rpm-fake-resolver and other rpm-fake processes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/rpm-fake.c

    r2578 r2655  
    511511    if (read(sync_sock, &c, 1)!=1) { /*...*/ } 
    512512    if (write(pw_sock, "Q", 1)!=1) { /*...*/ } 
     513    /* sync_sock should return EOF when the resolver exits... */ 
     514    if (read(sync_sock, &c, 1)!=0) { /*...*/ } 
    513515  } 
    514516}