mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
sockets: don't deadlock when connecting to own pipe address
This commit is contained in:
@@ -1715,7 +1715,7 @@ int vim_FullName(const char *fname, char *buf, size_t len, bool force)
|
||||
///
|
||||
/// @param fname is the filename to expand
|
||||
/// @return [allocated] Full path (NULL for failure).
|
||||
char *fix_fname(char *fname)
|
||||
char *fix_fname(const char *fname)
|
||||
{
|
||||
#ifdef UNIX
|
||||
return FullName_save(fname, true);
|
||||
|
Reference in New Issue
Block a user