forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8dd2ede
committed
Improve compiler string shown in version()
With some compilers such as Clang and ICC emulating GCC, using aversion string of the form "GCC $version" can be quite misleading.Also, a great while ago, the version output from gcc --version startedincluding the string "gcc", so it is redundant to repeat that. Inorder to support ancient GCC versions, we now prefix the result with"GCC " only if the version output does not start with a letter.1 parentd2088ae commit8dd2ede
2 files changed
+4
-2
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29704 | 29704 |
| |
29705 | 29705 |
| |
29706 | 29706 |
| |
29707 |
| - | |
| 29707 | + | |
| 29708 | + | |
29708 | 29709 |
| |
29709 | 29710 |
| |
29710 | 29711 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1849 | 1849 |
| |
1850 | 1850 |
| |
1851 | 1851 |
| |
1852 |
| - | |
| 1852 | + | |
| 1853 | + | |
1853 | 1854 |
| |
1854 | 1855 |
| |
1855 | 1856 |
| |
|
0 commit comments
Comments
(0)