[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#27143: closed (file-systems: Improve error reporti

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27143: closed (file-systems: Improve error reporting for ISO9660)
Date: Sat, 03 Jun 2017 14:15:03 +0000

Your message dated Sat, 03 Jun 2017 16:14:39 +0200
with message-id <address@hidden>
and subject line Re: bug#27143: [PATCH] gnu: build: Improve error reporting.
has caused the debbugs.gnu.org bug report #27143,
regarding file-systems: Improve error reporting for ISO9660
to be marked as done.

(If you believe you have received this mail in error, please contact

27143: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27143
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: build: Improve error reporting. Date: Tue, 30 May 2017 11:12:58 +0200
* gnu/build/file-systems.scm (read-iso9660-primary-volume-descriptor):
Improve error reporting.
 gnu/build/file-systems.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm
index 17c1182ce..bd6997adc 100644
--- a/gnu/build/file-systems.scm
+++ b/gnu/build/file-systems.scm
@@ -245,7 +245,10 @@ Trailing spaces are trimmed."
   "Find and read the first primary volume descriptor, starting at OFFSET.
    Return #f if not found."
   (let* ((sblock    (read-superblock device offset 2048 iso9660-superblock?))
-         (type-code (if sblock (array-ref sblock 0) 255)))
+         (type-code (if sblock
+                      (array-ref sblock 0)
+                      (error (format #f "Could not read ISO9660 primary
+volume descriptor from ~s" device)))))
     (match type-code
       (255 #f) ; Volume Descriptor Set Terminator.
       (1 sblock) ; Primary Volume Descriptor

--- End Message ---
--- Begin Message --- Subject: Re: bug#27143: [PATCH] gnu: build: Improve error reporting. Date: Sat, 03 Jun 2017 16:14:39 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
This was pushed as 203a9455c4695152fc5d0085bffeead9ce3216c2, so closing it.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]