How do I emulate SUSv3 unsetenv return value?

2006-07-11 Thread Andrés
Some days ago I asked this on the mailing list, in a function like: static gboolean xunsetenv (char *varname) { if (unsetenv(varname) != 0) { return TRUE; } return FALSE; } How do replace if (unsetenv(varname) != 0) ? since OpenBSD's unsetenv is

Re: How do I emulate SUSv3 unsetenv return value?

2006-07-11 Thread Otto Moerbeek
On Wed, 12 Jul 2006, Andr??s wrote: Some days ago I asked this on the mailing list, in a function like: static gboolean xunsetenv (char *varname) { if (unsetenv(varname) != 0) { return TRUE; } return FALSE; } How do replace if

Re: How do I emulate SUSv3 unsetenv return value?

2006-07-11 Thread Damien Miller
On Wed, 12 Jul 2006, Andr??s wrote: But, if I understand correctly, Thorsten Glaser rejected that answer, because getenv fails for different reasons. So, what is the proper wat to do this? Thanks You can unconditionally return true, or if you want to emulate Solaris: static gboolean

how do I use python2.4 instead of 2.3? and other port questions

2006-06-29 Thread Travis H.
Hi, How do I get packages to use python 2.4? I installed it, but python stuff keeps going to /usr/local/lib/python2.3/site-packages instead. I even put PYTHON_VER=2.4 in the Makefiles, which I thought would do it but no. What are the semantics of MODULE and BUILD_REQ? I don't really

Re: how do I use python2.4 instead of 2.3? and other port questions

2006-06-29 Thread Damien Miller
Travis H. wrote: Hi, How do I get packages to use python 2.4? I installed it, but python stuff keeps going to /usr/local/lib/python2.3/site-packages instead. I even put PYTHON_VER=2.4 in the Makefiles, which I thought would do it but no. most python library ports use MODPY_VERSION from

Re: how do I use python2.4 instead of 2.3? and other port questions

2006-06-29 Thread steven mestdagh
Travis H. [2006-06-29, 06:41:50]: Hi, How do I get packages to use python 2.4? I installed it, but python stuff keeps going to /usr/local/lib/python2.3/site-packages instead. I even put PYTHON_VER=2.4 in the Makefiles, which I thought would do it but no. What are the semantics of MODULE

how do i ?

2005-09-10 Thread Rbbigdaddy62
please help if you can how do i make this work when it keeps coming up user intervention required