[PATCH] linux/ioctlent.sh: handle multiple defines per-ioctl

Mike Frysinger vapier at gentoo.org
Fri Feb 13 22:30:16 UTC 2009


On Wednesday 26 March 2008 19:08:59 Mike Frysinger wrote:
> The current sed statement works fine if the ioctl definition only utilizes
> one define in it.  If it uses two, things fall apart.  Such is the case
> with linux/dm-ioctl.h:
> _IOC(_IOC_NONE,DM_IOCTL,DM_LIST_DEVICES_CMD,....)
> Only the last define (DM_LIST_DEVICES_CMD) gets extracted.  This tweaks the
> sed to handle the two-define case.
>
> I also fixed uniq/sort as doing `... | uniq | sort` wont work, you need to
> reverse the steps for uniq to actually work.

any chance of getting this merged ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20090213/9a48e290/attachment.bin>


More information about the Strace-devel mailing list