"Dave Hooper" <dave at beermex.com> writes: > > If you want already-available code. Here you are for YYYYMMDDHHMMSS, > > with nondigits ignored. Not that it was hard to write off the top of > > my head: > > > > ----- C/C++: > > If you want already-available code, why reinvent the wheel? For example, it > makes me mad when I see other people writing their own ascii-to-number > conversion.
You seem to have read over "with nondigits ignored" above. I know of no ANSI C function that does this. > It's a liability and a focus for bugs, [...] No argument here, my untested code was the best example <g>. To distract from that, and to get back on-topic, I'm going to point out an error in Fred: When the directory where it wants to drop its temporary files cannot be written to, a NullPointerException occurs (usually in SegmentedOutputStream.java:148) normally ending with Fred going catatonic. This could be handled more cleanly. -- Robbe -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.ng Type: application/pgp-signature Size: 232 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20011206/1ebd40a5/attachment.pgp>
