Resolve some GCC warnings about uncheck return values from std C functions

write()
chsize()
14 jobs for new_file_base in 8 minutes and 59 seconds (queued for 9 seconds)
latest
Status Name Job ID Coverage
  Build
failed jsdoor-freebsd #26736
FreeBSD

00:00:38

passed jsdoor-linux #26737
Linux

00:06:01

passed jsdoor-windows #26739
FreeBSD

00:02:35

failed sbbs-freebsd #26731
FreeBSD

00:00:45

passed sbbs-linux #26726
Linux

00:08:56

passed sbbs-windows #26729
Windows

00:05:37

passed sexpots-freebsd #26738
FreeBSD

00:00:42

passed sexpots-linux #26727
Linux

00:00:23

passed sexpots-windows #26730
Windows

00:00:37

passed syncdraw-freebsd #26734
FreeBSD

00:01:03

passed syncdraw-linux #26735
Linux

00:00:55

passed syncterm-freebsd #26732
FreeBSD

00:01:58

passed syncterm-linux #26728
Linux

00:02:44

passed syncterm-windows #26733
FreeBSD

00:02:58

 
Name Stage Failure
failed
jsdoor-freebsd Build
checking whether the compiler supports -Werror=return-type... yes
checking whether ld has archive extraction flags... yes
checking that static assertion macros used in autoconf tests work... yes
checking for 64-bit OS... yes
checking for Python version >= 2.5 but not 3.x... configure: error: Python 2.5 or higher (but not Python 3.x) is required.
gmake[1]: *** [GNUmakefile:74: ../build/../../src/../3rdp/clang.freebsd.amd64.release/mozjs/lib/libmozjs185-1.0.a] Error 1
gmake[1]: Leaving directory '/var/tmp/gitlab_runner/builds/TkL89aUh/4/main/sbbs/3rdp/build'
gmake: *** [/var/tmp/gitlab_runner/builds/TkL89aUh/4/main/sbbs/src/sbbs3/../build/Common.gmake:521: js] Error 2
ERROR: Job failed: exit status 1
failed
sbbs-freebsd Build
checking whether the compiler supports -Werror=return-type... yes
checking whether ld has archive extraction flags... yes
checking that static assertion macros used in autoconf tests work... yes
checking for 64-bit OS... yes
checking for Python version >= 2.5 but not 3.x... configure: error: Python 2.5 or higher (but not Python 3.x) is required.
gmake[1]: *** [GNUmakefile:74: ../build/../../src/../3rdp/clang.freebsd.amd64.release/mozjs/lib/libmozjs185-1.0.a] Error 1
gmake[1]: Leaving directory '/var/tmp/gitlab_runner/builds/TkL89aUh/1/main/sbbs/3rdp/build'
gmake: *** [/var/tmp/gitlab_runner/builds/TkL89aUh/1/main/sbbs/src/sbbs3/../build/Common.gmake:521: js] Error 2
ERROR: Job failed: exit status 1