Hi,
<br>
<br>This seems to be another case of awk seg faulting. 
<br>
<br>On my system, I only need to type 'awk' on the command line to reproduce this symptom:
<br>
<br>Line 2660 of awk.c. The body of the for() loop never gets to execute because 
<br>envp is NULL and so *envp causes the seg fault:
<br>
<br>2660: for (envp=environ; *envp; envp++) {
<br>2661: s = bb_xstrdup(*envp);
<br>2662: s1 = strchr(s, '=');
<br>2663: if (!s1) {
<br>2664: goto keep_going;
<br>2665: }
<br>
<br>If I change line 2660 to:
<br>
<br>for (envp=environ;( envp && (*envp) ); envp++) {
<br>
<br>-it doesn't seg fault anymore.
<br>
<br>
<br>Can someone explain why envp is NULL in the first place?
<br>
<br>System details-
<br>
<br>powerpc-linux-uclibc-gcc 
<br>gcc version 4.0.2
<br>buildroot-21-03-2006
<br>
<br><br/>
<div>
<hr style="width:85%;margin-left:0px;text-align:left"/><br/>
<b>Love Games? Gamesville is Waiting for You...</b><br/>
Free Online Games, Fat Cash $ Prizes<br/>
Plus Bingo, Solitaire, Poker & Much More!</br>
<a href="http://www.gamesville.com?if_Event=LYCOSMAILgvilletxt"
target="_blank"><u>http://www.gamesville.com</u></a>
</div>