diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-04-28 20:01:54 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-04-28 20:01:54 +0400 |
commit | 43657e6bd3d292a6efb6b4a218101d430bfed03d (patch) | |
tree | 348502d79721f6fbf0b2d53c198c4d1c43950d50 /winsup/cygwin/strace.cc | |
parent | 08c76b4b9c7029b5d8eac8763304417de97f5a25 (diff) |
* path.cc (symlink_info::check): Avoid special handling for
STATUS_BUFFER_OVERFLOW when calling NtQueryDirectoryFile.
* strace.cc (strace::vprntf): Use bigger buffer.
Diffstat (limited to 'winsup/cygwin/strace.cc')
-rw-r--r-- | winsup/cygwin/strace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc index cba7e9a54..46726150a 100644 --- a/winsup/cygwin/strace.cc +++ b/winsup/cygwin/strace.cc @@ -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); |