Re: Small change (ext.c)



Hello!

Making the patch from your ext.c file (next time do it yourself, please):

==========================
diff -ur old/ext.c new/ext.c
--- old/ext.c	Mon Aug 13 20:55:38 2001
+++ new/ext.c	Wed Jul  3 13:06:54 2002
@@ -153,7 +153,10 @@
 	return;
     }
     cmd_file = fdopen (cmd_file_fd, "w");
-    fputs ("#!/bin/sh\n", cmd_file);
+    /* Disabled by Alexander Valentinovich Smirnoff
+       <sasha k806 mainet msk su>
+       Better to use default shell for this! */
+    /*    fputs ("#!/bin/sh\n", cmd_file);*/
 
     prompt [0] = 0;
     for (;*data && *data != '\n'; data++){
==========================

Wrong.  Many commands are written specifically for Bourne shell syntax.  
Using the user's shell is going to break things, especially if it's tsch
(have you considered this possibility at all?), but zsh is also not 100%
compatible with sh.

-- 
Regards,
Pavel Roskin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]