* chore: run codespell on source/header files
Fixes most reported typos discovered by codespell (while trying to be
unopinionated about American vs. British English).
* chore: run codespell on build/readme files
. Fix compiler warnings on macOS.
. Fix compiler warnings on GCC 12.
. Use performance cores on Apple Silicon. (Enrico Sorichetti)
. Save maxprio/minprio in sysblk so impl() doesn't clobber them. (Tyler Mitchell)
. Handle non-GNU Linuxes properly. (Tyler Mitchell)
. getprotobyname: some Linuxes want "tcp" not "TCP". (Tyler Mitchell)
. Fix for occasional crash on exit. (Tyler Mitchell):
In POSIX, detach_thread() is neither needed nor valid
after a return from join_thread(). When the latter returns,
the thread has exited and its resources are released,
so detach_thread() not only is not needed, but references
deallocated resources. This can be harmless, but not always.
1. Define tape RDC (Read Device Characteristics) structure and use it.
2. Attempt to address/fix 3590 large block support via new RDC block size fields. (DCE info still appears to be incorrect. Most everything else looks okay though.)
3. Attempt to lay groundwork for possible future support for 3590 CB and CF (and 3E which seems to follow CF) CCW opcodes. (Implementation is unfortunately unlikely however, due to lack of documentation.)
1, Use gstat2str() in message HHC00211.
2. Fix "invalid argument" bug in read_scsitape()'s read_tape() call:
a. get_max_blocksize() determines max supported block size for drive.
b. plugged into dev->bufsize by finish_scsitape_open().
c. read_tape() (in read_scsitape()) now uses dev->bufsize, not MAX_BLKLEN.
3. fixed devinit issue in tapedev_init_handler().
4. reset dev->sstat corrections in light of new --online option.
Fix should hopefully close GitHub Issue #107.
New option "--online" to test GMT_ONLINE bit for SCSI tape mounts. Also new "-d" (debug) option to enable display of status bits during open process. Refer to updated documentation for further details.
This hopefully closes issue #97.
Open questions: named vs unnamed structures
what field go in device specfic structures vs general structure
use of malloc vs static
naming convention
git-svn-id: file:///home/jj/hercules.svn/trunk@7702 956126f8-22a0-4046-8f4a-272fa8102e63
Make TRACE/ASSERT/VERIFY macros independent of (but compatible with) DEBUG build setting while still allowing individual source member to override the default setting/handling if so desired. I'm hoping this makes the use of TRACE, ASSERT and VERIFY macros easier for everyone.
git-svn-id: file:///home/jj/hercules.svn/trunk@7302 956126f8-22a0-4046-8f4a-272fa8102e63
robustness. And solved a segmentation fault in the lsdep command.
git-svn-id: file:///home/jj/hercules.svn/trunk@6081 956126f8-22a0-4046-8f4a-272fa8102e63