bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #52076] wildcard/glob should be sorted


From: Bernhard M.
Subject: [bug #52076] wildcard/glob should be sorted
Date: Wed, 20 Sep 2017 15:43:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?52076>

                 Summary: wildcard/glob should be sorted
                 Project: make
            Submitted by: bmwiedemann
            Submitted on: Wed 20 Sep 2017 07:43:51 PM UTC
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

wildcard/glob should be sorted
similar to shell glob, perl glob and POSIX glob(3)

commit b9f831b8 added GLOB_NOSORT for no apparent reason,
possibly by mistake.

man 3 glob  is very specific that the only reason to add this flag is
to save processing time, but since ordering actually matters in a
variety of cases, (e.g. when linking .o files into a binary)
the list should be sorted.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 20 Sep 2017 07:43:51 PM UTC  Name: 0001-Sort-glob-file-lists.patch 
Size: 1KiB   By: bmwiedemann
fixing patch
<http://savannah.gnu.org/bugs/download.php?file_id=41848>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52076>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]