Commit 71f5dc6
committed
Remove dead setenv, unsetenv replacement code.
setenv() and unsetenv() are in SUSv3 and targeted Unix systems have
them. We still need special code for these on Windows, but that doesn't
require a configure probe.
This marks the first time we require a SUSv3 (POSIX.1-2001) facility
(rather than SUSv2). The replacement code removed here was not needed
on any targeted system or any known non-EOL'd Unix system, and was
therefore dead and untested.
No need for vestigial HAVE_SETENV and HAVE_UNSETENV macros, because we
provide a replacement for Windows, and we didn't previously test the
macros.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Greg Stark <stark@mit.edu>
Reviewed-by: Robert Haas <robertmhaas@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com1 parent b79ec73 commit 71f5dc6
File tree
7 files changed
+0
-185
lines changed- src
- include
- port
- tools/msvc
7 files changed
+0
-185
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16841 | 16841 | | |
16842 | 16842 | | |
16843 | 16843 | | |
16844 | | - | |
16845 | | - | |
16846 | | - | |
16847 | | - | |
16848 | | - | |
16849 | | - | |
16850 | | - | |
16851 | | - | |
16852 | | - | |
16853 | | - | |
16854 | | - | |
16855 | | - | |
16856 | | - | |
16857 | | - | |
16858 | | - | |
16859 | | - | |
16860 | | - | |
16861 | | - | |
16862 | | - | |
16863 | | - | |
16864 | | - | |
16865 | | - | |
16866 | | - | |
16867 | | - | |
16868 | | - | |
16869 | | - | |
16870 | | - | |
16871 | | - | |
16872 | | - | |
16873 | | - | |
16874 | | - | |
16875 | | - | |
16876 | | - | |
16877 | | - | |
16878 | | - | |
16879 | | - | |
16880 | <
10000
/td> | - | |
16881 | | - | |
16882 | | - | |
16883 | | - | |
16884 | | - | |
16885 | | - | |
16886 | | - | |
16887 | 16844 | | |
16888 | 16845 | | |
16889 | 16846 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1898 | 1898 | | |
1899 | 1899 | | |
1900 | 1900 | | |
1901 | | - | |
1902 | | - | |
1903 | | - | |
1904 | | - | |
1905 | | - | |
1906 | | - | |
1907 | | - | |
1908 | | - | |
1909 | | - | |
1910 | | - | |
1911 | | - | |
1912 | | - | |
1913 | | - | |
1914 | 1901 | | |
1915 | 1902 | | |
1916 | 1903 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | 451 | | |
455 | 452 | | |
456 | 453 | | |
| |||
625 | 622 | | |
626 | 623 | | |
627 | 624 | | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | 625 | | |
632 | 626 | | |
633 | 627 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | 451 | | |
460 | 452 | | |
461 | 453 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | 346 | | |
348 | 347 | | |
349 | 348 | | |
| |||
402 | 401 | | |
403 | 402 | | |
404 | 403 | | |
405 | | - | |
406 | 404 | | |
407 | 405 | | |
408 | 406 | | |
| |||
0 commit comments