[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdelibs/dcop
From: Lubos Lunak <l.lunak () suse ! cz>
Date: 2002-12-12 18:43:39
[Download RAW message or body]
On Thursday 12 of December 2002 19:33, Kevin Puetz wrote:
> 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?
I am, mostly, but this one doesn't link to libkdecore or libkdefakes, and I'm
too lazy to change also Makefile.am :).
--
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org
Drahobejlova 27 tel: +420 2 9654 2373
190 00 Praha 9 fax: +420 2 9654 2374
Czech Republic http://www.suse.cz/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic