From f4acea8cf5175de2292c86b58f2f30d262f14345 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Sat, 22 Jan 2000 04:55:32 +0000 Subject: [PATCH] Better way to check for namespace aliasing. -Erik --- applets/busybox.mkll | 2 +- busybox.mkll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applets/busybox.mkll b/applets/busybox.mkll index 151f5c325..be6d937cf 100755 --- a/applets/busybox.mkll +++ b/applets/busybox.mkll @@ -8,7 +8,7 @@ LIST="$(sed -n '/^#define/{s/^#define //p;}' $DF)" for def in ${LIST}; do i=`sed -n 's/^#ifdef \<'$def'\>.*\/\/\(.*$\)/\/\1\//gp' $MF` - j=`sed -n '/^#ifdef '$def'[ ].*/,/^#endif/{ s/.*\"\(.*\)\".*/\1/gp; }' $MF` + j=`sed -n '/^#ifdef \<'$def'\>.*/,/^#endif/{ s/.*\"\(.*\)\".*/\1/gp; }' $MF` for k in $j; do echo $i$k done diff --git a/busybox.mkll b/busybox.mkll index 151f5c325..be6d937cf 100755 --- a/busybox.mkll +++ b/busybox.mkll @@ -8,7 +8,7 @@ LIST="$(sed -n '/^#define/{s/^#define //p;}' $DF)" for def in ${LIST}; do i=`sed -n 's/^#ifdef \<'$def'\>.*\/\/\(.*$\)/\/\1\//gp' $MF` - j=`sed -n '/^#ifdef '$def'[ ].*/,/^#endif/{ s/.*\"\(.*\)\".*/\1/gp; }' $MF` + j=`sed -n '/^#ifdef \<'$def'\>.*/,/^#endif/{ s/.*\"\(.*\)\".*/\1/gp; }' $MF` for k in $j; do echo $i$k done