IRC channel logs

2025-01-08.log

back to list of logs

<rkeene>Hi, I'm trying to add support for symlinks to untar. I've submitted a few draft PRs, but need to add support for aarch64 and knight ISAs for the changes to M2libc as well as get some feedback.
<stikonas>rkeene: hmm, it seems that failure to create symlink will be fatal
<stikonas>I think a lot of code now relies on that not being fatal
<stikonas>since early kernels that we have don't support symlinks
<stikonas>(perhaps adding a command line flag to ignore symlink failures or replace then with cp would help)
<rkeene>I'm not sure what you mean. It's only fatal if `untar` can't create a symlink if STRICT, since that was the convention in the rest of the codebase.
<rkeene>It's always fatal in the case of a tar file containing a long link since the results would be erroneous extraction (i.e., the wrong output -- not incomplete output) since those use the section to contain the destination of the length -- but it's unlikely that's currently being used anywhere.