aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorItagaki Takahiro <itagaki.takahiro@gmail.com>2010-04-05 02:25:56 +0000
committerItagaki Takahiro <itagaki.takahiro@gmail.com>2010-04-05 02:25:56 +0000
commitd208fcd167530ade1e166f19d6fbe045796adf34 (patch)
tree0814d0322b7462c89881494cfbc496b7216de265 /src
parent60bd2b1941c6211e973770e69cfa33367cc5db48 (diff)
downloadpostgresql-d208fcd167530ade1e166f19d6fbe045796adf34.tar.gz
postgresql-d208fcd167530ade1e166f19d6fbe045796adf34.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_ctl/pg_ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index 04b8b2f0a0a..53ea26107b5 100644
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -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