385abae
Description: <short summary of the patch>
385abae
 TODO: Put a short summary on the line above and replace this paragraph
385abae
 with a longer explanation of this change. Complete the meta-information
385abae
 with other relevant fields (see below for details). To make it easier, the
385abae
 information below has been extracted from the changelog. Adjust it or drop
385abae
 it.
385abae
 .
385abae
 gcl (2.6.12-46) unstable; urgency=high
385abae
 .
385abae
   * pathnames1.12
385abae
   * Bug fix: "maintainer script(s) do not start on #!", thanks to
385abae
     treinen@debian.org; (Closes: #843303).
385abae
Author: Camm Maguire <camm@debian.org>
385abae
Bug-Debian: https://bugs.debian.org/843303
385abae
385abae
---
385abae
The information above should follow the Patch Tagging Guidelines, please
385abae
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
385abae
are templates for supplementary fields that you might want to add:
385abae
385abae
Origin: <vendor|upstream|other>, <url of original patch>
385abae
Bug: <url in upstream bugtracker>
385abae
Bug-Debian: https://bugs.debian.org/<bugnumber>
385abae
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
385abae
Forwarded: <no|not-needed|url proving that it has been forwarded>
385abae
Reviewed-By: <name and email of someone who approved the patch>
385abae
Last-Update: 2016-11-22
385abae
385abae
--- gcl-2.6.12.orig/lsp/gcl_iolib.lsp
385abae
+++ gcl-2.6.12/lsp/gcl_iolib.lsp
385abae
@@ -460,7 +460,8 @@
385abae
 (defun load-pathname-exists (z)
385abae
   (or (probe-file z)
385abae
       (when *allow-gzipped-file*
385abae
-	(probe-file (string-concatenate (namestring z) ".gz")))))
385abae
+	(when (probe-file (string-concatenate (namestring z) ".gz"))
385abae
+	  z))))
385abae
 
385abae
 (defun load-pathname (p print if-does-not-exist external-format
385abae
 			&aux (pp (merge-pathnames p))