support dirent.d_type

2005-04-22 Thread lode leroy
Hello, I would like to see support for dirent.d_type added to cygwin. fhandler_disk_file::readdir() { ... if (buf.dwFileAttributes FILE_ATTRIBUTE_DIRECTORY) { dir-__d_dirent-d_type = DT_DIR; } else { dir-__d_dirent-d_type = DT_REG; } ... }

BUG: mbsrtowcs does not conform to spec

2004-01-21 Thread lode . leroy
The spec says that mbsrtowcs() should return the length of the string _even_when_the_output_buffer_is_NULL_ . currently mbsrtowcs(NULL, ...) returns 0. #include stdio.h #include wchar.h #include string.h main() { int len; char* s = test; mbstate_t mbstate; memset(mbstate, 0,

bumping PATH_MAX to 32k (using \\?\)

2004-01-14 Thread lode . leroy
Hi folks, some time ago some work was in progress to increase PATH_MAX to 32K... is anyone still working on that? -- lode -- Plaats je zoekertjes GRATIS op AdValvas Placez votre petite annonce GRATUITEMENT sur