Cygwin: AF_UNIX: use get_unique_id to create pipe name
It's the same as get_plain_ino in this case, but it's cleaner and easier to understand. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
4f1ee1a3e7
commit
de29476ed5
|
@ -204,7 +204,7 @@ fhandler_socket_unix::gen_pipe_name ()
|
|||
__small_swprintf (pipe_name_buf, L"cygwin-%S-unix-%C-%016_X",
|
||||
&cygheap->installation_key,
|
||||
get_type_char (),
|
||||
get_plain_ino ());
|
||||
get_unique_id ());
|
||||
RtlInitUnicodeString (&pipe_name, pipe_name_buf);
|
||||
pc.set_nt_native_path (&pipe_name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue