Date: Sun, 20 Sep 2009 19:43:23 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 168722 for review Message-ID: <200909201943.n8KJhNGW009015@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=168722 Change 168722 by gabor@gabor_server on 2009/09/20 19:42:57 - My macro skills have failed... Let's fix this. Affected files ... .. //depot/projects/soc2008/gabor_textproc/newsort/coll.c#6 edit Differences ... ==== //depot/projects/soc2008/gabor_textproc/newsort/coll.c#6 (text+ko) ==== @@ -34,7 +34,7 @@ #include "sort.h" -#define MAX(a, b) (((#a) > (#b)) ? (#a) : (#b)) +#define MAX(a, b) (((a) > (b)) ? (a) : (b)) static wchar_t **months; @@ -231,12 +231,12 @@ #define NUMCHECK_COMMON(a, b) \ double d1, d2; \ errno = 0; \ - d1 = wcstod(#a, &ep1); \ + d1 = wcstod(a, &ep1); \ \ if ((errno == ERANGE) && (d1 == HUGE_VAL)) \ return (1); \ \ - d2 = wcstod(#b, &ep2); \ + d2 = wcstod(b, &ep2); \ \ if ((errno == ERANGE) && (d2 == HUGE_VAL)) \ return (-1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909201943.n8KJhNGW009015>