gottfriedleibniz
d79382bbfe
Run codespell on README, build, and source files. ( #824 )
...
* 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
2026-04-10 11:01:50 -07:00
Fish (David B. Trout)
f773ea6c0a
Fix inaccurate "Running on:" Windows name and version
2024-03-08 12:31:20 -08:00
Rhialto The M
8175ad07bc
Fix UB when calling ctype functions. ( #570 )
...
Compiling Hercules with gcc 10 produces many warnings like this one:
```
CC hao.lo
In file included from /usr/include/ctype.h:97,
from hstdinc.h:117,
from hao.c:17:
hao.c: In function 'hao_message':
hao.c:812:37: warning: array subscript has type 'char' [-Wchar-subscripts]
812 | if (isdigit(p[2]))
| ^
```
Gcc should really present these as compile time errors, since each and every
one represents a potential case of Undefined Behaviour.
I changed (almost) all of these calls, except a few where the parameter was an
int that just came from a getc()-type function.
2023-06-12 11:43:50 -07:00
Fish (David B. Trout)
6401129ab4
Fix for "Potential snprintf buffer overflow" #457
...
Closes #457
2021-12-25 20:07:28 -08:00
Fish (David B. Trout)
78a31cc034
Increase size of structs BLOCK_HEADER blkver and adjust $locate cmd
2018-03-08 13:27:58 -08:00
Fish (David B. Trout)
a22e26e108
Use capital (C) in Copyright message
2018-03-08 13:27:34 -08:00
Fish (David B. Trout)
73d5972109
Remove redundant fmt_memsize_rounded and fix qstor_cmd typo
2017-06-06 05:39:16 -07:00
Fish (David B. Trout)
aef707576b
Use ISO/C99 printf/scanf format specifiers (part 2):
...
Previous commit (9daf9f4426 ) should have been labeled "part 1". This commit is part 2 which completes the transition.
NOTE: this commit also fixes "xpndsize_cmd" incorrectly coded with an ARCH_DEP variable type (RADR) which is a huge no-no in a non-ARCH_DEP module.
2015-11-05 19:41:19 -08:00
Fish (David B. Trout)
9daf9f4426
Use ISO/C99 standard printf/scanf format specifiers
2015-11-03 14:51:14 -08:00
Roger Bowler
1fe8b32bef
Reinstate removed copyright attributions
2013-09-06 20:20:37 +02:00
Fish (David B. Trout)
adeff64969
savecore/loadcore/load_main tweaks:
...
savecore/loadcore: issue periodic progress messages
load_main: greatly improve original poor performance
2013-07-11 17:13:25 -07:00
dasdman
815f45d610
Performance: Cacheline and page alignment for REGS and definition of alignment macros.
2013-03-18 01:29:59 -07:00
dasdman
72fda10bbd
Update mainsize and xpndsize postfix handling; allow main memory storage sizes on 4K boundaries for values less than 16M.
2012-09-04 15:39:35 -07:00
Jan Jaeger
439bdbca92
Remove subversion $Id$ tag
...
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Paul Gorlinsky
1a68ab747f
Revert bzero(d,s) to memset(d,0,s).
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7603 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-22 17:17:13 +00:00
Paul Gorlinsky
03a4560910
Update Copyright notices to 2011.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7593 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 22:19:10 +00:00
Paul Gorlinsky
a46e65118b
Increase FD count in windows from 512 to 2048
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7125 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-24 01:35:42 +00:00
Paul Gorlinsky
863e774ef4
Add help for mainsize, xpndsize, defstore. Message cleanup for locate command.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7073 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-07 22:17:36 +00:00
Paul Gorlinsky
597b770a6f
Correct qstor display for odd size amounts. ADD defstor command.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7059 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-06 04:08:50 +00:00
Paul Gorlinsky
a7662eeefb
Enhance hostinfo
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7058 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-06 01:19:31 +00:00
Paul Gorlinsky
c6fbf66c96
Remove unused variable...
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7053 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-05 03:44:56 +00:00
Paul Gorlinsky
433861d550
Enhance hostinfo
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7051 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-05 03:34:55 +00:00
Paul Gorlinsky
5e88f16099
locate command updates
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7047 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-03 22:43:24 +00:00
Paul Gorlinsky
110d454882
32/64 porting issues
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6986 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-26 19:51:18 +00:00
Paul Gorlinsky
ac8122888d
Message cleanup and porting issues
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6985 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-26 19:20:07 +00:00
Paul Gorlinsky
332f1cc653
Message cleanup
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6973 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-25 21:49:42 +00:00
Paul Gorlinsky
22e0abad49
Addition to locate command... REGS
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6969 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-25 18:33:41 +00:00
Paul Gorlinsky
07da7d07b7
Add debugging code the wthreads, disable set_priority call from hsccmd (needs more testing).
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6964 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-23 01:54:31 +00:00
Paul Gorlinsky
dba4e1828f
Correct typos
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6957 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-22 00:38:58 +00:00
Paul Gorlinsky
d29bdeffd7
Split functions from hsccmd.c to hscloc.c, hscemode.c and hscpufun.c
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6955 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-21 23:52:19 +00:00