Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portability improvements, cleanup, and bug fixes #36

Merged

Commits on Oct 27, 2024

  1. Portability improvements, cleanup, and bug fixes

    * Add or fix support for building on Solaris, illumos, Linux/musl, NetBSD, OpenBSD, IBM AIX, IBM OS/400 (PASE), Cygwin, and Haiku, which weren't previously cleanly building.
    * Use `pkg-config` when available to determine CFLAGS and libraries.
    * Initialize some variables in `supdupd`.
    * Fix off-by-one error in `supdup`.
    * Suppress spurious error when Chaosnet bridge socket is missing.
    * Create `README.md`.
    * Cleanup Makefile.
    * Properly detect bad ports (negative or >65535).
    * Fix non-ANSI function declarations.
    * Add `*.ln` (*Lint*) files, `supdupd`, and `compile_commands.json` to `.gitignore`.
    * Create `.gitattributes`.
    * Ensure file handle is valid (non-negative) before closing.
    * Correct various spelling errors.
    * Tested build under Oracle Solaris, OpenIndiana illumos, Linux/musl, Linux/glibc, IBM AIX, IBM OS/400 (PASE), Haiku, FreeBSD, OpenBSD, NetBSD, DragonFly BSD, Cygwin, and Apple macOS.
    * Compilation tested and working with PCC, GCC, Clang, Xcode, IBM XL C, IBM Open XL C, Oracle Studio C, NVIDIA HPC SDK C, Portland Group C, and DMD ImportC.
    * Passes Cppcheck and Clang Analyzer.
    * Closes: PDP-10#25, PDP-10#35, PDP-10#38
    
    Signed-off-by: Jeffrey H. Johnson <trnsz@pobox.com>
    johnsonjh committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    2020c0c View commit details
    Browse the repository at this point in the history