These are files are shell scripts; give smart editors a chance to figure

it out by adding the usual shebang.

MFC after:	2 weeks
This commit is contained in:
Dag-Erling Smørgrav 2008-02-03 11:33:27 +00:00
parent 102fe25ee0
commit 72d1e737b5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175936
2 changed files with 12 additions and 8 deletions

View file

@ -1,7 +1,9 @@
set -e
#!/bin/sh
#
# $FreeBSD$
set -e
if [ "x$1" = "x-s" ]; then
use_switch=1
shift
@ -70,13 +72,13 @@ BEGIN {
}
/^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO/ {
# find where the name starts
for (i = 1; i <= NF; i++)
if ($i ~ /define/)
break;
++i;
#
#
if (use_switch)
printf("\tcase %s:\n\t\treturn(\"%s\");\n", $i, $i);
else

View file

@ -1,5 +1,7 @@
set -e
#!/bin/sh
#
# $FreeBSD$
#
# Generates kdump_subr.c
# mkioctls is a special-purpose script, and works fine as it is
# now, so it remains independent. The idea behind how it generates
@ -16,7 +18,7 @@ set -e
# that the auto_*_type() functions are inappropriate for.
# MANUAL: Manually entered and must therefore be manually updated.
# $FreeBSD$
set -e
LC_ALL=C; export LC_ALL
@ -426,7 +428,7 @@ void
sendrecvflagsname (int flags)
{
int or = 0;
if (flags == 0) {
(void)printf("0");
return;