[PATCH] fix running with newer versions of coreutils

Mike Frysinger vapier at gentoo.org
Wed Mar 26 23:14:02 UTC 2008


On Wednesday 26 March 2008, Dmitry V. Levin wrote:
> On Wed, Mar 26, 2008 at 06:36:05PM -0400, Mike Frysinger wrote:
> > Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> > ---
> >  signalent.sh  |    2 +-
> >  syscallent.sh |    2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/signalent.sh b/signalent.sh
> > index d0fac86..6f9aea6 100644
> > --- a/signalent.sh
> > +++ b/signalent.sh
> > @@ -28,7 +28,7 @@
> >
> >  cat $* |
> >  	sed -n -e 's/\/\*.*\*\// /' -e 's/^#[ 	]*define[ 	][ 	]*SIG\([^_ 	]*\)[
> > 	][ 	]*\([0-9][0-9]*\)[ 	]*$/\1 \2/p' | -	sort +1n |
> > +	sort -k2n |
> >  	awk '
> >  	BEGIN {
> >  		tabs = "\t\t\t\t\t\t\t\t"
> > diff --git a/syscallent.sh b/syscallent.sh
> > index 2f08701..7cab850 100644
> > --- a/syscallent.sh
> > +++ b/syscallent.sh
> > @@ -30,7 +30,7 @@ cat ${1+"$@"} |
> >  	sed -n 's/^#[ 	]*define[ 	][ 	]*SYS_\([^ 	]*\)[
> > 	]*[^0-9]*\([0-9]*\).*$/\1 \2/p s/^#[ 	]*define[ 	][ 	]*__NR_\([^ 	]*\)[
> > 	]*[^0-9]*\([0-9]*\).*$/\1 \2/p s/^#[ ]*define[ ][ ]*__NR_\([^ ]*\)[
> > ]*[^0-9()]*(__NR_Linux + \([0-9]*\))$/\1 \2/p' | -	sort +1n | uniq |
> > +	sort -k1n | uniq |
> >  	awk '
> >  	BEGIN {
> >  		tabs = "\t\t\t\t\t\t\t\t"
>
> Thank you.
> While 1st hunk looks OK, I'm not sure about the 2nd.
> Shouldn't it look like the 1st one?

hrm, yes.  it looks like when i moved my changes from work to my house for 
submission, some pieces were lost along the way.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20080326/b8efc286/attachment.bin>


More information about the Strace-devel mailing list