Send MinGW-Notify mailing list submissions to
        mingw-notify@lists.osdn.me

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
        mingw-notify-requ...@lists.osdn.me

You can reach the person managing the list at
        mingw-notify-ow...@lists.osdn.me

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)
   2. [SCM] mingw-org-wsl (mingw) branch, 5.1-trunk,    updated.
      753e249cdb3480951addf1c33151922cdd09705f (MinGW Notification List)
   3. [mingw] #38207: MinGW.org glob(3) function implementation
      mishandles the GLOB_BRACE feature (MinGW Notification List)


----------------------------------------------------------------------

Message: 1
Date: Mon, 16 Apr 2018 11:20:51 +0100
From: MinGW Notification List <mingw-notify@lists.osdn.me>
Subject: [MinGW-Notify] [mingw] #38207: MinGW.org glob(3) function
        implementation mishandles the GLOB_BRACE feature
To: OSDN Ticket System <nore...@osdn.net>
Message-ID: <osdnticketmail_3917_38207_1_1523874...@osdn.net>
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-16 11:20

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-16 11:20 Updated by: keith
 * Details Updated

Comment:

I attached a pair of patches, to correct this issue; they may be applied in 
either possible order.

---------------------------------------------------------------------
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


------------------------------

Message: 2
Date: Mon, 16 Apr 2018 23:55:31 +0900
From: MinGW Notification List <mingw-notify@lists.osdn.me>
Subject: [MinGW-Notify] [SCM] mingw-org-wsl (mingw) branch, 5.1-trunk,
        updated. 753e249cdb3480951addf1c33151922cdd09705f
To: mingw-notify@lists.osdn.me
Message-ID: <1523890531.177120.57855.nullmai...@users.osdn.me>

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to "mingw-org-wsl" repository
containing the "mingw" project.

The branch, 5.1-trunk has been updated
       via  753e249cdb3480951addf1c33151922cdd09705f (commit)
       via  9d119ea4e3ff628cf3c4ed67944eac509a9e8347 (commit)
      from  596ddea2abd2b59694337842839fad974656e60f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 753e249cdb3480951addf1c33151922cdd09705f
Author: Keith Marshall <ke...@users.osdn.me>
Date:   Mon Apr 16 15:53:36 2018 +0100

    Suppress glob-brace expansion within quoted arguments.

commit 9d119ea4e3ff628cf3c4ed67944eac509a9e8347
Author: Keith Marshall <ke...@users.osdn.me>
Date:   Mon Apr 16 15:41:53 2018 +0100

    Suppress glob-brace expansion of single item lists.

-----------------------------------------------------------------------

Summary of changes:
 mingwrt/ChangeLog      | 16 +++++++++
 mingwrt/mingwex/glob.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++----
 mingwrt/setargv.c      | 13 ++++---
 3 files changed, 113 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
mingw-org-wsl (mingw)



------------------------------

Message: 3
Date: Mon, 16 Apr 2018 19:35:24 +0100
From: MinGW Notification List <mingw-notify@lists.osdn.me>
Subject: [MinGW-Notify] [mingw] #38207: MinGW.org glob(3) function
        implementation mishandles the GLOB_BRACE feature
To: OSDN Ticket System <nore...@osdn.net>
Message-ID: <osdnticketmail_3917_38207_1_1523903...@osdn.net>
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-16 19:35

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-16 19:35 Updated by: keith
 * Status Update from Open to Closed
 * Resolution Update from None to Fixed

Comment:

I've now applied the two patches, and committed to the git repository; the 
updates will be incorporated into the next WSL release.

---------------------------------------------------------------------
Ticket Status:

      Reporter: keith
         Owner: keith
          Type: Issues
        Status: Closed
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

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
MinGW-Notify@lists.osdn.me
https://lists.osdn.me/mailman/listinfo/mingw-notify


End of MinGW-Notify Digest, Vol 8, Issue 3
******************************************

Reply via email to