1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-27 14:50:23 +05:30
Commit Graph

183 Commits

Author SHA1 Message Date
8ca528509b
safe_mem.h: check for OpenBSD correctly 2024-03-26 21:36:38 +03:00
01b13c7443
safe_mem.h: use correct header 2024-03-25 00:28:11 +03:00
1a0095e6d0
C: add be_to_le_ptr.h 2024-03-24 22:10:32 +03:00
f4fbea4850
safe_mem.h: fix secure_erase macro 2024-03-24 21:04:39 +03:00
471e2a8583
safe_mem.h: simplify #if defined(...) to #ifdef ... 2024-03-24 19:45:53 +03:00
0f40878fbb
safe_mem.h: fix the condition of memset_s availability 2024-03-24 18:09:40 +03:00
429d34fdff
safe_mem.test.c: remove STDERR_FILENO 2024-03-24 18:08:38 +03:00
324d23d6a6
safe_mem.h: add missing inclusions of string.h 2024-03-24 17:29:04 +03:00
c2b3caf728
opt_int_div.*: label as a header-only library 2024-03-24 16:02:31 +03:00
76ec85397a
safe_mem.test.c: fix the file name in the note 2024-03-24 15:58:19 +03:00
eb0c6e0dd9
C: add mem/safe_mem.* 2024-03-24 15:54:04 +03:00
df611cf964
opt_int_div.h: use operator != instead of ^ 2024-03-24 13:25:43 +03:00
8f402a5ac9
C: add CC0-LICENSE.c 2024-03-24 10:58:07 +03:00
419ebe2cba
generate_C_lang_token.py: add an important TODO 2024-03-22 08:25:48 +03:00
3771d85aef
bytebeat-render.js: change to-do style 2024-03-17 19:16:41 +03:00
a61e910a59
str_replace.*: fix the count bug, add a constant 2024-03-16 15:24:22 +03:00
e0d686f033
str_replace.c: fix the typo in perror call 2024-03-16 14:07:41 +03:00
f2746abffb
countLettersInTextFile.d: improve the output format 2024-03-14 22:10:17 +03:00
4a81d7cd47
countLettersInTextFile.d: use argv[1] instead of "file.txt" 2024-03-14 22:09:50 +03:00
c8e2aa3308
asprintf.c: fix grammar 2024-03-13 22:40:19 +03:00
4bbb0b6c5e
asprintf.c: test: fix function usage and asserts 2024-03-13 22:33:45 +03:00
ad2babeb25
asprintf.c: remove the ending superfluous comma in a macro 2024-03-13 22:25:45 +03:00
4ce2d32a8a
freadln.c: fix the STDIN input testing code 2024-03-13 08:22:33 +03:00
d422049dc3
freadln.c: add missing #define 2024-03-13 08:19:40 +03:00
282670f23f
fwrite_le.c: reformat 2024-03-10 16:20:25 +03:00
d1a6bb91fa
freadln.c: reformat 2024-03-10 15:46:24 +03:00
06c5330a67
freadln.*: add testing against unexpected STDOUT flushing 2024-03-10 15:40:51 +03:00
53d0b8908d
freadln.*: handle EOF in a special way to indicate EOF 2024-03-10 15:38:14 +03:00
3638c9eb7c
freadln.*: fix error handling logic 2024-03-10 15:25:59 +03:00
18af3053f3
freadln.c: set errno to EINVAL if *output is NULL 2024-03-10 15:06:20 +03:00
ec06d2165b
freadln.c: flush stdout only if file is stdin 2024-03-10 14:50:42 +03:00
d7be00df1f
freadln.c: improve the test, make last TODO optional 2024-03-10 14:47:41 +03:00
1a69cfa4ad
freadln.c: add a comment to indicate initial length 2024-03-10 14:40:02 +03:00
e8d66db238
freadln.*: implement reading lines from arbitrary file 2024-03-10 14:39:10 +03:00
7d223427b6
freadln.h: use intuitive enum values 2024-03-10 14:19:29 +03:00
9a2979efe5
freadln.c: add a test 2024-03-10 14:14:38 +03:00
9d47a1d50b
freadln.c: improve function I/O logic 2024-03-10 14:14:02 +03:00
8025dbfb61
freadln.c: add missing semicolons 2024-03-10 14:12:51 +03:00
139afe969b
freadln.c: add flushing of STDOUT 2024-03-10 14:12:05 +03:00
692eb05bf5
freadln.c: add new TODOs 2024-03-10 14:08:28 +03:00
c09c9481c9
freadln.h: fix prototype mismatch 2024-03-10 13:55:21 +03:00
df477f5d44
reverse-ramdisk.c: extend and improve the comment about compilers 2024-03-10 13:20:06 +03:00
cccdc5087d
reverse-ramdisk.c: change warning style 2024-03-10 12:19:18 +03:00
c0b07642c4
static-vs-dynamic-mem-alloc.c: make sure to avoid macro integer overflow 2024-03-10 11:54:20 +03:00
df8d36b8d5
str_replace.c: change to-do style 2024-03-10 11:52:23 +03:00
34832e541b
reverse-ramdisk.c: change to-do style 2024-03-10 11:51:09 +03:00
2ac97f81a7
freadln.c: change to-do style 2024-03-10 11:50:09 +03:00
5b4b783791
git_commit_simulator.py: add TODO for interactive mode 2024-03-10 11:48:04 +03:00
dc7e42dd73
git_commit_simulator.py: fix extra newline for single-line messages 2024-03-10 10:57:39 +03:00
0957b5dc49
opt_int_div.h: make test precision limit optional 2024-03-09 19:29:11 +03:00