On Fri, Jan 3, 2014 at 6:32 AM, Svante Signell wrote:
- dlls/ntdll/directory.c: Define a character array on the heap of size
4096 instead of using PATH_MAX, which is not defined for GNU/Hurd. This approach was used in dlls/ntdll/file.c:server_get_unix_name() where an array of size 1024 was defined. In case this solution is not OK, a fixed size array on the stack could be used, or as a last resort adding #ifndef PATH_MAX; #define PATH_MAX 4096 to that file (not recommended, at least from a GNU/Hurd aspect).
This version of the patch still hard-codes data_size. The Debian hurd porting guide requires paths to be dynamically allocated.
Best wishes, Mike