Control: reassign 980801 cl-postgres
tags: patch,upstream

The bug is in due to a bogus type declamation which sbcl 2:2.1.0-1
apparently no longer accepts when inlining.  I successfully rebuilt
both pgloader and pgcharts to confirm that it works.

Bug #980801 (pgcharts) is a duplicate of this.
Description: The type declamation for BYTE-LENGTH contradicts its
 default value which trips sbcl 2:2.1.0-1 when inlining.  This patch
 corrects the declamation.
Author: Dennis Filder <d.fil...@web.de>
Bug-Debian: https://bugs.debian.org/980689
Last-Update: 2021-02-03
--- postmodern-20180430-git/cl-postgres/strings-utf-8.lisp
+++ postmodern-20180430-git/cl-postgres/strings-utf-8.lisp
@@ -13,7 +13,7 @@

 (declaim (inline enc-read-string))
 (declaim (ftype (function (t &key (:null-terminated t)
-                                  (:byte-length unsigned-byte))
+                                  (:byte-length fixnum))
                           string)
                 enc-read-string))
 (defun enc-read-string (input &key null-terminated (byte-length -1))

Reply via email to