diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-10-20 12:21:32 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-10-20 12:21:32 +0200 |
commit | daddaad9c2261547f4ef318efa958e78dddf1c06 (patch) | |
tree | cd656f2b0774d5f0cd0be13055220c6ec699f098 /src/tc-io.c | |
parent | 1c4b96855c415c48c0b3281b801c2e89fb935061 (diff) | |
parent | 677e5b0b948fe62d8017c198c57049275f6fe61a (diff) |
Update upstream source from tag 'upstream/4.24'
Update to upstream version '4.24'
with Debian dir 0cdd704e90221fada3fe68da281545e331045b9b
Diffstat (limited to 'src/tc-io.c')
-rw-r--r-- | src/tc-io.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tc-io.c b/src/tc-io.c index 77baf01..024a46a 100644 --- a/src/tc-io.c +++ b/src/tc-io.c @@ -28,6 +28,16 @@ static void sf(void) close(src); } +static void t_getcwd(void) +{ + hxmc_t *s = nullptr; + if (HX_getcwd(&s) > 0) + printf("cwd1: >%s<\n", s); + HXmc_setlen(&s, 0); + if (HX_getcwd(&s) > 0) + printf("cwd2: >%s<\n", s); +} + int main(void) { size_t z; @@ -55,5 +65,7 @@ int main(void) fprintf(stderr, "copy_file ok\n"); unlink("tciocopy.txt"); } + + t_getcwd(); return 0; } |