bug-make
[Top][All Lists]
Advanced

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

[bug #40344] Can't handle Windows path names longer than 259 characters


From: Eli Zaretskii
Subject: [bug #40344] Can't handle Windows path names longer than 259 characters
Date: Tue, 22 Oct 2013 08:28:54 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0

Follow-up Comment #4, bug #40344 (project make):

Make does not necessarily prepend the current directory, but the library
functions it calls might do that internally, as part of file-name
normalization.  (So it's not the current directory that counts, but
CURRENT_DIR/../../../../../../ in your case.)  When they do that, and the
result exceeds 259 characters, all these functions fail due to the
limitation.

As for SUBST, you can use it to work around this because then the name will be
shorter, like X:/this-is-a-long-path-component-0/this-is-a-long-filename.txt. 
Windows APIs never normalize file names beyond the drive letter, even if it is
a SUBSTed drive letter.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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