diff options
author | Jim Meyering <jim@meyering.net> | 2002-09-26 08:25:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-09-26 08:25:44 +0000 |
commit | d50e1a86b7a8b36f63b5d6bab978b9765ac28f7e (patch) | |
tree | 1da92f47e2c5730f0971de72f6089c6b097548c3 /src | |
parent | 2c6d70041831caecabd417acaac562e3655e4db9 (diff) | |
download | coreutils-d50e1a86b7a8b36f63b5d6bab978b9765ac28f7e.tar.xz |
add a FIXME comment
Diffstat (limited to 'src')
-rw-r--r-- | src/csplit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/csplit.c b/src/csplit.c index df8546d7a..2ee32a3e6 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1249,6 +1249,9 @@ get_format_width (char **format_ptr) allow for enough octal digits to represent the value of LONG_MAX. */ count = ((*format_ptr == start) ? bytes_to_octal_digits[sizeof (long)] + /* FIXME: don't use atoi, it may silently overflow. + Besides, we know the result is non-negative, so shouldn't + need that cast. */ : (unsigned) atoi (start)); **format_ptr = ch_save; return count; |