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

RE: Subversion Installer for Windows ready for download

From: Sander Striker <striker_at_apache.org>
Date: 2002-07-01 20:51:36 CEST

> From: Frohwalt Egerer [mailto:mail@frohwalt.de]
> Sent: 01 July 2002 20:23

> > -----Original Message-----
> > From: Branko Cibej [mailto:brane@xbc.nu]
> > Don't. Use argv[0] instead, so that the same code can be used on Unix.
> > In general, we frown upon Windows-specific code in Subversion, except
> > where absolutely necessary.
>
> argv[0] does not list the full path where the executable resides in, it just
> reflects what you typed into the shell. (So if "svn.exe" is on the path
> and I invoke svn without specifying a directory in the shell, argv[0] will
> just be "svn")
>
> You cannout find out the path where the binaries are without platform specific
> code. To find the path on Unix you cannot get around a PATH search, on Windows
> you have GetModuleDirectory.

Promoting ap_os_proc_filepath from httpd to apr might help us...

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 1 20:42:48 2002

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.