* path.cc (symlink_info::check): Avoid special handling for

STATUS_BUFFER_OVERFLOW when calling NtQueryDirectoryFile.
	* strace.cc (strace::vprntf): Use bigger buffer.
This commit is contained in:
Corinna Vinschen
2008-04-28 16:01:54 +00:00
parent 08c76b4b9c
commit 43657e6bd3
3 changed files with 14 additions and 14 deletions

View File

@@ -234,7 +234,7 @@ strace::vprntf (unsigned category, const char *func, const char *fmt, va_list ap
{
DWORD err = GetLastError ();
int len;
char buf[10000];
char buf[NT_MAX_PATH];
PROTECT (buf);
SetLastError (err);