[26866] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25803 - in trunk/debathena/debathena/dotfiles: . debian

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sun Dec 9 03:02:48 2012

Date: Sun, 9 Dec 2012 03:02:39 -0500
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <201212090802.qB982deI025503@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: geofft
Date: 2012-12-09 03:02:39 -0500 (Sun, 09 Dec 2012)
New Revision: 25803

Modified:
   trunk/debathena/debathena/dotfiles/cshrc
   trunk/debathena/debathena/dotfiles/debian/changelog
Log:
In dotfiles:
  * Quote harder in cshrc, because tcsh's philosophy is apparently that
    one can never have enough quoting. (This fixes a bug spotted by Alex
    Dehnert where passing tcsh -c a command with an embedded newline
    would print a spurious error message.)


Modified: trunk/debathena/debathena/dotfiles/cshrc
===================================================================
--- trunk/debathena/debathena/dotfiles/cshrc	2012-12-08 07:23:29 UTC (rev 25802)
+++ trunk/debathena/debathena/dotfiles/cshrc	2012-12-09 08:02:39 UTC (rev 25803)
@@ -10,7 +10,7 @@
 # Determine if we're in an sftp or scp session, and if so, be quiet
 set SILENT=no
 if ($?command) then
-  switch ("$command")
+  switch ("${command:q}")
     case '*/usr/lib/openssh/sftp-server':
       set SILENT=yes
       breaksw

Modified: trunk/debathena/debathena/dotfiles/debian/changelog
===================================================================
--- trunk/debathena/debathena/dotfiles/debian/changelog	2012-12-08 07:23:29 UTC (rev 25802)
+++ trunk/debathena/debathena/dotfiles/debian/changelog	2012-12-09 08:02:39 UTC (rev 25803)
@@ -1,3 +1,12 @@
+debathena-dotfiles (10.0.32-0debathena1) UNRELEASED; urgency=low
+
+  * Quote harder in cshrc, because tcsh's philosophy is apparently that
+    one can never have enough quoting. (This fixes a bug spotted by Alex
+    Dehnert where passing tcsh -c a command with an embedded newline
+    would print a spurious error message.)
+
+ -- Geoffrey Thomas <geofft@mit.edu>  Sun, 09 Dec 2012 02:59:36 -0500
+
 debathena-dotfiles (10.0.31-0debathena1) unstable; urgency=low
 
   * Add /usr/lib/init/check-for-reboot to the logout aliases (Trac: #971).


home help back first fref pref prev next nref lref last post