- Feb 14, 2022
-
-
Deucе authored
-
- Feb 12, 2022
-
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Rob Swindell authored
warning C4244: '=': conversion from 'double' to 'uint64_t', possible loss of data
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
This is a millisecond timer that tries to avoid floating-point operations.
-
Rob Swindell authored
-
Rob Swindell authored
-
Deucе authored
Now it should keep working after 24 days.
-
Deucе authored
than the int supports, it's set to 0x80000000 to indicate overflow. msclock() is *always* overflowing, and clock_t is only 32-bits on some platforms (specifically FreeBSD). To "avoid" problems, just keep subtracting UIN32_MAX from the value until it's less than INT_MAX then cast. This function is, of course, terrible and shouldn't actually be used, but it should at least sorta kinda workish.
-
Deucе authored
At least one of MAP_ANON, MAP_GUARD, MAP_PRIVATE, MAP_SHARED, or MAP_STACK must be specified.
-
- Feb 11, 2022
- Feb 10, 2022
-
-
Deucе authored
-
- Jan 23, 2022
-
-
Rob Swindell authored
-
Rob Swindell authored
-
- Jan 02, 2022
-
-
Rob Swindell authored
-
- Dec 03, 2021
-
-
Rob Swindell authored
For some reason this deprecation warning is being treated as an error (and only with newer Windows platform SDKs). Just disable this warning for the GetVersionEx line. See https://stackoverflow.com/questions/22303824/warning-c4996-getversionexw-was-declared-deprecated for details.
-
- Nov 23, 2021
-
-
Rob Swindell authored
This change needed to build dosxtrn.exe (again).
-
- Oct 31, 2021
-
-
Rob Swindell authored
Now correctly rejects UTF-8 encoded Unicode surrogates and does not support 5 and 6 byte UTF-8 encodings. For reference: https://github.com/openssl/openssl/commit/ba64e5a92a6f009e311ad1c3565817820a1632a4
-
- Oct 19, 2021
-
-
Rob Swindell authored
Per https://man7.org/linux/man-pages/man3/pthread_yield.3.html This call is nonstandard, but present on several other systems. Use the standardized sched_yield(2) instead. Should fix #299.
-
- Sep 24, 2021
-
-
Rob Swindell authored
write() chsize()
-
- Jun 06, 2021
-
-
Rob Swindell authored
Fix FreeBSD build error: dirwrap.c:760:13: error: use of undeclared identifier 'GLOB_PERIOD' Not sure how glob() on FreeBSD treats "dot files" or how to control that.
-
Rob Swindell authored
glob() by default, doesn't include 'dot files', so include the GLOB_PERIOD flag so that when deleting all files in a directory (e.g. node1/temp/*), any files starting with a dot will be deleted too.
-
- May 22, 2021
-
-
Rob Swindell authored
Now IS_WHITESPACE() will return true for that char and this allows things like truncsp() to truncate trailing white-space (e.g. from a FILE_ID.DIZ), even if it contains a terminating 0xFF character for some unknown reason.
-
Deucе authored
-
- May 20, 2021
-
-
Rob Swindell authored
SBBSecho uses mkstemp() now (instead of tempnam()) - so we need this POSIX function wrapper for Windows builds to succeed.
-
- May 14, 2021
-
-
Deucе authored
-
- May 05, 2021
-
-
Rob Swindell authored
One in an error path (CID 331353), the other not.
-
- May 04, 2021
-
-
Rob Swindell authored
-
Rob Swindell authored
This also exposed problems with the find_section() utility function: when the "found" section was actually empty and the next immediate line in the ini file was the beginning of a new section, the "keys" indexed would actually be the next section. Now fixed.
-
Rob Swindell authored
-
- May 01, 2021
-
-
Deucе authored
Pretend we are RipTel v3. Implement $PCB$ Implement click actions Fix M areas.
-
- Apr 16, 2021
-
-
Rob Swindell authored
Return int value for "string not found" rather than crash/segfault. Seems the better option.
-
- Apr 10, 2021
-
-
Deucе authored
-