Dmitry Antipov wrote: > Can we assume that stpcpy(3) is mature enough to be used in Emacs? > It can help to simplify strcpy/strlen/strcat mess here and there. > (IIUC there is a gnulib module as well). Yes, stpcpy is mature enough; it's been around for ages in the GNU C library and is not likely to change. That being said, stpcpy isn't universal, so for Emacs to be portable we should add gnulib's stpcpy module. Something like the attached patch, perhaps? Tested on both GNU/Linux and Solaris 10 (which lacks stpcpy).