mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
Use correct PATH separator for Cygwin in pg_regress.c.
This has been broken for years, and I'm not sure why it has not been noticed before, but now a very modern Cygwin breaks on it, and the fix is clearly correct. Backpatching to all live branches.
This commit is contained in:
parent
56423c143c
commit
158e042747
@ -796,8 +796,10 @@ initialize_environment(void)
|
||||
add_to_path("LD_LIBRARY_PATH", ':', libdir);
|
||||
add_to_path("DYLD_LIBRARY_PATH", ':', libdir);
|
||||
add_to_path("LIBPATH", ':', libdir);
|
||||
#if defined(WIN32) || defined(__CYGWIN__)
|
||||
#if defined(WIN32)
|
||||
add_to_path("PATH", ';', libdir);
|
||||
#elif defined(__CYGWIN__)
|
||||
add_to_path("PATH", ':', libdir);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user