What not to be doing - syscall()

Frans Englich frans.englich at telia.com
Tue Dec 23 14:41:39 GMT 2003


On Tuesday 23 December 2003 15:33, Waldo Bastian wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue December 23 2003 14:31, Daniel Molkentin wrote:
> > On Tuesday 23 December 2003 14:21, Adriaan de Groot wrote:
> > >On Tuesday 23 December 2003 11:56, Frans Englich wrote:
> > >> Throughout the kde sources getlogin(), unistd.h is used instead of the
> > >> KUser class. Besides the performance difference(if you could argue it
> > >> matter in this case), is there any other reasons to prefer getlogin()?
> > >> According to the manpages getlogin() is evil. Does it matter when it
> > >> comes to portability? What is the preferred method?
> > >
> > >Note also that there's the KUser class in kdeadmin/kuser and the totally
> > >different (and much neater) one in kdelibs.
> >
> > Do you see a possibility to consollidate this class with the kuser class
> > from kdelibs? That one currently only offers readonly access to a users
> > property, see kdelibs/kdecore/kuser.h
>
> But not before KDE 3.2 is released I would say.

Definitely agreed.

			
			Frans





More information about the kde-core-devel mailing list