[fpc-devel]ParamStr & argv bug in FPC/2

XHajT03 at mbox.vol.cz XHajT03 at mbox.vol.cz
Sat Nov 11 23:20:28 CET 2000


Date sent:      	Sun, 12 Nov 2000 00:52:39 +0900
From:           	KO Myung-Hun <komh at chollian.net>
To:             	FPC mail <fpc-devel at lists.freepascal.org>
Subject:        	[fpc-devel]ParamStr & argv bug in FPC/2
Send reply to:  	fpc-devel at deadlock.et.tudelft.nl

> In VP, 0th parameter is processed separately. I applied the way of VP
> to FPC/2. Below is the modifed part.
.
.

 Thanks. I'll have to modify your patch a bit, since we shouldn't 
modify argv probably (and argv isn't assumed to return the full path 
anyway). OTOH, I won't have to search for the appropriate API, at 
least for OS/2. Regarding DOS, we'll probably have to use something 
like FSearch ('PATH') to locate the executable.

Tomas





More information about the fpc-devel mailing list