NetBSD Problem Report #25908

Received: (qmail 27209 invoked by uid 605); 12 Jun 2004 17:24:59 -0000
Message-Id: <20040612172533.F392EAB06@orinoco.my.domain>
Date: Sun, 13 Jun 2004 02:25:33 +0900 (JST)
From: hiramatu@boreas.dti.ne.jp
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: hiramatu@boreas.dti.ne.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: shells/bash2 doesn't understand glob characters on Interix
X-Send-Pr-Version: 3.95

>Number:         25908
>Category:       pkg
>Synopsis:       shells/bash2 doesn't understand glob characters on Interix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tv
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 12 17:25:00 +0000 2004
>Closed-Date:    Mon Nov 29 12:43:12 +0000 2004
>Last-Modified:  Mon Nov 29 18:57:01 +0000 2004
>Originator:     Hiramatsu Yoshifumi
>Release:        SFU 3.5
>Organization:

>Environment:


System: Interix nile 3.5 SP-8.0.1969.1 x86 AMD Athlon/Duron
Architecture: i386
Machine: i386
>Description:
bash2 doesn't interpret '*' and '?' as globbing characters on Interix.

bash-2.05b$ ls *
ls: *: No such file or directory
bash-2.05b$ ls ?
ls: ?: No such file or directory

>How-To-Repeat:
/usr/pkgsrc/shells/bash2
bmake install
/usr/pkg/bin/bash
ls *

>Fix:
workaround used in interop systems' tool warehouse.

diff -buNr bash2.orig/Makefile bash2/Makefile
--- bash2.orig/Makefile	Fri Jun 11 06:14:53 2004
+++ bash2/Makefile	Fri Jun 11 06:16:16 2004
@@ -30,6 +30,10 @@

 .include "../../mk/bsd.prefs.mk"

+.if ${OPSYS} == "Interix"
+CFLAGS+=		-DUSE_POSIX_GLOB_LIBRARY
+.endif
+
 .if defined(BASH_STATIC)
 .  if !empty(BASH_STATIC:M[yY][eE][sS])
 CONFIGURE_ARGS+=	--enable-static-link

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->tv 
Responsible-Changed-By: cube 
Responsible-Changed-When: Sat Jun 12 19:00:05 UTC 2004 
Responsible-Changed-Why:  
tv will handle it. 
State-Changed-From-To: open->closed
State-Changed-By: tv@netbsd.org
State-Changed-When: Mon, 29 Nov 2004 12:43:12 +0000
State-Changed-Why:
Applied; thanks.  I was thinking I'd look for a more autocofy way to do that,
but it's something I may need to hold off for bash 3.x.


From: Todd Vierling <tv@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/25908 CVS commit: pkgsrc/shells/bash2
Date: Mon, 29 Nov 2004 12:41:54 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tv
 Date:		Mon Nov 29 12:41:54 UTC 2004

 Modified Files:
 	pkgsrc/shells/bash2: Makefile

 Log Message:
 Add glob workaround from <hiramatu@boreas.dti.ne.jp> in PR pkg/25908.


 To generate a diff of this commit:
 cvs rdiff -r1.59 -r1.60 pkgsrc/shells/bash2/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.