bug-make
[Top][All Lists]
Advanced

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

[bug #49590] wildcard no longer give sorted output in version 4.2


From: kokapui
Subject: [bug #49590] wildcard no longer give sorted output in version 4.2
Date: Sat, 12 Nov 2016 01:05:32 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

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

                 Summary: wildcard no longer give sorted output in version 4.2
                 Project: make
            Submitted by: kokapui
            Submitted on: Sat 12 Nov 2016 01:05:29 AM GMT
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.2
        Operating System: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:


The wildcard function returns sorted results in version 3.81, but it does do
the same in version 4.2. Is there any compile/runtime switch to control this
behavior? Or is it a bug?

Below shows the results from two version of GNU make.

$ ls a.mk a0.svp a1.svp a2.svp a3.svp a4.svp a5.svp a6.svp a7.svp a8.svp
a9.svp

$ cat a.mk 

SRC_FILES := $(wildcard *.svp)

all: @echo $(SRC_FILES)

$ make -f a.mk all
a0.svp a1.svp a2.svp a3.svp a4.svp a5.svp a6.svp a7.svp a8.svp a9.svp

$ ~/sandbox/bin/make -f a.mk all
a0.svp a1.svp a6.svp a5.svp a9.svp a4.svp a3.svp a2.svp a7.svp a8.svp

$make –v | head -n 1

GNU Make 3.81

$ ~/sandbox/bin/make -v | head -n 1

GNU Make 4.2





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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