[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: esdump dumps ...... core!



Oh yeah, I forgot about the getenv() hack.

I suspect the reason it can't be done until after getopt runs is that
you don't know until that point as to whether the flag (-p?) which
prevents importing functions has been used.

Probably the right thing to do is have the replacement getopt just
search environ until the variables have been initialized, and only then
start looking at the variable table.

I'll write the code to do that next time I get the chance to hack on es,
if nobody beats me to it.