Commit Graph

1607 Commits

Author SHA1 Message Date
d8e032d4b1 Warning flags tweak 2025-03-28 16:47:27 -04:00
58f95bf36a Improve makefile for clang support 2025-03-28 16:46:13 -04:00
c522e025cf Add LDFLAGS 2025-03-28 16:26:49 -04:00
95306d919e Include /usr/local/{include,lib} 2025-03-28 16:23:06 -04:00
b2579636b7 Switch echo -e for printf 2025-03-28 16:16:04 -04:00
4538cbe1b4 Add ({...;}) around conditionals 2025-03-28 16:13:54 -04:00
046bc18151 Fix for missing .tm.o files 2025-03-28 16:08:31 -04:00
ed6418902c Don't force inline C code to use ({...}) 2025-03-28 15:51:15 -04:00
7d80ca48d4 CC -> cc 2025-03-28 15:38:29 -04:00
7648513e7e Tweak format strings 2025-03-28 15:37:18 -04:00
36b439b14a Fix thread local thing for tinycc 2025-03-28 15:34:12 -04:00
583d114012 Add platform check for /proc/self/exe 2025-03-28 15:33:38 -04:00
ca76fb335a Add compiler guards for GCC directives 2025-03-28 15:31:53 -04:00
4de0fee8f6 Default C compiler to cc 2025-03-28 15:23:11 -04:00
aaa89e3dc7 Remove shell 2025-03-28 15:07:28 -04:00
a259384b6b Remove uppercase octal 2025-03-28 15:03:07 -04:00
0519a71688 strcpy() -> strlcpy() 2025-03-28 14:41:21 -04:00
84cb29f819 sprintf() -> snprintf() 2025-03-28 14:39:25 -04:00
29fab56493 Make buffer big enough for NUL byte 2025-03-28 14:33:37 -04:00
85e7fc5d01 Remove dead code 2025-03-28 14:32:45 -04:00
36832052a0 Remove dead code 2025-03-28 14:31:13 -04:00
5ac4ecea38 Minor compat fix 2025-03-28 14:30:42 -04:00
9f0d8d64db Explicit nan type 2025-03-28 14:29:17 -04:00
9638d3b445 Minor compat fix 2025-03-28 14:28:31 -04:00
92e723128e Use getcwd() instead of get_current_dir_name() 2025-03-28 14:27:11 -04:00
670184a02e Remove dead code 2025-03-28 14:24:33 -04:00
faad7fc97d Remove dl lib requirement 2025-03-28 14:22:42 -04:00
2666f19b16 Signal handler is _Noreturn 2025-03-28 14:17:14 -04:00
e861515053 Make getrandom() platform-compatible 2025-03-28 14:16:22 -04:00
ebef00fc37 Explicitly sized literals 2025-03-28 14:10:48 -04:00
ff499f6299 Tweak fwopen() API 2025-03-28 14:08:56 -04:00
dbe89a3b89 Add conditional compilation for fopencookie vs fwopen 2025-03-28 14:05:16 -04:00
af286f7e6f Remove GLOB_TILDE_CHECK for compatiblity 2025-03-28 14:00:14 -04:00
c70b11f01e Compatibility fix for euidaccess 2025-03-28 13:59:05 -04:00
e6c3615681 Remove dead code and add version check for emoji 2025-03-28 13:51:52 -04:00
9bc18cb617 Fix some minor floating point promotion issues 2025-03-28 13:46:35 -04:00
a79b3c2216 Rename timezone to avoid shadowing 2025-03-28 13:45:16 -04:00
a0b18d9867 Inline metamethods 2025-03-28 13:45:09 -04:00
0dd45f93a3 Remove unnecessary check 2025-03-28 13:43:22 -04:00
7b55f180e2 Phase out strchrnul 2025-03-27 20:44:23 -04:00
1147241f18 Use qsort() instead of qsort_r() for portability 2025-03-27 17:42:17 -04:00
a187cca2b8 Add missing include 2025-03-27 17:35:33 -04:00
a5bab914a3 Add missing include 2025-03-27 17:35:04 -04:00
b5c6a3ec62 Remove mempcpy for portability 2025-03-27 17:33:47 -04:00
3c52a75633 Deprecate custom printf specifiers in favor of print() function that
uses _Generic() to generically convert any value to a string or print as
a string.
2025-03-27 17:26:51 -04:00
2186e84de0 Remove dead code for paths 2025-03-27 14:12:35 -04:00
67c22014e7 Add a special case for '???' 2025-03-25 15:47:05 -04:00
1f9147187d Make docstring tests use an actual expression AST instead of text
matching
2025-03-25 15:40:59 -04:00
d88d8648dc Fix path:write() to truncate appropriately 2025-03-25 14:13:10 -04:00
427cc44196 Change capitalization 2025-03-25 14:01:17 -04:00