mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Use a new API rather than a deprecated one in in cygwin.
cygwin_conv_to_full_win32_path should be replaced with cygwin_conv_path.
This commit is contained in:
parent
60bd2b1941
commit
d208fcd167
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.120 2010/02/26 02:01:16 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.121 2010/04/05 02:25:56 itagaki Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1080,7 +1080,7 @@ pgwin32_CommandLine(bool registration)
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
/* need to convert to windows path */
|
||||
cygwin_conv_to_full_win32_path(cmdLine, buf);
|
||||
cygwin_conv_path(CCP_POSIX_TO_WIN_A, cmdLine, buf, sizeof(buf));
|
||||
strcpy(cmdLine, buf);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user