mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
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…
x
Reference in New Issue
Block a user