X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_format.c;h=042495de017d6dcb92f8b3a78b856cfaa84b96d0;hb=87264104167c04f84e61e3580292217269bab14f;hp=0e0deaac2ac9316b3c541f489ee82509a7e83331;hpb=285da1fa16e80919db972b1d7021c0b4705bedb1;p=rrdtool.git diff --git a/src/rrd_format.c b/src/rrd_format.c index 0e0deaa..042495d 100644 --- a/src/rrd_format.c +++ b/src/rrd_format.c @@ -5,6 +5,19 @@ ***************************************************************************** * $Id$ * $Log$ + * Revision 1.4 2003/02/13 07:05:27 oetiker + * Find attached the patch I promised to send to you. Please note that there + * are three new source files (src/rrd_is_thread_safe.h, src/rrd_thread_safe.c + * and src/rrd_not_thread_safe.c) and the introduction of librrd_th. This + * library is identical to librrd, but it contains support code for per-thread + * global variables currently used for error information only. This is similar + * to how errno per-thread variables are implemented. librrd_th must be linked + * alongside of libpthred + * + * There is also a new file "THREADS", holding some documentation. + * + * -- Peter Stamfest + * * Revision 1.3 2002/02/01 20:34:49 oetiker * fixed version number and date/time * @@ -69,7 +82,7 @@ enum cf_en cf_conv(char *string) long ds_match(rrd_t *rrd,char *ds_nam){ - long i; + unsigned long i; for(i=0;istat_head->ds_cnt;i++) if ((strcmp(ds_nam,rrd->ds_def[i].ds_nam))==0) return i;