aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/jsonb_plpython.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-05-20 11:40:54 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-05-20 11:40:54 -0400
commitc6e846446d17db40883eed91fa448e65333a0ae1 (patch)
treef051ec2ee0c7b3c3c27059496b7d154f9d30585e /contrib/jsonb_plpython/jsonb_plpython.c
parente7a808f947c66e2e2186c9495359865dadaf511a (diff)
downloadpostgresql-c6e846446d17db40883eed91fa448e65333a0ae1.tar.gz
postgresql-c6e846446d17db40883eed91fa448e65333a0ae1.zip
printf("%lf") is not portable, so omit the "l".
The "l" (ell) width spec means something in the corresponding scanf usage, but not here. While modern POSIX says that applying "l" to "f" and other floating format specs is a no-op, SUSv2 says it's undefined. Buildfarm experience says that some old compilers emit warnings about it, and at least one old stdio implementation (mingw's "ANSI" option) actually produces wrong answers and/or crashes. Discussion: https://postgr.es/m/21670.1526769114@sss.pgh.pa.us Discussion: https://postgr.es/m/c085e1da-0d64-1c15-242d-c921f32e0d5c@dunslane.net
Diffstat (limited to 'contrib/jsonb_plpython/jsonb_plpython.c')
0 files changed, 0 insertions, 0 deletions