Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 1997 17:08:09 +0100 (MET)
From:      eserte@cs.tu-berlin.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   gnu/3118: send-pr.el doesn't work
Message-ID:  <199703271608.RAA02445@cabulja.herceg.de>
Resent-Message-ID: <199703271800.KAA04204@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3118
>Category:       gnu
>Synopsis:       send-pr.el doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 10:00:01 PST 1997
>Last-Modified:
>Originator:     Slaven Rezic
>Organization:
Private FreeBSD site, Berlin, Germany
>Release:        FreeBSD 2.2-960801-SNAP i386
>Environment:

	No /home/gnats/... directory.
	
>Description:

	send-pr.el from /usr/src/gnu/usr.bin/send-pr does not work.

>How-To-Repeat:

	From /usr/src/gnu/usr.bin/send-pr:
		make send-pr.el
	Install send-pr.el in /usr/local/share/emacs/site-lisp
	From emacs:
		M-x load-library send-pr
		M-x send-pr

>Fix:

Since I don't have /home/gnats/gnats-adm/config installed, the
shell-command in send-pr:get-config (see below) fails. The error
message is preceeded with ".:" instead of "/bin/sh:", so the function
send-pr:get-config returns a wrong value.

======================================================================	
--- /usr/src.old/gnu/usr.bin/send-pr/send-pr-el.in	Mon Aug 29 06:02:50 1994
+++ send-pr-el.in	Thu Mar 27 16:51:23 1997
@@ -95,7 +95,7 @@
       (set-buffer buf)
       (shell-command (concat ". " gnats:root "/gnats-adm/config; echo $" var )
 		     t)
-      (if (looking-at "/bin/sh:\\|\n")
+      (if (looking-at "^\\.:\\|/bin/sh:\\|\n")
 	  (setq ret nil)
 	(setq ret (buffer-substring (point-min) (- (point-max) 1)))))
     (kill-buffer buf)

======================================================================

Slaven
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703271608.RAA02445>