* Massachusetts.
*
* Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006,
- * 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+ * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
*
* Enhancements Copyright 2005 Alessandro Scotti
*
case ArgString:
case ArgFilename:
-#ifdef DATADIR
if(argValue[0] == '~' && argValue[1] == '~') {
char buf[4*MSG_SIZ]; // expand ~~
- snprintf(buf, 4*MSG_SIZ, DATADIR "%s", argValue+2);
+ snprintf(buf, 4*MSG_SIZ, "%s%s", DATADIR, argValue+2);
ASSIGN(*(char **) ad->argLoc, buf);
break;
}
-#endif
ASSIGN(*(char **) ad->argLoc, argValue);
break;