Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/sys Pull up revision 1.8 (requested by tv in ticket...



details:   https://anonhg.NetBSD.org/src/rev/71a828e256e6
branches:  netbsd-1-6
changeset: 530587:71a828e256e6
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Aug 17 11:19:40 2003 +0000

description:
Pull up revision 1.8 (requested by tv in ticket #1423):
grow #! line length -- patch from cgd, fixes PR kern/20112 from Todd
Vierling

diffstat:

 sys/sys/exec_script.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 06c6d207b9d6 -r 71a828e256e6 sys/sys/exec_script.h
--- a/sys/sys/exec_script.h     Sun Aug 17 11:19:33 2003 +0000
+++ b/sys/sys/exec_script.h     Sun Aug 17 11:19:40 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_script.h,v 1.7 1997/01/22 07:09:15 mikel Exp $    */
+/*     $NetBSD: exec_script.h,v 1.7.54.1 2003/08/17 11:19:40 tron Exp $        */
 
 /*
  * Copyright (c) 1994 Christopher G. Demetriou
@@ -36,6 +36,9 @@
 #define        EXEC_SCRIPT_MAGIC       "#!"
 #define        EXEC_SCRIPT_MAGICLEN    2
 
+/* Extra 2 are for possible space between #! and shell name, and newline.  */
+#define SCRIPT_HDR_SIZE                (EXEC_SCRIPT_MAGICLEN + MAXINTERP + 2)
+
 #ifdef _KERNEL
 
 /* the shell script handler's entry in the exec switch */



Home | Main Index | Thread Index | Old Index