Wed Jan 11 13:54:55 2006
Ticket #1592 (Closed: fixed)
make check segfaults in some modules at setup()
Priority: | normal | Reporter: | fgerlits |
---|---|---|---|
Severity: | crash | Assigned to: | fgerlits |
Component: | development environment | Status: | closed |
Version: | 1.0 | Resolution: | fixed |
Milestone: | 1.1.x | Keywords: |
Description by fgerlits:
For some reason, getlogin() has stopped working on my computer, and returns a null pointer. This causes several unit tests to segfault.
Attachments
Changelog
Wed Jan 11 13:59:51 2006: Modified by fgerlits
- resolution set to fixed
- status changed from new to closed
Fixed by [1880].
I don't know why and how getlogin() just stopped to work on my Mandriva 2006.0; but getpwuid() seems to be the better solution anyway. I'm not sure whether getuid() is correct, though (or is geteuid() better?)