[xml/sgml-pkgs] Bug#356486: xsltproc: Doesn't fail when output file
can't be created (due to space issue)
Raphael Hertzog
hertzog at debian.org
Sun Mar 12 11:32:56 UTC 2006
Package: xsltproc
Version: 1.1.15-2
Severity: normal
Here's the test case, my /mnt/ partition is full (no space left) and when I
ask xsltproc to create a file :
$ xsltproc -o /mnt/test.html xsl/pts.xsl something.xml
I/O error : No space left on device
$ echo $?
0
It exits as if no error happened ! xsltproc should fail on any I/O error
on the output file. Currently the -o option overwrites the output file and
this behaviour is fine except that I silently loose the previous file in
case of full disk... (I have this bug in the PTS: #240829)
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-10-386
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages xsltproc depends on:
ii libc6 2.3.6-1 GNU C Library: Shared libraries an
ii libgcrypt11 1.2.2-1 LGPL Crypto library - runtime libr
ii libgpg-error0 1.1-4 library for common error values an
ii libxml2 2.6.23.dfsg.1-0.1 GNOME XML library
ii libxslt1.1 1.1.15-2 XSLT processing library - runtime
ii zlib1g 1:1.2.3-9 compression library - runtime
xsltproc recommends no packages.
-- no debconf information
More information about the debian-xml-sgml-pkgs
mailing list