Derek Price <[EMAIL PROTECTED]> wrote: > Okay. Will do. Should I ignore single-threaded apps entirely, keep the > error data in a global to simplify for single-threaded apps on NULL, or > break the functions into canon_host, canon_host_r, strcherror, & > strcherror_r?
I don't thinks it's worthwhile to pander to single-threaded applications for something like this. I'd prefer a new, thread-safe interface. Maybe what we need is a new module, canon-host-r, that contains most of the current canon-host.c. Then canon-host.c could be rewritten as a wrapper around canon_host_r. But hey, if you're implementing it, your opinion counts for a lot :) _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib