diff options
author | June McEnroe <june@causal.agency> | 2022-03-16 18:35:56 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-03-16 18:37:31 -0400 |
commit | c5ce5ebf4dd599345c50e5c1267f0a7bbaa3050b (patch) | |
tree | 907d17f50b74b818f7082853019c5e0f54548e56 /port/wcwidth/wcswidth.c | |
parent | Remove -j4 from ./Plan (diff) | |
download | src-c5ce5ebf4dd599345c50e5c1267f0a7bbaa3050b.tar.gz src-c5ce5ebf4dd599345c50e5c1267f0a7bbaa3050b.zip |
Remove wcwidth port
DYLD_FORCE_FLAT_NAMESPACE no longer exists in macOS 12 so this approach doesn't work anymore. Moved to <https://git.causal.agency/jorts/tree/wcwidth> and compiled into <https://git.causal.agency/jorts/tree/ncurses>.
Diffstat (limited to '')
-rw-r--r-- | port/wcwidth/wcswidth.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/port/wcwidth/wcswidth.c b/port/wcwidth/wcswidth.c deleted file mode 100644 index 5c8a5a4d..00000000 --- a/port/wcwidth/wcswidth.c +++ /dev/null @@ -1,8 +0,0 @@ -#include <wchar.h> - -int wcswidth(const wchar_t *wcs, size_t n) -{ - int l=0, k=0; - for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); - return (k < 0) ? k : l; -} |