Send MinGW-Notify mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."
Please do not reply to this notification; the sender address is unable to
accept incoming e-mail. If you wish to unsubscribe you can do so at
https://lists.osdn.me/mailman/listinfo/mingw-notify.
Today's Topics:
1. [mingw] #38207: MinGW.org glob(3) function implementation
mishandles the GLOB_BRACE feature (MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Sun, 15 Apr 2018 19:47:13 +0100
From: MinGW Notification List <[email protected]>
Subject: [MinGW-Notify] [mingw] #38207: MinGW.org glob(3) function
implementation mishandles the GLOB_BRACE feature
To: OSDN Ticket System <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38207: MinGW.org glob(3) function implementation mishandles the GLOB_BRACE
feature
Open Date: 2018-04-15 19:47
Last Update: 2018-04-15 19:47
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38207
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38207
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-04-15 19:47 Updated by: keith
* New Ticket "MinGW.org glob(3) function implementation mishandles the
GLOB_BRACE feature" created
---------------------------------------------------------------------
Ticket Status:
Reporter: keith
Owner: keith
Type: Issues
Status: Open [Owner assigned]
Priority: 5 - Medium
MileStone: (None)
Component: WSL
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
The glob(3) function is provided by libmingwex.a. In addition to its
fundamentally POSIX.1-2008 compliant behaviour, it also supports several
MinGW.org specific features, and aims to support the GNU GLOB_BRACE feature.
Unfortunately, the MinGW.org implementation does not entirely conform to
behavioural expectations of GNU's own glibc implementation, (cf. this mailing
list thread); specifically:??
The brace-enclosed expression may not be adequately checked for
well-formedness, prior to expansion, and
An expression comprising only a single item is expanded anyway, and the
enclosing braces are discarded; this differs from expected GNU behaviour, which
does not result in expansion of expressions comprising fewer than two items.
Additionally, the usage of MinGW.org's glob(3) implementation within the MinGW
C runtime start-up code, when the GLOB_BRACE feature is enabled within the
_CRT_glob configuration variable, does not disable brace expansion for
expressions within quoted command arguments, as it should.
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38207
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38207
------------------------------
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
End of MinGW-Notify Digest, Vol 8, Issue 2
******************************************