|
From: <kin...@us...> - 2004-03-13 20:12:30
|
Update of /cvsroot/teem/teem/src/air In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26582/air Modified Files: air.h string.c Log Message: killed off AIR_FREE and AIR_FCLOSE macros- they were just way too cute for their own good Index: air.h =================================================================== RCS file: /cvsroot/teem/teem/src/air/air.h,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** air.h 19 Feb 2004 06:45:11 -0000 1.39 --- air.h 13 Mar 2004 20:03:08 -0000 1.40 *************** *** 621,633 **** /* - ******** AIR_FREE, AIR_FCLOSE - ** - ** just to help you set all pointers to free'd data and fclose'd files to NULL - */ - #define AIR_FREE(x) (x) = airFree((x)) - #define AIR_FCLOSE(f) (f) = airFclose((f)) - - - /* ******** AIR_IN_OP(a,b,c), AIR_IN_CL(a,b,c) ** --- 621,624 ---- Index: string.c =================================================================== RCS file: /cvsroot/teem/teem/src/air/string.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** string.c 7 Jan 2004 15:34:27 -0000 1.7 --- string.c 13 Mar 2004 20:03:08 -0000 1.8 *************** *** 132,136 **** t = airStrtok(NULL, ct, &l); } ! AIR_FREE(s); } return n; --- 132,136 ---- t = airStrtok(NULL, ct, &l); } ! s = airFree(s); } return n; |