getenv in Linux

new topic     » topic index » view thread      » older message » newer message

I am trying to use some code I wrote for DOS/Win32 on Linux. One of the
routines finds out where an included file is located (it checks the
current directory and the Euphoria include directory). To find out where
the Euphoria include directory is, it uses getenv("EUDIR") - this works
in DOS, but not on Linux. On linux, getenv("EUDIR") returns the current
directory, even though echo $EUDIR displays the correct directory. Is
this a bug or just something I'm doing wrong?

Jeffrey Fielding
JJProg at cyberbury.net
http://members.tripod.com/~JJProg/

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu