{"action":"closed","issue":{"url":"https://api.github.com/repos/libarchive/libarchive/issues/1034","repository_url":"https://api.github.com/repos/libarchive/libarchive","labels_url":"https://api.github.com/repos/libarchive/libarchive/issues/1034/labels{/name}","comments_url":"https://api.github.com/repos/libarchive/libarchive/issues/1034/comments","events_url":"https://api.github.com/repos/libarchive/libarchive/issues/1034/events","html_url":"https://github.com/libarchive/libarchive/issues/1034","id":339349948,"node_id":"MDU6SXNzdWUzMzkzNDk5NDg=","number":1034,"title":"Symlink support not behaving","user":{"login":"dsoprea","id":715626,"node_id":"MDQ6VXNlcjcxNTYyNg==","avatar_url":"https://avatars0.githubusercontent.com/u/715626?v=4","gravatar_id":"","url":"https://api.github.com/users/dsoprea","html_url":"https://github.com/dsoprea","followers_url":"https://api.github.com/users/dsoprea/followers","following_url":"https://api.github.com/users/dsoprea/following{/other_user}","gists_url":"https://api.github.com/users/dsoprea/gists{/gist_id}","starred_url":"https://api.github.com/users/dsoprea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsoprea/subscriptions","organizations_url":"https://api.github.com/users/dsoprea/orgs","repos_url":"https://api.github.com/users/dsoprea/repos","events_url":"https://api.github.com/users/dsoprea/events{/privacy}","received_events_url":"https://api.github.com/users/dsoprea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-09T08:22:23Z","updated_at":"2018-07-09T14:46:32Z","closed_at":"2018-07-09T14:46:32Z","author_association":"NONE","body":"When I call `c_archive_read_disk_open()` -> `archive_read_next_header2()` with a symlink, `AE_IFLNK` gets set but `archive_entry_size` is (0) and, even if I set it to a higher number (specifically, the size of the target path), `archive_write_data()` always fails (it always returns (0)) but `archive_error_string()` returns `NULL` (which implies there _was_ no error). However, even if I update the filetype (via `archive_entry_set_filetype()`) to add `AE_IFREG` and drop `AE_IFLNK`, nothing changes.\r\n\r\nI don't have any problem with regular files. I've tested this both with 7Z's and TAR-BZ2's.\r\n\r\nWhat am I missing?\r\n"}}
{"actor":{"display_login":"kientzle"}}