tar: Fix comment, just trim tail.

db4
Doug Coleman 2014-11-02 09:54:01 -08:00
parent 25bf840d79
commit d11737ac8e
1 changed files with 2 additions and 2 deletions

View File

@ -20,9 +20,9 @@ linkname magic version uname gname devmajor devminor prefix ;
ERROR: checksum-error header ;
: trim-string ( seq -- newseq ) [ "\0 " member? ] trim ;
: trim-string ( seq -- newseq ) [ "\0 " member? ] trim-tail ;
: read-c-string ( n -- str/f )
: read-c-string ( n -- str )
read [ zero? ] trim-tail "" like ;
: read-tar-header ( -- obj )