| delorie.com/archives/browse.cgi | search |
| From: | jaxonjr AT my-deja DOT com |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: How to fix? |
| Date: | Sun, 07 May 2000 19:28:32 GMT |
| Organization: | Deja.com - Before you buy. |
| Lines: | 34 |
| Message-ID: | <8f4g4l$ju$1@nnrp1.deja.com> |
| References: | <8f435u$j50$1 AT nnrp1 DOT deja DOT com> <8f4eed DOT 3vvqkld DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> |
| NNTP-Posting-Host: | 166.102.220.166 |
| X-Article-Creation-Date: | Sun May 07 19:28:32 2000 GMT |
| X-Http-User-Agent: | Mozilla/4.0 (compatible; MSIE 5.5; Windows 95) |
| X-Http-Proxy: | 1.1 x25.deja.com:80 (Squid/1.1.22) for client 166.102.220.166 |
| X-MyDeja-Info: | XMYDJUIDjaxonjr |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
In article <8f4eed DOT 3vvqkld DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de>,
buers AT gmx DOT de (Dieter Buerssner) wrote:
> jaxonjr AT my-deja DOT com wrote:
>
> >How do I fix this?
> >case '/' works but case '*' doesn't.
>
> The startup code of DJGPP will try globbing filenames with the '*'.
>
> >#include <stdio.h>
> >#include <stdlib.h>
>
> One fix is to add the following here:
>
> #include <crt0.h>
>
> char **__crt0_glob_function(char *unused_argument)
> {
> return NULL;
> }
>
> [code snipped]
>
> --
> Dieter Buerssner
>
That did the trick! Thanks.
--
Peace!
Sent via Deja.com http://www.deja.com/
Before you buy.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |