search for: maxpath

Displaying 3 results from an estimated 3 matches for "maxpath".

Did you mean: max_path
2008 Nov 22
2
GetFinalPathNameByHandle for XP and earlier
...9;'file size must be greater than zero'' end map = CreateFileMapping(handle, nil, PAGE_READONLY, 0, 1, nil) final_path = nil if map && map > 0 pmem = MapViewOfFile(map, FILE_MAP_READ, 0, 0, 1) if pmem begin buf = 0.chr * MAXPATH # Buf will contain the full path, but with the device name instead # of the drive letter that we ultimately want. if GetMappedFileName(GetCurrentProcess(), pmem, buf, MAXPATH) > 0 buf.strip! dbuf = 0.chr * 512...
2010 Mar 05
2
[PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)
...| sed -e 's|\(.*\)|/tmp/\1/\1/\1|g' | xargs mkdir -p 2. Copy R into it 3. Launch R from that directory / with that R_HOME You don't be able to load the base module or run other functions. I have prepared 2 patches, one against the trunk in Subversion : http://people.FreeBSD.org/~murray/maxpath-svn-trunk.patch And one against the 2.10 release branch : http://people.FreeBSD.org/~murray/maxpath-svn-2-10-branch.patch Trunk patch pasted below : Index: src/unix/sys-unix.c =================================================================== --- src/unix/sys-unix.c (revision 51208) +++ src/un...
2004 Sep 18
1
[LLVMdev] MAXPATHLEN' undeclared (first use this function)
.../platform/Path.cpp:23, from /usr/local/src/llvm/lib/System/Path.cpp:27: /usr/local/build/llvm/lib/System/platform/../Unix/Path.cpp: In member function `bool llvm::sys::Path::create_directory(bool)': /usr/local/build/llvm/lib/System/platform/../Unix/Path.cpp:343: error: ` MAXPATHLEN' undeclared (first use this function) --------------------------------- MAXPATHLEN is on Interix defined in <limits.h>. However, it doesn't seem to have any effect including it before any other header files in the system specific Path.cpp for Interix as seen above: -------------...