Skip to content

Commit 5b079cb

Browse files
committed
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.
1 parent ad3aff4 commit 5b079cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/regress/pg_regress.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,10 @@ initialize_environment(void)
817817
add_to_path("LD_LIBRARY_PATH", ':', libdir);
818818
add_to_path("DYLD_LIBRARY_PATH", ':', libdir);
819819
add_to_path("LIBPATH", ':', libdir);
820-
#if defined(WIN32) || defined(__CYGWIN__)
820+
#if defined(WIN32)
821821
add_to_path("PATH", ';', libdir);
822+
#elif defined(__CYGWIN__)
823+
add_to_path("PATH", ':', libdir);
822824
#endif
823825
}
824826
else

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy