Mail Archives: djgpp/2002/12/12/22:45:04
On 13 Dec 2002, A. Sinan Unur wrote:
>
> "Arthur J. O'Dwyer" <ajo AT andrew DOT cmu DOT edu> wrote in news:Pine.GSO.4.44L-
> 027 DOT 0212122147030 DOT 22577-100000 AT unix14 DOT andrew DOT cmu DOT edu:
> >
> > [A. Sinan Unur wrote: something suggesting I clarify my question.]
> >
> > On Thu, 12 Dec 2002, Arthur J. O'Dwyer wrote:
>
[snipped]
>
> C:\Dload\misc>arg "*/" hello
> :*/:
> :hello:
Argh, geez! Sorry about the past few messages; I just realized that
while my "examples" were correct, my "Request" had a typo! Should
have been
% test (something goes here)
:*\:
:hello:
Okay, *now* try it. (kicks self)
I now realize that my responses must have seemed rather irrational.
I hadn't noticed that my original posting contained / rather than \
in the key location.
[snipped]
>
> #include <stdio.h>
>
> #ifdef __DJGPP__
> /* The code below is from the FAQ as well:
> http://www.delorie.com/djgpp/v2faq/faq8_7.html
> */
> #include <crt0.h>
>
> char **__crt0_glob_function (char *arg)
> {
> return 0;
> }
>
> #endif
Yes indeed. That's a rather sub-standard approach, IMHO, given that
it works around an apparent bug in the DJGPP implementation, rather
than... well... *not* working around the bug.
[snipped]
> Showing a little respect to people who are trying to help you is a 'good
> thing', even if you are a math major at CMU.
Indeed. Thanks for noticing? :-/
The (error-corrected) Request still stands, I suppose; and I still
believe the default behavior to be a bug in the implementation.
Notice that the "globbing" doesn't complain about mismatched quotes,
and makes some argument values impossible to construct. Hence, I
suggest that it is broken by design.
-Arthur
- Raw text -