diff options
| author | Andrew Dunstan <andrew@dunslane.net> | 2011-03-17 00:11:01 -0400 |
|---|---|---|
| committer | Andrew Dunstan <andrew@dunslane.net> | 2011-03-17 00:11:01 -0400 |
| commit | 7ae983d94dfe6479980e24aa179d1561ad5a3655 (patch) | |
| tree | f8a65b7df80b2dc547d1a8735c2a4dc18e177309 | |
| parent | f6b2ab7d95d718f67c0cde8e7638053d40c221e6 (diff) | |
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.
| -rw-r--r-- | src/test/regress/pg_regress.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c index 477732eee74..977a8c7cb7b 100644 --- a/src/test/regress/pg_regress.c +++ b/src/test/regress/pg_regress.c @@ -815,8 +815,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 |
