Lubos Lunak wrote: > CVS commit by lunakl: > > Call me pedantic. > > > M +1 -0 dcopserver_shutdown.c 1.8 > > > --- kdelibs/dcop/dcopserver_shutdown.c #1.7:1.8 > @@ -83,4 +83,5 @@ static void getDCOPFile(char *dcop_file, > home_dir = getenv("HOME"); > strncpy(dcop_file, home_dir, n); > + dcop_file[ n - 1 ] = '\0'; > n -= strlen(home_dir); why not just start changing these to strlcpy now that we have it?