This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/679: fopen return null pointer when using filename without fullpath.
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 29 Aug 2002 18:28:02 -0000
- Subject: Re: gdb/679: fopen return null pointer when using filename without fullpath.
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR gdb/679; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: dearksr@kangnung.ac.kr
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/679: fopen return null pointer when using filename without fullpath.
Date: Thu, 29 Aug 2002 14:20:59 -0400
On Thu, Aug 29, 2002 at 05:59:30PM -0000, dearksr@kangnung.ac.kr wrote:
>
> >Number: 679
> >Category: gdb
> >Synopsis: fopen return null pointer when using filename without fullpath.
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Thu Aug 29 11:08:00 PDT 2002
> >Closed-Date:
> >Last-Modified:
> >Originator: dearksr@kangnung.ac.kr
> >Release: gdb-5.2-2 rpm package from Red Hat.
> >Organization:
> >Environment:
> Red Hat Linux 7.3, gcc-2.96-110, ddd-3.3.1
> >Description:
> When open ascii file "1.dat", fopen return null pointer.
> But with full path of the file, such as "/home/kimsar/dbgtest/1.dat", fopen return correct pointer.
> >How-To-Repeat:
> Try after changing the filename in function fopen with or without full path.
What is supposed to be the GDB bug here? We don't have enough
information.
(Also, fopen works just fine with relative paths here, as expected)
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer