Date: Fri, 2 Feb 2018 21:18:33 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328808 - head/stand/libsa Message-ID: <201802022118.w12LIXKG009457@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Fri Feb 2 21:18:32 2018 New Revision: 328808 URL: https://svnweb.freebsd.org/changeset/base/328808 Log: Implement strcoll as strcmp. Modified: head/stand/libsa/stand.h Modified: head/stand/libsa/stand.h ============================================================================== --- head/stand/libsa/stand.h Fri Feb 2 21:00:06 2018 (r328807) +++ head/stand/libsa/stand.h Fri Feb 2 21:18:32 2018 (r328808) @@ -68,6 +68,7 @@ /* this header intentionally exports NULL from <string.h> */ #include <string.h> +#define strcoll(a, b) strcmp((a), (b)) #define CHK(fmt, args...) printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args) #define PCHK(fmt, args...) {printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args); getchar();}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802022118.w12LIXKG009457>