summaryrefslogtreecommitdiff
path: root/libc/misc/utmp/utent.c
AgeCommit message (Collapse)Author
2003-12-27Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III
were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
2002-08-07Remove some noiseEric Andersen
2002-07-16Do not assume NULL termination on the ut_id field. ThanksEric Andersen
to mac12@po.cwru.edu for spotting this one.
2002-06-17Some cleanups so utmp/wtmp behaves. Fix potential use ofEric Andersen
uninitialized memory. Prepare to reentrantify the utmp stuff. -Erik
2002-04-03Richard June <rjune@bravegnuworld.com> noticed that pututlineEric Andersen
was only writing the first sizeof-a-pointer bytes to the utmp file. oops. -Erik
2002-04-03Richard June <rjune@bravegnuworld.com> noticed that setutentEric Andersen
was only opening utmp readonly. Oops.
2002-03-15Add missing updwtmp() and fix broken makefileEric Andersen
2002-01-17Don't print an error if the utmp file doesn't exist, getutent will returnDavid McCullough
NULL as expected.
2001-09-27Update to accomodate the header file changesEric Andersen
2000-12-23Move stuff out if pwd_gep that doesn't belong there (getpass, utmp stuff)Eric Andersen