summaryrefslogtreecommitdiff
path: root/src/uchar
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-31 13:24:56 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-31 13:24:56 -0500
commit4b43b375b7abae22070cd86bfc26a8222233150e (patch)
tree6ff165b17879e80300cb6d05b5537a65c82c2dc7 /src/uchar
parentab3c589cd14c2b7efd79c89fd75ea35edcf9edff (diff)
check for overlapping pointers
Diffstat (limited to 'src/uchar')
-rw-r--r--src/uchar/c16rtomb.c1
-rw-r--r--src/uchar/c32rtomb.c1
-rw-r--r--src/uchar/mbrtoc16.c1
-rw-r--r--src/uchar/mbrtoc32.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/uchar/c16rtomb.c b/src/uchar/c16rtomb.c
index a4e522bc..cb11c989 100644
--- a/src/uchar/c16rtomb.c
+++ b/src/uchar/c16rtomb.c
@@ -4,6 +4,7 @@
size_t c16rtomb(char * restrict s, char16_t c16, mbstate_t * restrict ps)
{
SIGNAL_SAFE(0);
+ /* TODO: overlap */
(void)s; (void)c16; (void)ps;
diff --git a/src/uchar/c32rtomb.c b/src/uchar/c32rtomb.c
index 6c0d29b8..34061679 100644
--- a/src/uchar/c32rtomb.c
+++ b/src/uchar/c32rtomb.c
@@ -4,6 +4,7 @@
size_t c32rtomb(char * restrict s, char32_t c32, mbstate_t * restrict ps)
{
SIGNAL_SAFE(0);
+ /* TODO: overlap */
(void)s; (void)c32; (void)ps;
diff --git a/src/uchar/mbrtoc16.c b/src/uchar/mbrtoc16.c
index b650841d..786880b2 100644
--- a/src/uchar/mbrtoc16.c
+++ b/src/uchar/mbrtoc16.c
@@ -4,6 +4,7 @@
size_t mbrtoc16(char16_t * restrict pc16, const char * restrict s, size_t n, mbstate_t * restrict ps)
{
SIGNAL_SAFE(0);
+ /* TODO: overlap */
(void)pc16; (void)s; (void)n; (void)ps;
diff --git a/src/uchar/mbrtoc32.c b/src/uchar/mbrtoc32.c
index af825b46..c4e4fc75 100644
--- a/src/uchar/mbrtoc32.c
+++ b/src/uchar/mbrtoc32.c
@@ -4,6 +4,7 @@
size_t mbrtoc32(char32_t * restrict pc32, const char * restrict s, size_t n, mbstate_t * restrict ps)
{
SIGNAL_SAFE(0);
+ /* TODO: overlap */
(void)pc32; (void)s; (void)n; (void)ps;