fix tar
parent
0c7ff04ce7
commit
570577cca0
|
@ -16,6 +16,9 @@ SYMBOLS: base-dir filename ;
|
|||
|
||||
: tar-trim ( seq -- newseq ) [ "\0 " member? ] trim ;
|
||||
|
||||
: read-c-string* ( n -- str/f )
|
||||
read [ zero? ] trim-right [ f ] when-empty ;
|
||||
|
||||
: read-tar-header ( -- obj )
|
||||
\ tar-header new
|
||||
100 read-c-string* >>name
|
||||
|
|
Loading…
Reference in New Issue