Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: mbilal <muhammad_bilal@codesourcery.com>
To: <gdb-patches@sourceware.org>
Subject: [PATCH] Bug 15092 - auto load safe directory is not set correctly in configure file
Date: Fri, 01 Feb 2013 12:35:00 -0000	[thread overview]
Message-ID: <510BB675.7090900@codesourcery.com> (raw)

Hi,
I am sending the patch of 15092 bug

--- configure    2012-11-27 00:23:51.000000000 +0500
+++ newconfigure    2013-02-01 17:21:25.000000000 +0500
@@ -1495,7 +1495,7 @@
                            automatically relocate this path for source 
files
    --with-auto-load-dir=PATH
                            directories from which to load auto-loaded 
scripts
-                          [$debugdir:$datadir/auto-load]
+                          [$DEBUGDIR:$datadir/auto-load]
    --with-auto-load-safe-path=PATH
                            directories safe to hold auto-loaded files
                            [--with-auto-load-dir]
@@ -4985,10 +4985,10 @@
  if test "${with_auto_load_dir+set}" = set; then :
    withval=$with_auto_load_dir;
  else
-  with_auto_load_dir='$debugdir:$datadir/auto-load'
+  with_auto_load_dir='$DEBUGDIR:$datadir/auto-load'
  fi

-escape_dir=`echo $with_auto_load_dir | sed 
's/[$]\(datadir\|debugdir\)\>/\\\\\\\\\\\\&/g'`
+escape_dir=`echo $with_auto_load_dir | sed 
's/[$]\(datadir\|DEBUGDIR\)\>/\\\\\\\\\\\\&/g'`

    test "x$prefix" = xNONE && prefix="$ac_default_prefix"
    test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
@@ -5015,7 +5015,7 @@
    with_auto_load_safe_path="$with_auto_load_dir"
  fi

-escape_dir=`echo $with_auto_load_safe_path | sed 
's/[$]\(datadir\|debugdir\)\>/\\\\\\\\\\\\&/g'`
+escape_dir=`echo $with_auto_load_safe_path | sed 
's/[$]\(datadir\|DEBUGDIR\)\>/\\\\\\\\\\\\&/g'`

    test "x$prefix" = xNONE && prefix="$ac_default_prefix"
    test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'


thanks
BILAL


             reply	other threads:[~2013-02-01 12:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-01 12:35 mbilal [this message]
2013-02-01 17:55 ` Tom Tromey
2013-02-01 19:16 ` Jan Kratochvil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=510BB675.7090900@codesourcery.com \
    --to=muhammad_bilal@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox