Revision f9dae0d3e63455206c1e1e169c76aca55aeb5d90 authored by Jonathan Nieder on 22 April 2010, 01:18:21 UTC, committed by Junio C Hamano on 22 April 2010, 06:46:51 UTC
Unlike gcc, asciidoc does not atomically write its output file or
delete it when interrupted.  If it is interrupted in the middle of
writing an XML file, the result will be truncated input for xsltproc.

	XSLTPROC user-manual.html
	user-manual.xml:998: parser error : Premature end of data in t

Take care of this case by writing to a temporary and renaming it when
finished.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3d81676
History
File Mode Size
fnmatch
nedmalloc
regex
vcbuild
win32
basename.c -rw-r--r-- 334 bytes
bswap.h -rw-r--r-- 1.0 KB
cygwin.c -rw-r--r-- 4.8 KB
cygwin.h -rw-r--r-- 275 bytes
fopen.c -rw-r--r-- 931 bytes
hstrerror.c -rw-r--r-- 513 bytes
inet_ntop.c -rw-r--r-- 4.9 KB
inet_pton.c -rw-r--r-- 6.9 KB
memmem.c -rw-r--r-- 752 bytes
mingw.c -rw-r--r-- 37.0 KB
mingw.h -rw-r--r-- 7.8 KB
mkdtemp.c -rw-r--r-- 153 bytes
mmap.c -rw-r--r-- 747 bytes
msvc.c -rw-r--r-- 575 bytes
msvc.h -rw-r--r-- 1.1 KB
pread.c -rw-r--r-- 433 bytes
qsort.c -rw-r--r-- 1.1 KB
setenv.c -rw-r--r-- 786 bytes
snprintf.c -rw-r--r-- 1.4 KB
strcasestr.c -rw-r--r-- 431 bytes
strlcpy.c -rw-r--r-- 247 bytes
strtoumax.c -rw-r--r-- 217 bytes
unsetenv.c -rw-r--r-- 558 bytes
win32.h -rw-r--r-- 872 bytes
win32mmap.c -rw-r--r-- 904 bytes
winansi.c -rw-r--r-- 6.9 KB

back to top