bugmake - Bugs: bug #17277, Pathes longer than 128 Chars fail...

 
 

bug #17277: Pathes longer than 128 Chars fail with make under windows

Submitted by:  None
Submitted on:  Thu 03 Aug 2006 01:06:50 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.79.1Operating System: MS Windows
Fixed Release: 3.82Triage Status: Verified

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:44:06 PM UTC, comment #2:

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

(file #17686)

Eli Zaretskii <eliz>
Project Member
Wed 15 Nov 2006 02:57:21 PM UTC, comment #1:

In light of Microsoft declaring the old Win9x/ME OSs "end of life". Can we just switch to the new API and drop compatiblity with these old OSs for future releases of Make?
Cheers
Jon

J <now3d>
Thu 03 Aug 2006 01:06:50 PM UTC, original submission:

make calls to files with a path longer than 128 chars are not supported under windows.

This is because of OpenFile method used in w32/subproc/sub_proc.c.
This method supports only 128 chars.
(http://msdn.microsoft.com/library/en-us/fileio/fs/openfile.asp)

MSDN suggest using CreateFile instead. (http://msdn.microsoft.com/library/en-us/fileio/fs/createfile.asp)

The generated error message looks like:
process_begin: CreateProcess((null), <insert_unresolved_cmd_here>, ...) failed.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #17686:  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 eliz (Updated the item)
  •  

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 27 Apr 2013 05:38:05 PM UTCelizOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>3.82
      Triage StatusNone=>Verified
    Sat 14 Mar 2009 02:53:12 PM UTCelizStatusNone=>Fixed
    Sat 14 Mar 2009 02:44:06 PM UTCelizAttached File-=>Added w32searchpath.dif, #17686

    Back to the top


    Powered by Savane 3.1-cleanup1