Overview
| Artifact ID: | 098b1b246324b093178678bf92183449b55c67b2 |
|---|---|
| Ticket: | 440916ffffffffffffffffffffffffffffffffff
compat/strtoul.c fails tests |
| User & Date: | das on 2001-09-05 07:26:44 |
Changes
- icomment:
Logged In: YES user_id=90580 Ah yes, thanks, I forgot to mention that, the strtol() in strtol.c has the same problems w.r.t to error reporting (i.e. there is none), moreover when adding error reporting to strtol one can't call strtoul anymore as the information necessary to determine strtol error conditions isn't passed back... which is why I put them both into the same file and call a common private_strtoul() function. So indeed compat/strtoul.c can go away. There is no reason for the leading __ to private_strtoul, you're correct it's better to leave them off; sorry about that. The only reason they are there is that the code I looked at for guidance had something similar... Thanks for looking into the const issues.
- login: "das"
- mimetype: "text/plain"
- username: "das"