Bug#517374: sbcl: sb-ext:run-program :input converts #\Newline to #\Nul on powerpc

Tobias Rautenkranz tobias at rautenkranz.ch
Fri Feb 27 10:35:03 UTC 2009


Package: sbcl
Version: 1:1.0.18.0-2
Severity: normal

When suppling an input stream to RUN-PROGRAM newlines are converted to null bytes on
powerpc (i386 works correctly).
This breaks the GPG check of asdf-install:
	(asdf-install:install :asdf-binary-locations)
	...
	debugger invoked on a ASDF-INSTALL::KEY-NOT-TRUSTED:
	  GPG warns that the key id 0xNIL () is not fully trusted

Testcase:
	run in sbcl:
 (sb-ext:run-program "tee" '("foo")
                      :input (make-string-input-stream (format nil "foo~%bar"))
                      :search t :wait t))
then: hd foo
00000000  66 6f 6f 00 62 61 72                              |foo.bar|
00000007

1:1.0.25.0-1 powerpc is also affected.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.26-diskstation1
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sbcl depends on:
ii  common-lisp-controller        6.17       Common Lisp source and compiler ma
ii  libc6                         2.7-18     GNU C Library: Shared libraries

Versions of packages sbcl recommends:
ii  binfmt-support                1.2.11     Support for extra binary formats

Versions of packages sbcl suggests:
pn  sbcl-doc                      <none>     (no description available)
pn  sbcl-source                   <none>     (no description available)
pn  slime                         <none>     (no description available)

-- no debconf information





More information about the pkg-common-lisp-devel mailing list