Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 198512 Details for
Bug 273386
gnome-base/gdm-2.20.9-r1: wrong update utmp and wtmp
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
UTMP fix
utmp-fix.patch (text/plain), 507 bytes, created by
Kazankov Alexander
on 2009-07-20 04:03:54 UTC
(
hide
)
Description:
UTMP fix
Filename:
MIME Type:
Creator:
Kazankov Alexander
Created:
2009-07-20 04:03:54 UTC
Size:
507 bytes
patch
obsolete
>diff -uprN a/daemon/slave.c b/daemon/slave.c >--- a/daemon/slave.c 2008-12-11 01:25:43.000000000 +0300 >+++ b/daemon/slave.c 2009-06-11 20:12:00.000000000 +0400 >@@ -4312,7 +4312,7 @@ gdm_slave_write_utmp_wtmp_record (GdmDis > #endif > > #if defined(HAVE_UT_UT_ID) >- strncpy (record.ut_id, d->name, sizeof (record.ut_id)); >+ strncpy (record.ut_id, d->name + ( strlen ( d->name ) - 4 ), sizeof (record.ut_id)); > gdm_debug ("utmp-wtmp: Using id %*s", > (int) sizeof (record.ut_id), > record.ut_id);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273386
:
194752
| 198512