* progname fix.

This commit is contained in:
marco 2003-05-29 20:54:09 +00:00
parent dc3b985838
commit 50917559bd

View File

@ -67,11 +67,11 @@ function paramstr(l: longint) : string;
begin begin
{ stricly conforming POSIX applications } { stricly conforming POSIX applications }
{ have the executing filename as argv[0] } { have the executing filename as argv[0] }
if l=0 then // if l=0 then
begin // begin
paramstr := execpathstr; // paramstr := execpathstr;
end // end
else // else
paramstr:=strpas(argv[l]); paramstr:=strpas(argv[l]);
end; end;
@ -613,7 +613,10 @@ End.
{ {
$Log$ $Log$
Revision 1.1 2003-01-05 19:01:28 marco Revision 1.2 2003-05-29 20:54:09 marco
* progname fix.
Revision 1.1 2003/01/05 19:01:28 marco
* FreeBSD compiles now with baseunix mods. * FreeBSD compiles now with baseunix mods.