bugmake - Bugs: bug #25662, PATH (sometimes) not set when set...

 
 

bug #25662: PATH (sometimes) not set when set from target-variable

Submitted by:  None
Submitted on:  Sat 21 Feb 2009 10:55:27 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.81Operating System: MS Windows
Fixed Release: 3.82Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 14 Mar 2009 02:58:34 PM UTC, comment #1:

Fixed with the attached patch (which also fixes bug #17277).

Eli Zaretskii <eliz>
Project Member
Sat 21 Feb 2009 10:55:27 PM UTC, original submission:

makefile:
------------------
all : dir dir/run.exe run_1 run_2
clean : ; -rmdir /s/q dir
dir : ; mkdir $@
run_1 : ; run "$@"
run_2 : ; run $@
run_% : PATH += ;$(subst /,\,$(CURDIR))\dir
dir/run.exe : dir/run.c ; gcc $< -o $@
dir/run.c : ; @echo >$@ int main(int argc, char*argv) {puts("hello*");return 0;}
------------------
output:
mkdir dir
gcc dir/run.c -o dir/run.exe
run "run_1"
hello
run run_2
process_begin: CreateProcess(NULL, run run_2, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
make: *** [run_2] Error 2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #17688:  w32searchpath.dif added by eliz (5KiB - application/vnd.ms-excel)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Updated the item)
  • -unavailable- added by eliz (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Jul 2010 06:16:11 AM UTCpsmithFixed Release4.0=>3.82
    Sat 14 Mar 2009 03:28:50 PM UTCelizOpen/ClosedOpen=>Closed
    Sat 14 Mar 2009 03:28:14 PM UTCelizAttached File-=>Added w32searchpath.dif, #17688
    Sat 14 Mar 2009 03:27:55 PM UTCelizOpen/ClosedClosed=>Open
    Sat 14 Mar 2009 03:10:39 PM UTCelizStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.0

    Back to the top


    Powered by Savane 3.1-cleanup1