Дана 25/11/03 12:21PM, Roberto E. Vargas Caballero написа: > I think the problem comes more from the fact that the code > is not ready for empty strings and it does something like > strlen(s) - 1 to remove the eos and then it is fucked.
If that is the case, then maybe assert(3) would help in future such cases. Granted, it adds LoC, but makes these kind of errors easier to pinpoint.
