summaryrefslogtreecommitdiff
path: root/tests/usr.bin/printf
diff options
context:
space:
mode:
authorkre <kre@NetBSD.org>2019-07-21 15:25:39 +0000
committerkre <kre@NetBSD.org>2019-07-21 15:25:39 +0000
commitf7137fdf8a6a3cfa4fd08b92c56ccb1ec9b3eefe (patch)
tree52f022cdb9914af49560b267dda583e94a341982 /tests/usr.bin/printf
parent3f78675053eb613d2fb259c55ef7b0343c2f34b7 (diff)
Stop assuming that printf handles options in any way at all
(it doesn't - that is, shouldn't) which includes processing -- as an "end of options". The first arg is (always) the format string. Remove call to getopt() (but still do associated changes to argc/argv) Note: for now this is #if 0's out instead of being deleted, the old code should be fully removed sometime soon. Problem pointed out on tech-userlevel by Thierry Laronde.
Diffstat (limited to 'tests/usr.bin/printf')
0 files changed, 0 insertions, 0 deletions