[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] Bug in workspace XML files
From: |
Juergen Sauermann |
Subject: |
[Bug-apl] Bug in workspace XML files |
Date: |
Sun, 15 Dec 2013 19:59:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 |
Hi,
I have fixed the wrong tag, see SVN version 59.
The NUL bytes at the end of the file are on purpose to make sure
that, if the xml file is mmap()ed, there is a terminating 0 byte so
that use of C string functions on the mmap()ed memory is safe.
The mmap() man page says little about the bytes after the end of the file
if, for example, the file length is a multiple of the page size.
I have therefore added the 0-bytes at the end of the file to be on the
safe side.
I consider them not as part of the xml file. And xmllint did not complain.
/// Jürgen
- [Bug-apl] Bug in workspace XML files,
Juergen Sauermann <=