www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/12/20/11:23:14

Date: Mon, 20 Dec 93 09:54:18 -0500
From: DJ Delorie <dj AT ctron DOT com>
To: joep AT ichsun6 DOT ich DOT nl
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: go32 does not handle globbing properly?

> One problem seems to be in the way go32 1.11 handles filename globbing. 
> I found out it does not work as in Unix.

Correct.  go32's globbing matches *MS-DOS*'s wildcard expansion.

> Also patterns like "*oo*" or "[a-b]*" are not handled properly.
> The problem is not with the "ls" program but with go32.
> It can be reproduced with a simple testprogram "globtest.c" (listed below).
>
> I guess other people have run into the same problem.
>
> Does anyone know a fix or workaround ?

Yes.  Use stubedit to disable go32's wildcard expansion for those
executables that can expand them themselves.

DJ


- Raw text -


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