Module Name:    src
Committed By:   christos
Date:           Tue Jun  8 13:48:58 UTC 2010

Modified Files:
        src/etc: rc.subr

Log Message:
explain why this code is there.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/etc/rc.subr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/rc.subr
diff -u src/etc/rc.subr:1.83 src/etc/rc.subr:1.84
--- src/etc/rc.subr:1.83	Sun Jun  6 08:37:57 2010
+++ src/etc/rc.subr	Tue Jun  8 09:48:58 2010
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.83 2010/06/06 12:37:57 christos Exp $
+# $NetBSD: rc.subr,v 1.84 2010/06/08 13:48:58 christos Exp $
 #
 # Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1186,6 +1186,9 @@
 		echo "exited with code $1"
 	elif [ "$(expr $1 & 255)" -eq 127 ]
 	then
+		# This cannot really happen because the shell will not
+		# pass stopped job status out and the exit code is limited
+		# to 8 bits. This code is here just for completeness.
 		echo "stopped with signal $(expr $1 / 256)"
 	else
 		echo "terminated with signal $(expr $1 - 128)"

Reply via email to