FreeBSD Bugzilla – Attachment 16323 Details for
Bug 29971
variables are named inconsistently in MAKEDEV
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.42 KB, created by
Joseph Mallett
on 2001-08-23 04:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Joseph Mallett
Created:
2001-08-23 04:50:01 UTC
Size:
1.42 KB
patch
obsolete
>--- makedev.orig Mon Aug 20 11:39:53 2001 >+++ MAKEDEV Mon Aug 20 11:49:49 2001 >@@ -1079,9 +1079,9 @@ > ;; > > bpf*) >- nbpf=`expr $i : 'bpf\(.*\)$'` >+ units=`expr $i : 'bpf\(.*\)$'` > unit=0 >- while [ $unit -le $nbpf ]; do >+ while [ $unit -le $units ]; do > mknod bpf$unit c 23 `unit2minor $unit` > unit=$(($unit + 1)) > done >@@ -1164,9 +1164,9 @@ > # the manual that comes with the system. > ttyA*) > major=68 >- nports=`expr $i : 'ttyA\(.*\)$'` >+ units=`expr $i : 'ttyA\(.*\)$'` > port=1 >- while [ $port -le $nports ]; do >+ while [ $port -le $units ]; do > minor=$(expr $port - 1) > name=$(printf %02d $port) > mknod ttyA$name c $major $minor >@@ -1181,9 +1181,9 @@ > cuaA*) > umask 7 > major=68 >- nports=`expr $i : 'cuaA\(.*\)$'` >+ units=`expr $i : 'cuaA\(.*\)$'` > port=1 >- while [ $port -le $nports ]; do >+ while [ $port -le $units ]; do > minor=$(expr $port - 1) > name=$(printf %02d $port) > mknod cuaA$name c $major `expr $minor + 128` uucp:dialer >@@ -1541,18 +1541,18 @@ > ;; > > tun*) >- ntun=`expr $i : 'tun\(.*\)$'` >+ units=`expr $i : 'tun\(.*\)$'` > unit=0 >- while [ $unit -le $ntun ]; do >+ while [ $unit -le $units ]; do > mknod tun$unit c 52 `unit2minor $unit` > unit=$(($unit + 1)) > done > ;; > > tap*) >- ntap=`expr $i : 'tap\(.*\)$'` >+ units=`expr $i : 'tap\(.*\)$'` > unit=0 >- while [ $unit -le $ntap ]; do >+ while [ $unit -le $units ]; do > mknod tap$unit c 149 `unit2minor $unit` root:network > unit=$(($unit + 1)) > done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 29971
: 16323