1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fix a bug in the ambigious name detection.

Minor cleanups.
This commit is contained in:
Werner Koch 2008-03-20 15:31:43 +00:00
parent 432cd50b97
commit c2a8254be7
46 changed files with 1496 additions and 845 deletions

View file

@ -454,7 +454,8 @@ read_lockfile (DOTLOCK h, int *same_node )
#else
char buffer_space[10+1+70+1]; /* 70 is just an estimated value; node
name are usually shorter. */
int fd, pid;
int fd;
int pid = -1;
char *buffer, *p;
size_t expected_len;
int res, nread;