--- joko/Uni/BSArch/01/doc/todo.txt 2006/05/12 20:18:53 1.1 +++ joko/Uni/BSArch/01/doc/todo.txt 2006/05/13 12:35:32 1.5 @@ -1,6 +1,11 @@ -(o) file-mode: what about 9999999999? respect number of chars for max int range - error-handling: - (o) no (zero) arguments (switch/case?) - (o) non-int arguments in range mode - (o) use strtol instead of atoi for error detection + (x) error for no (zero) arguments + (x) non-int/numeric arguments in single- and range mode + (x) use strtol instead of atoi for error detection + (x) what about 9999999999 (ten 9s)? respect number of chars for max int range + (x) is there a predefined constant for "-1" instead of "exit(-1)"? + (x) what about (e.g.) "00000000000000000000000000007" in file-mode? + +bugs: + (x) bug with reading numbers from file after introducing strtol + (x) what if line in file exceeds length of buffer?