Source-Changes-HG archive

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

[src/trunk]: src/etc Change the pattern for matching ttys to allow any number...



details:   https://anonhg.NetBSD.org/src/rev/5a7c9b361cc3
branches:  trunk
changeset: 770630:5a7c9b361cc3
user:      apb <apb%NetBSD.org@localhost>
date:      Wed Oct 26 09:02:20 2011 +0000

description:
Change the pattern for matching ttys to allow any number of digits,
(tty[0-9]*).  This should fix PR 45514.

diffstat:

 etc/MAKEDEV.tmpl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r cceb426f80cc -r 5a7c9b361cc3 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl  Wed Oct 26 04:56:23 2011 +0000
+++ b/etc/MAKEDEV.tmpl  Wed Oct 26 09:02:20 2011 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV.tmpl,v 1.144 2011/10/12 20:57:55 apb Exp $
+#      $NetBSD: MAKEDEV.tmpl,v 1.145 2011/10/26 09:02:20 apb Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1203,7 +1203,7 @@
        lndev dtyZ$unit dty0${unit}
        ;;
 
-tty0*|tty1*|tty[0-9])
+tty[0-9]*)
        unit=${i#tty}
        ounit=00$unit
        ounit=${ounit#${ounit%??}}



Home | Main Index | Thread Index | Old Index