www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/07/12:23:30

From: buers AT gmx DOT de (Dieter Buerssner)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to fix?
Date: 7 May 2000 16:57:37 GMT
Lines: 23
Message-ID: <8f4eed.3vvqkld.0@buerssner-17104.user.cis.dfn.de>
References: <8f435u$j50$1 AT nnrp1 DOT deja DOT com>
NNTP-Posting-Host: pec-105-159.tnt5.s2.uunet.de (149.225.105.159)
Mime-Version: 1.0
X-Trace: fu-berlin.de 957718657 10451587 149.225.105.159 (16 [17104])
X-Posting-Agent: Hamster/1.3.13.0
User-Agent: Xnews/03.02.04
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019