This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/656: gdb_realpath crashes on GNU/Hurd
- From: cagney at redhat dot com
- To: cagney at redhat dot com, gdb-prs at sources dot redhat dot com, marcus at gnu dot org, nobody at sources dot redhat dot com
- Date: 12 Nov 2002 17:22:41 -0000
- Subject: Re: gdb/656: gdb_realpath crashes on GNU/Hurd
- Reply-to: cagney at redhat dot com, cagney at redhat dot com, gdb-prs at sources dot redhat dot com, marcus at gnu dot org, nobody at sources dot redhat dot com, gdb-gnats at sources dot redhat dot com
Synopsis: gdb_realpath crashes on GNU/Hurd
Responsible-Changed-From-To: unassigned->cagney
Responsible-Changed-By: cagney
Responsible-Changed-When: Tue Nov 12 09:22:38 2002
Responsible-Changed-Why:
@!&^$(*#@ 5.3
State-Changed-From-To: open->feedback
State-Changed-By: cagney
State-Changed-When: Tue Nov 12 09:22:38 2002
State-Changed-Why:
yet another patch committed to 5.3 and mainline.
The code now tries:
- realpath() with constant buffer
- canonicalize file name() [sp]
- realpath() with dynamic buffer
- xstrdup()
So the nasty evil realpath() with a dynamic buffer is moved to after canonicalize file name().
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=656