+
+/*
+ * internal helpers for SUSv3 compatibility. Since "nogrouping" needs to
+ * be just an empty string, we provide a routine to substitute __nogrouping
+ * so we don't have to modify code that expects CHAR_MAX.
+ */
+__private_extern__ const char *
+__fix_nogrouping(const char *str)
+{
+ return ((str == NULL || *str == '\0') ? __nogrouping : str);
+}