summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-01-17 11:20:17 -0500
committerAndrew Opalach <andrew@akon.city> 2025-01-17 11:20:17 -0500
commit209310c561d89c9ed2040aa7053b320d32cc393c (patch)
treecb26e18d275fa1d37afa903134e90e7c4c260484 /scripts
parent27b5e13d75c58d5e32538a4b5aef65ab86f4bb38 (diff)
downloadlibalabaster-209310c561d89c9ed2040aa7053b320d32cc393c.tar.gz
libalabaster-209310c561d89c9ed2040aa7053b320d32cc393c.tar.bz2
libalabaster-209310c561d89c9ed2040aa7053b320d32cc393c.zip
all: Consider types and numerical limits
- Vastly improve tests. - Change array/str/wstr APIs. - Use ptrdiff_t instead of size_t in ring buffer. - Make random seed thread-local. - Log now uses a static thread-local buffer instead of a malloc'd buffer. Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/line_count.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/line_count.sh b/scripts/line_count.sh
index 9b46c9e..a6ac787 100755
--- a/scripts/line_count.sh
+++ b/scripts/line_count.sh
@@ -1,2 +1,3 @@
#! /usr/bin/env sh
-find ./src ./include -type f -exec wc -l {} +
+export LC_ALL="C"
+find ./src ./include -type f -exec sloccount {} +