Re: getenv
- Posted by Jeremy Cowgar <jeremy at c?wgar.com> May 30, 2008
- 677 views
Kenneth Rhodes wrote: > > So which is it? ALL SORTS / ALL OVER or ONLY ONCE? It sounds as > though your new ifdef code might simply the cross-platform problem > with getenv() without having to dumb down Linux. > It makes it possible but it does not simplify anything. It just places the burden on the programmer. The programmer must know there is a difference, then he/she must account for that difference in their program. And the real issue to me is that the getenv() returning "" in Linux has no practical benefit. -- Jeremy Cowgar http://jeremy.cowgar.com