https://gitlab.synchro.net/main/sbbs/-/commit/33db719f02744deacab9d518
Modified Files:
src/sbbs3/upload.cpp
Log Message:
bulkupload(): skip directory entries that can't be stat'd
A self-referencing symlink (sbbs_src -> sbbs_src) in a file directory
made stat() fail with ELOOP: isdir() returned false, so the entry wasn't skipped, and flength()'s -1 return was passed to byte_estimate_to_str()
as a uint64_t, displaying the file's size as "16384.0P" in the bulk
upload prompt.
Skip any entry whose length can't be determined (as it couldn't be
uploaded anyway), and reuse that length in the prompt.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net