mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Fix possible system freeze on Mac OS X.
This commit is contained in:
parent
98f10d74b8
commit
4fa261f8ec
14 changed files with 73 additions and 28 deletions
|
@ -86,7 +86,6 @@ create_server_socket (const char *filename, int *new_sock)
|
|||
name.sun_family = AF_LOCAL;
|
||||
strncpy (name.sun_path, filename, sizeof (name.sun_path));
|
||||
name.sun_path[sizeof (name.sun_path) - 1] = '\0';
|
||||
|
||||
size = SUN_LEN (&name);
|
||||
|
||||
remove (filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue