From: Olaf Hering <olh@suse.de>
To: linux-hotplug@vger.kernel.org
Subject: Re: remove bashisms from hotplug
Date: Fri, 09 Jan 2004 12:58:43 +0000 [thread overview]
Message-ID: <20040109125843.GA25158@suse.de> (raw)
In-Reply-To: <marc-linux-hotplug-106976799717012@msgid-missing>
On Tue, Nov 25, Marco d'Itri wrote:
> These patches remove bashisms from hotplug (tested with the debian dash
> shell) and add (partial) support for sysfs.
> @@ -208,14 +200,14 @@
> if [ "$INTERFACE" != "" ]; then
> IFS=/
> set $INTERFACE ''
> - usb_bInterfaceClass=$1
> - usb_bInterfaceSubClass=$2
> - usb_bInterfaceProtocol=$3
> + usb_bInterfaceClass=$((0x$1))
> + usb_bInterfaceSubClass=$((0x$2))
> + usb_bInterfaceProtocol=$((0x$3))
This doesnt match reality.
drivers/usb/core/usb.c: "INTERFACE=%d/%d/%d",
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n√úRNBERG
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2004-01-09 12:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-25 13:45 remove bashisms from hotplug Marco d'Itri
2003-11-25 17:34 ` Chris Larson
2003-11-26 21:12 ` Joerg Sommer
2003-12-09 9:03 ` Marco d'Itri
2003-12-10 1:15 ` Greg KH
2003-12-17 19:20 ` David Brownell
2003-12-25 13:47 ` Marco d'Itri
2004-01-09 12:58 ` Olaf Hering [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040109125843.GA25158@suse.de \
--to=olh@suse.de \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).