Skip to content
Snippets Groups Projects
Unverified Commit 67bb44b4 authored by Eric Timmons's avatar Eric Timmons
Browse files

Fix entry type detection for v7 archives

parent da97461c
No related branches found
No related tags found
No related merge requests found
Pipeline #5570 passed
## Unreleased
+ Fix bug with determining type of entries in v7 archives.
## v0.1.2 - September 25, 2021
+ Fix bug where strings read from headers were not bounded to the length of the
......
......@@ -25,7 +25,7 @@
'v7-header)
(defmethod entry-type ((tar-file v7-tar-file) header)
(if (alexandria:ends-with +ascii-/+ (name header))
(if (alexandria:ends-with #\/ (name header))
'directory-entry
(alexandria:switch ((typeflag header))
(+tar-regular-file+
......
;;; -*- mode: lisp -*-
(asdf:defsystem #:tar-file
:version "0.1.2"
:version "0.1.3"
:author "Eric Timmons <eric@timmons.dev>"
:maintainer "Eric Timmons <eric@timmons.dev>"
:description "A package for reading and writing physical entries from/to tar files."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment