cygwin: further improve tags generation

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2017-11-28 13:10:34 +01:00
parent 032aa2dba5
commit 662740b3d0
2 changed files with 5 additions and 1 deletions

View File

@ -776,7 +776,9 @@ tags: CTAGS
CTAGS:
-cd $(srcdir) && \
ctags -R --c++-kinds=+p --fields=+iaS --extra=+q \
--regex-C++='/EXPORT_ALIAS *\([[a-zA-Z0-9_]*, *([a-zA-Z0-9_]*)\)/\1/' \
--regex-C++='/EXPORT_ALIAS *\([a-zA-Z0-9_]*, *([a-zA-Z0-9_]*)\)/\1/' \
--regex-C++='/_EXFUN *\(([a-zA-Z0-9_]*)[,\)]/\1/' \
--regex-C++='/__ASMNAME *\("([a-zA-Z0-9_]*)"\)/\1/' \
@newlib_headers@ .
deps:=${wildcard *.d}

View File

@ -1635,8 +1635,10 @@ fhandler_disk_file::pwrite (void *buf, size_t count, off_t offset)
if (!prw_handle && prw_open (true))
goto non_atomic;
debug_printf ("Before NtWriteFile, io %Y", io.Information);
status = NtWriteFile (prw_handle, NULL, NULL, NULL, &io, buf, count,
&off, NULL);
debug_printf ("After NtWriteFile, io %Y, status %y", io.Information);
if (!NT_SUCCESS (status))
{
__seterrno_from_nt_status (status);