diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-12-26 15:30:10 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-12-26 15:30:40 -0500 |
commit | 4f7ab73106a0782fde22f7f405ef36954cb40eb5 (patch) | |
tree | c2c5a7e398a47af39d373b0621b27360167ece7e /src/tutorial/complex.c | |
parent | b7b0314b80e90130b27e9f5ee4e45778e4cccf09 (diff) |
Fix portability failure introduced in commits d2b0b60e7 et al.
I made a frontend fprintf() format use %m, forgetting that that's only
safe in HEAD not the back branches; prior to 96bf88d52 and d6c55de1f,
it would work on glibc platforms but not elsewhere. Revert to using
%s ... strerror(errno) as the code did before.
We could have left HEAD as-is, but for code consistency across branches,
I chose to apply this patch there too.
Per Coverity and a few buildfarm members.
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions