What not to be doing - syscall()
Waldo Bastian
bastian at kde.org
Tue Dec 23 14:33:20 GMT 2003
-----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.
Cheers,
Waldo
- --
bastian at kde.org -=|[ KDE: K Desktop for the Enterprise ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/6FIwN4pvrENfboIRAuYhAKCEFOoLJreXt4yjoPkHMFs4yVaqoACeMHQt
mE6rtRWUZ2TAhTzR8CbO96E=
=fhI3
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list