This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [RFA] Missed one place to search for /usr/share in gdbtk
- To: Chris Faylor <cgf at cygnus dot com>, gdb-patches at sourceware dot cygnus dot com
- Subject: Re: [RFA] Missed one place to search for /usr/share in gdbtk
- From: Syd Polk <spolk at redhat dot com>
- Date: Mon, 12 Jun 2000 10:35:21 -0700
- Cc: spolk at cygnus dot com, fnasser at cygnus dot com
This looks good.
At 08:45 PM 6/9/00 -0400, Chris Faylor wrote:
>I don't know how I missed this one but *today* I need an additional patch
>to get gdbtk working.
>
>Ok to check in?
>
>cgf
>
>Fri Jun 9 20:43:40 2000 Christopher Faylor <cgf@cygnus.com>
>
> * src/paths.c (initialize_paths): Look in /usr/share for stuff.
>
>
>Index: src/paths.c
>===================================================================
>RCS file: /cvs/src/src/libgui/src/paths.c,v
>retrieving revision 1.2
>diff -u -p -r1.2 paths.c
>--- paths.c 2000/04/03 19:34:38 1.2
>+++ paths.c 2000/06/10 00:43:30
>@@ -68,6 +68,9 @@ proc initialize_paths {} {\n\
> }\n\
> cd [file dirname $exec_name]\n\
> # Handle build with --exec-prefix and build without.\n\
>+ set d [file join [file dirname [pwd]] usr share]\n\
>+ lappend prefdirs $d\n\
>+ lappend guidirs [file join $d cygnus gui]\n\
> set d [file join [file dirname [pwd]] share]\n\
> lappend prefdirs $d\n\
> lappend guidirs [file join $d cygnus gui]\n\
Syd Polk spolk@redhat.com
Engineering Manager +1 415 777 9810 x 241
Red Hat, Inc.