Phil Dibowitz wrote: > Update of /cvsroot/concordance/concordance/concordance > In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28807 > > Modified Files: > concordance.c > Log Message: > Get rid of that silly strdup() warning.
Just FYI, it looks like, on Linux at least, if you define _SVID_SOURCE (tested) or _BSD_SOURCE or _XOPEN_SOURCE_EXTENDED or _XOPEN_SOURCE>=500 (all untested), then various extensions will be available, which includes strdup. Perhaps that's better than defining our own strdup() replacement? Of course, I don't know for sure if those pre-processor flags work on BSD, OSX, Windows, ... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel