delorie.com/archives/browse.cgi | search |
Date: | Fri, 13 Dec 2002 13:14:36 -0500 |
Message-Id: | <200212131814.gBDIEau12246@envy.delorie.com> |
X-Authentication-Warning: | envy.delorie.com: dj set sender to dj AT delorie DOT com using -f |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | |
<Pine DOT GSO DOT 4 DOT 44L-027 DOT 0212131242480 DOT 6504-100000 AT unix2 DOT andrew DOT cmu DOT edu> | |
(ajo AT andrew DOT cmu DOT edu) | |
Subject: | Re: Bug in command-line globbing |
References: | <Pine DOT GSO DOT 4 DOT 44L-027 DOT 0212131242480 DOT 6504-100000 AT unix2 DOT andrew DOT cmu DOT edu> |
Reply-To: | djgpp AT delorie DOT com |
> * Arguments are split at whitespace and stripped of quotes before > being passed to the function. Can you write "echo" in DJGPP? You want to override __crt0_setup_arguments, found in src/libc/crt0/c1args.c [1] Note that it will be ENTIRELY up to you do hunt down the DOS command line buffer after the environment block in low memory, and do ALL the parsing yourself. You may also want to look up _crt0_startup_flags [2] and see if any of those flags would be useful to you, rather than doing it all yourself. [1] http://www.delorie.com/bin/cvsweb.cgi/djgpp/src/libc/crt0/c1args.c [2] http://www.delorie.com/djgpp/doc/libc-2.02/libc_113.html
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |