jdolecek
507cbfd5d0
Use patch provided Paul Janzen <pjanzen@OpenBSD.org> to fix
...
bin/12316 more completely.
Highlights:
* we only allow explicitly specified set of (numberic) formats
* %% is correctly skipped, extra %foo formats are detected
* '*' in format specification is not allowed
The code in getformat() is slighly different to the OpenBSD version
of fix - the list of allowed printf(3) flags is explicit and the
condition checking 'chardata' is written slighly differently.
Also pull-in some cosmetic changes from OpenBSD - s/isdefault()/is_default()/,
error() -> errx(), usage().
2001-03-14 07:50:06 +00:00
..
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-03-08 06:28:14 +00:00
2001-03-07 22:34:35 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-27 19:04:39 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-03-14 07:50:06 +00:00
2001-03-11 21:28:59 +00:00
2001-02-19 23:03:42 +00:00
2001-02-18 18:38:18 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-03-12 13:29:26 +00:00
2001-02-20 23:51:59 +00:00
2001-03-05 20:26:17 +00:00
2001-03-10 00:41:48 +00:00
2001-02-19 23:03:42 +00:00
2001-02-20 23:51:59 +00:00
2001-02-19 23:03:42 +00:00
2001-02-21 00:06:22 +00:00
2001-02-19 23:03:42 +00:00
2001-03-08 03:47:04 +00:00
2001-02-19 23:03:42 +00:00
2001-02-20 23:51:59 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-21 00:06:22 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-23 08:59:49 +00:00
2001-03-04 00:41:27 +00:00
2001-03-08 02:59:25 +00:00
2001-03-09 03:05:20 +00:00
2001-03-04 01:51:05 +00:00
2001-02-21 00:06:22 +00:00
2001-02-20 23:51:59 +00:00
2001-02-19 23:03:42 +00:00
2001-03-09 02:42:23 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-21 00:06:22 +00:00
2001-02-24 00:43:50 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00
2001-02-19 23:03:42 +00:00