svn commit: r328808 - head/stand/libsa
Warner Losh
imp at FreeBSD.org
Fri Feb 2 21:18:33 UTC 2018
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();}
More information about the svn-src-head
mailing list