diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-03-12 07:15:36 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-03-12 07:15:36 +0000 |
commit | 32a33fabc6960c2bced54c404a27d8686eefa6de (patch) | |
tree | 797de1617744009798af8847b50a6eadb5bcff2f /tests | |
parent | ee77accac846fc0c9258b3440d167f24bcbba994 (diff) | |
download | paxutils-32a33fabc6960c2bced54c404a27d8686eefa6de.tar.gz |
* rmt/rmt.c (STRING_SIZE): Now UINTMAX_STRSIZE_BOUND + 1, since
bounded strings are used only for integers now.
(get_string): Use a prototype. Remove unused local var 'counter'.
(get_long): Arg is now char const *, not char *.
Check for integer overflow in arg.
Check for empty arg.
(open_device): Use get_string for oflags, too, since the existing
limits were uncomfortably close to being too small.
Don't assume free_string does not affect errno.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions