git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 550fbc6)
Fix Win32 bug with missing errno for strerror().
2004年5月13日 01:47:12 +0000 (01:47 +0000)
2004年5月13日 01:47:12 +0000 (01:47 +0000)

diff --git a/src/port/exec.c b/src/port/exec.c
index 2ea6531c8eb9242eb62012988830713c7416dc29..d7a95f495dfd775e2d42b7cc75b4b66572f70e6e 100644 (file)
--- a/src/port/exec.c
+++ b/src/port/exec.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/exec.c,v 1.2 2004年05月12日 13:38:49 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/exec.c,v 1.3 2004年05月13日 01:47:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -329,7 +329,7 @@ win32_make_absolute(char *path)
if (_fullpath(abspath, path, MAXPGPATH) == NULL)
{
- log_debug("Win32 path expansion failed: %s", strerror());
+ log_debug("Win32 path expansion failed: %s", strerror(errno));
return path;
}
canonicalize_path(abspath);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /