From: Stephen D. <sd...@us...> - 2005-08-19 07:50:52
|
Update of /cvsroot/naviserver/naviserver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19013 Modified Files: ChangeLog Log Message: * include/ns.h: * nsd/str.c (Ns_StrToInt): Convenience function for parsing integers. atoi is not always threadsafe (e.g. Darwin) and makes it impossible to handle errors, strtol makes it difficult. Index: ChangeLog =================================================================== RCS file: /cvsroot/naviserver/naviserver/ChangeLog,v retrieving revision 1.188 retrieving revision 1.189 diff -C2 -d -r1.188 -r1.189 *** ChangeLog 19 Aug 2005 05:49:34 -0000 1.188 --- ChangeLog 19 Aug 2005 07:50:43 -0000 1.189 *************** *** 2,5 **** --- 2,10 ---- * include/ns.h: + * nsd/str.c (Ns_StrToInt): Convenience function for parsing + integers. atoi is not always threadsafe (e.g. Darwin) and + makes it impossible to handle errors, strtol makes it difficult. + + * include/ns.h: * nsd/str.c: Untabify and add attributes. |