* setenv on BSD platforms
@ 2003-02-05 3:14 Bruce Korb
0 siblings, 0 replies; only message in thread
From: Bruce Korb @ 2003-02-05 3:14 UTC (permalink / raw)
Is the following a known problem for Guile on BSD-based systems?
I have a script that does this:
(setenv "SHELL" "./program")
and then later in my C program I call getenv thus:
char* pz = getenv( "SHELL" );
The result is "/bin/sh". oops. It does not work
that way on other platforms. Just OS/X and FreeBSD.
(Haven't tried Open/Net BSD's yet, but I'll hazard a guess...)
Why might this be?
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-05 3:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-05 3:14 setenv on BSD platforms Bruce Korb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).