[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: Re: raises hand for bite-sized issue #604

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-22 22:58:13 CET

On Tue, Jan 22, 2002 at 01:47:23PM -0800, Bill Tutt wrote:
>...
> No, you'd want something like:
> editor = apr_getenv("EDITOR");
> #ifdef WIN32
> /* Default to notepad for Win32 folks who don't have an EDITOR value set
> */
> if (editor == NULL)
> {
> editor = "notepad.exe";
> }
> #endif

And it would just be getenv(). What would apr_getenv() actually do/mean? No
sense assigning a new name to the getenv() function.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:58 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.