This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Mark, On Saturday 11 August 2007 22:46, Mark Vels wrote: > I'm running Ubuntu and had some trouble to get crosstool-ng going. It > seems that Debian based distro's use mawk with slightly different > behaviour than gawk in some areas. > Don't know if this patch would break use with gawk? Not really an expert > in this area. No it doesn't break. On the opposite, that was a bug, and you just solved it! > Index: scripts/functions > =================================================================== > --- scripts/functions (revision 415) > +++ scripts/functions (working copy) > @@ -556,7 +556,7 @@ > # be able to remove the functions names. > set |awk ' > BEGIN { _p = 1; } > - $0~/^[^ ] ()/ { _p = 0; } > + $0~/^[^ ] \(\)/ { _p = 0; } Bah, the pattern was not right anyway. Escaping the () *is* needed, you're right, but I also missed that a function name (which I try to match here) may have more than one char! So the correct pattern becomes: $0~/^[^ ]+ \(\)/ { _p = 0; } Thank you for pointing this out! I will commit shortly. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ | | --==< °_° >==-- °------------.-------: X AGAINST | /e\ There is no | | http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL | """ conspiracy. | °------------------------------°-------°------------------°--------------------° -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |