forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3311c76
committed
Fix a rather sizable number of problems in our homegrown snprintf, such as
incorrect implementation of argument reordering, arbitrary limit of outputsize for sprintf and fprintf, willingness to access more bytes than "%.Ns"specification allows, wrong formatting of LONGLONG_MIN, various field-paddingbugs and omissions. I believe it now accurately implements a subset ofthe Single Unix Spec requirements (remaining unimplemented features aredocumented, too). Bruce Momjian and Tom Lane.1 parent9955228 commit3311c76
1 file changed
+729
-491
lines changed0 commit comments
Comments
(0)