Hi, Valerio! On 09/24/2015 01:38 PM, Valerio Messina wrote: > Someone tested it on Posix systems with path longer than 260?
It doesn't tell much to just test it on Posix systems as the usual answer is: It all depends... also on the filesystem :-) The newer (Linux kernel 3.7+) userspace API tells you: http://lxr.free-electrons.com/source/include/uapi/linux/limits.h #define NAME_MAX 255 /* # chars in a file name */ #define PATH_MAX 4096 /* # chars in a path name including nul */ When you talk to libc, it might look already different: http://www.gnu.org/software/libc/manual/html_node/Limits-for-Files.html Be aware that on Unicode strings you might also fit path-/filenames into the limits. Regards, CKO On 09/24/2015 01:38 PM, Valerio Messina wrote: >> ----Messaggio originale---- >> Da: ml+gerbv-de...@moritz.augsburger.name >> Data: 23/09/2015 20.37 >> >> could it be 260 chars including the file name and everything? >>> Maximum Path Length Limitation >>> In the Windows API (with some exceptions discussed in the following > paragraphs), the maximum length for a path is MAX_PATH, which is defined as > 260 > characters. >> https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85). > aspx > > yes, probably can be. > Names of layers files are from 35 to 48 chars. > > thnak you for pointing at this. > > Someone tested it on Posix systems with path longer than 260? > > thank you, > Valerio > > > ------------------------------------------------------------------------------ > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > Get real-time metrics from all of your servers, apps and tools > in one place. > SourceForge users - Click here to start your Free Trial of Datadog now! > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > _______________________________________________ > Gerbv-devel mailing list > Gerbv-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gerbv-devel > ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Gerbv-devel mailing list Gerbv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gerbv-devel