[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: build: Improve comments.
From: |
Danny Milosavljevic |
Subject: |
01/01: gnu: build: Improve comments. |
Date: |
Wed, 31 May 2017 13:39:35 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit cdc701ea48207b16fd181cac3c74172c6db483ed
Author: Danny Milosavljevic <address@hidden>
Date: Wed May 31 19:38:49 2017 +0200
gnu: build: Improve comments.
* gnu/build/file-systems.scm (iso9660-superblock-volume-name):
Add clarifying comment.
---
gnu/build/file-systems.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm
index 17c1182..3b831c0 100644
--- a/gnu/build/file-systems.scm
+++ b/gnu/build/file-systems.scm
@@ -283,6 +283,7 @@ SBLOCK as a bytevector."
(define (iso9660-superblock-volume-name sblock)
"Return the volume name of SBLOCK as a string. The volume name is an ASCII
string. Trailing spaces are trimmed."
+ ;; Note: Valid characters are of the set "[0-9][A-Z]_" (ECMA-119 Appendix A)
(string-trim-right (latin1->string (sub-bytevector sblock 40 32)
(lambda (c) #f)) #\space))