Hi again,

On Sun, Nov 3, 2013 at 4:07 PM, Rugxulo <rugx...@gmail.com> wrote:
> AFAIK, the %PATH% can (normally) only be 128 bytes or less. This is
> also part of the overall environment limit (but what is default for
> FreeCOM, /E:256 ??). There are possible partial workarounds that
> extend it to 255 or such (e.g. 4DOS or Win9x via %CMDLINE%), I think,
> but I've never messed with them much, so I don't know the details.
> Other OSes have similar cmdline limits (e.g. 1000 or 8000, dunno) but
> hide it better. DJGPP just uses response files (esp. behind the
> scenes) to get approx. 12000 since so many Linux progs assume
> virtually unlimited and try to cram too much raw info there (IMO).

Sorry, I'm confusing PATH_MAX and size of environment and cmdline
limits. These are really completely different things but often tied
together for various reasons. So a response file has nothing to do
with the %PATH%, per se, but trying to run anything in your %PATH% (or
otherwise) assumes a certain length (as FPC's experimental 16-bit
target work showed us on BTTR).

I guess I was weakly trying to make a point, saying that everything
has limits, even if we think they are virtually "unlimited".

Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
Freedos-user mailing list

Reply via email to