public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Use abs pathnames setting *_LIBRARY
@ 2001-08-16 10:39 Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2001-08-16 10:39 UTC (permalink / raw)
  To: Insight Maling List

Hi,

This patch fixes a little problem encountered while running insight from
the build directory. If you've tried to run insight since yesterday's
update and have been noticing some strange behavior, this is the patch for
you.

Keith

ChangeLog
2001-08-16  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk.c (gdbtk_init): Make sure we're working with
	absolute pathnames in the *_LIBRAY variables.

Patch
Index: generic/gdbtk.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk.c,v
retrieving revision 1.16
diff -u -p -r1.16 gdbtk.c
--- gdbtk.c	2001/08/15 21:13:56	1.16
+++ gdbtk.c	2001/08/16 17:37:57
@@ -410,6 +410,10 @@ gdbtk_init (argv0)

       static char set_libs_path_script[] = "\
 	  set srcDir [file dirname [file dirname $env(TCL_LIBRARY)]];\n\
+          set cwd [pwd]\n\
+          cd $srcDir\n\
+          set srcDir [pwd]\n\
+          cd $cwd\n\
 \
 	  if {![info exists env(TCL_LIBRARY)]} {\n\
 	      set env(TCL_LIBRARY) [file join $srcDir tcl library]\n\

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-16 10:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-16 10:39 [PATCH] Use abs pathnames setting *_LIBRARY Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).