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 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.79.1 Operating System:  MS Windows
Fixed Release:  3.82 Triage 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 Files:
   
   
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
  • -email is unavailable- added by eliz (Updated the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-27 eliz Open/ClosedOpen => Closed
        Fixed ReleaseNone => 3.82
        Triage StatusNone => Verified
    2009-03-14 eliz StatusNone => Fixed
    2009-03-14 eliz Attached File- => Added w32searchpath.dif, #17686

    Back to the top


    Powered by Savane 3.5