mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Fix Win32 bug with missing errno for strerror().
This commit is contained in:
parent
550fbc6a98
commit
c2e8386440
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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)
|
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;
|
return path;
|
||||||
}
|
}
|
||||||
canonicalize_path(abspath);
|
canonicalize_path(abspath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user