Re: Further adventures in the land of 64-bit linux

Anders Qvist <[email protected]> Tue, 17 Sep 2002 10:41:28 +0200
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
On Mon, Sep 16, 2002 at 05:52:22PM -0400, Guido van Rossum wrote:
> > > Can you please try the attached patch?
> > [snip]
> > 
> > Like a charm.
> 
> Great!  Martin will check it in.

Surprising noone in particular, test_pwd broke in the same way.

  (gdb) f 5
  #5  0x200009ff284 in mkpwent (p=0x200008b3308)
	  at /mp/slaskdisk/tmp/quest/python/dist/src/Modules/pwdmodule.c:59
  59              SETS(setIndex++, p->pw_passwd);
  (gdb) print p->pw_passwd
  $1 = 0x0

Aha! Lookie here:

  (gdb) print p->pw_name 
  $4 = 0x1202faec0 "+"

It's the "NIS-thingie" in /etc/passwd that is the culprit. We may want
to handle that some way?
-- 
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks 
to the Internet, we know this is not true." -- Robert Wilensky