[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with getpwnam(), rxvt, utmp...



On 15 Oct, Guy Maor wrote:
> Federico Di Gregorio <fog@perosa.alpcom.it> writes:
> 
>> 	Then I remembered that dpkg-buildpackage tell me
>> something about w/utmp being not set if runned from rxvt...
>> maybe is the same problem but only glibc2 reacts worse
>> than dpkg-buildpackage?
> 
> That's simply a bug in dpkg-buildpackage's scripts which is unrelated.
> dpkg 1.4.1.2 has fixed it incidentally.
> 
> The problem was that getlogin() was being called by every script to
> determine who is on the console.  A few scripts dup stdin and exec
> something else (dpkg-parsechanelog is one).  stdin is not a tty then.
> The solution was to put that getlogin code in a function and only call
> it when needed.

I understand. Unfortunately my problem remains >:(

************************    ____************************************
* Federico Di Gregorio  |  /      *-=$< ;-) TeX Wizard?            *
* Debian developer!     | / -1    pgp: finger fog@perosa.alpcom.it *
* <friend of penguins>  |/        try http://www.debian.org        *
******************DE 9E B2 75 B4 F6 CC 5B  C3 D5 71 51 04 AB F3 B2**


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: