diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-12 04:21:13 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-12 04:30:40 +0000 |
| commit | 72eed0b12c8f944d6906b8b89545bc36f865ad0f (patch) | |
| tree | 746f2ab79b0cdf3d4ae271ff2e813ff08df50c5f /util/sbase/uudecode.1 | |
| parent | bbb8825553641f598ce120d3ffd3beb360e60d09 (diff) | |
util/spkmodem-recv: further portability / cleanup
i used a bunch of global variables. that's gone.
added proper externs, including for errno. lots of
old unix systems require this. this version should
be perfectly polished and portable now.
all status is now handled in a struct, making the
code a bit easier to understand, because the variables
now are clearly pertinent to the state of the decoder,
rather than being seemingly random.
some indentation reduced.
also cleaned up ftell/feof usage again. the new code
is a bit more robust when dealing with piped input(which
is literally what this program takes, exclusively)
i started my cleanup of this tool from GNU GRUB in 2023.
i finished it today.
also the Openbsd pledge is more portable now (code made
to compile on pre-pledge openbsd as well)
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/sbase/uudecode.1')
0 files changed, 0 insertions, 0 deletions
