Skip to content

Commit 40ededb

Browse files
committed
Fix get_home_path separator for Win32
1 parent d55509c commit 40ededb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/port/path.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ get_home_path(char *ret_path)
795795
tmppath = getenv("APPDATA");
796796
if (!tmppath)
797797
return false;
798-
snprintf(ret_path, MAXPGPATH, "%s/postgresql", tmppath);
798+
snprintf(ret_path, MAXPGPATH, "%s\\postgresql", tmppath);
799799
return true;
800800
#endif
801801
}

0 commit comments

Comments
 (0)