Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/etc Pullup patch (requested by taca in ticket #1664)
details: https://anonhg.NetBSD.org/src/rev/77ddc91004dd
branches: netbsd-1-6
changeset: 531292:77ddc91004dd
user: jmc <jmc%NetBSD.org@localhost>
date: Mon Apr 12 04:49:00 2004 +0000
description:
Pullup patch (requested by taca in ticket #1664)
Fix ugen issue from latest shell changes that treat numeric constants
differently depending on their prefix.
diffstat:
etc/etc.acorn32/MAKEDEV | 4 ++--
etc/etc.algor/MAKEDEV | 4 ++--
etc/etc.alpha/MAKEDEV | 4 ++--
etc/etc.cats/MAKEDEV | 4 ++--
etc/etc.evbarm/MAKEDEV | 4 ++--
etc/etc.evbmips/MAKEDEV | 4 ++--
etc/etc.hpcarm/MAKEDEV | 4 ++--
etc/etc.hpcmips/MAKEDEV | 4 ++--
etc/etc.i386/MAKEDEV | 4 ++--
etc/etc.macppc/MAKEDEV | 4 ++--
etc/etc.netwinder/MAKEDEV | 4 ++--
etc/etc.playstation2/MAKEDEV | 4 ++--
etc/etc.sbmips/MAKEDEV | 4 ++--
etc/etc.shark/MAKEDEV | 4 ++--
etc/etc.sparc64/MAKEDEV | 4 ++--
15 files changed, 30 insertions(+), 30 deletions(-)
diffs (296 lines):
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.acorn32/MAKEDEV
--- a/etc/etc.acorn32/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.acorn32/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.15.2.1 2002/08/10 00:06:55 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.15.2.2 2004/04/12 04:49:00 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -609,7 +609,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.algor/MAKEDEV
--- a/etc/etc.algor/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.algor/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.1.2.1 2002/08/10 00:08:48 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.1.2.2 2004/04/12 04:49:04 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -290,7 +290,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.alpha/MAKEDEV
--- a/etc/etc.alpha/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.alpha/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.95.2.1 2002/08/10 00:07:24 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.95.2.2 2004/04/12 04:49:10 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -298,7 +298,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.cats/MAKEDEV
--- a/etc/etc.cats/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.cats/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.9.2.2 2002/08/10 00:05:51 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.9.2.3 2004/04/12 04:49:14 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -610,7 +610,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.evbarm/MAKEDEV
--- a/etc/etc.evbarm/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.evbarm/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.14.2.1 2002/08/10 00:09:25 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.14.2.2 2004/04/12 04:49:19 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -567,7 +567,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.evbmips/MAKEDEV
--- a/etc/etc.evbmips/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.evbmips/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.1.2.1 2002/08/10 00:09:34 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.1.2.2 2004/04/12 04:49:25 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -284,7 +284,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chown root.wheel $ugenj
chmod 600 $ugenj
done
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.hpcarm/MAKEDEV
--- a/etc/etc.hpcarm/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.hpcarm/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.2.2.1 2002/08/10 00:09:16 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.2.2.2 2004/04/12 04:49:30 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -615,7 +615,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.hpcmips/MAKEDEV
--- a/etc/etc.hpcmips/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.hpcmips/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.36.2.1 2002/08/10 00:09:07 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.36.2.2 2004/04/12 04:49:35 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -243,7 +243,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.i386/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.175.2.3 2002/12/16 04:29:43 jmc Exp $
+# $NetBSD: MAKEDEV,v 1.175.2.4 2004/04/12 04:49:40 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -324,7 +324,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.macppc/MAKEDEV
--- a/etc/etc.macppc/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.macppc/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.60.2.1 2002/08/10 00:07:42 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.60.2.2 2004/04/12 04:49:45 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -656,7 +656,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.netwinder/MAKEDEV
--- a/etc/etc.netwinder/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.netwinder/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.18.2.1 2002/08/10 00:09:25 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.18.2.2 2004/04/12 04:49:50 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -604,7 +604,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.playstation2/MAKEDEV
--- a/etc/etc.playstation2/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.playstation2/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.11.2.3 2002/08/10 00:06:28 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.11.2.4 2004/04/12 04:49:52 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -379,7 +379,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.sbmips/MAKEDEV
--- a/etc/etc.sbmips/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.sbmips/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.1.2.1 2002/08/10 00:10:12 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.1.2.2 2004/04/12 04:49:56 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -230,7 +230,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chown root.wheel $ugenj
chmod 600 $ugenj
done
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.shark/MAKEDEV
--- a/etc/etc.shark/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.shark/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.6.2.3 2002/08/10 00:08:29 lukem Exp $
+# $NetBSD: MAKEDEV,v 1.6.2.4 2004/04/12 04:50:01 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -609,7 +609,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
diff -r da7b6c24eb3d -r 77ddc91004dd etc/etc.sparc64/MAKEDEV
--- a/etc/etc.sparc64/MAKEDEV Fri Apr 09 18:24:58 2004 +0000
+++ b/etc/etc.sparc64/MAKEDEV Mon Apr 12 04:49:00 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.35.2.4 2002/12/12 23:15:12 he Exp $
+# $NetBSD: MAKEDEV,v 1.35.2.5 2004/04/12 04:50:07 jmc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -596,7 +596,7 @@
do
ugenj=$ugen.$j
rm -f $ugenj
- mknod $ugenj c $major $(($unit * 16 + $j))
+ mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;
Home |
Main Index |
Thread Index |
Old Index