From: Erik Andersen Date: Sat, 22 Jan 2000 04:55:32 +0000 (-0000) Subject: Better way to check for namespace aliasing. X-Git-Tag: 0_42~35 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f4acea8cf5175de2292c86b58f2f30d262f14345;p=oweals%2Fbusybox.git Better way to check for namespace aliasing. -Erik --- 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