char * ptr;
nl_catd nlmsg_fd = (nl_catd)-1;
char * errmsg;
-#if defined(SVR4) || defined (_AIX) || defined(CSRG_BASED) || \
- defined(__linux__) || defined(sun)
char * nextMatch;
-#endif
if (argc != 3)
{
*/
altCatName = XtMalloc(strlen(catName) + 10);
-#if defined(SVR4) || defined (_AIX) || defined(CSRG_BASED) || \
- defined(__linux__) || defined(sun)
/* These platforms don't have strrstr() */
ptr = NULL;
nextMatch = catName;
ptr = nextMatch;
nextMatch++;
}
-#else
- ptr = (char *)strrstr(catName, ".cat");
-#endif
if (ptr && (strlen(ptr) == 4))
{
/* Strip off the ".cat", and try again */