Re: [hackers] [sbase][PATCH] cp: add -i flag

From: THIBAUT AUBIN <t.aubin20_AT_ejm.org>
Date: Wed, 23 Apr 2025 13:08:00 +0200

Apologies for introducing the `cp_status` oversight that slipped into this
patch revision.
I mistakenly based my assumption on GNU coreutils 9.6’s cp, which violates
POSIX by treating files skipped after a non-affirmative response as errors
instead of successes (exit code 0).

Regarding <stdarg.h> in "util.h", this was omitted in accordance to ISO/IEC
9899:1999 (C99) §7.19.6.8.
A conforming C library must provide the v-printf family (e.g: `vfprintf`,
`vprintf`, `vsprintf`, `vsnprintf` in <stdio.h>, so on most platforms
<stdio.h> ends up including <stdarg.h> (or otherwise `va_list`).
Received on Wed Apr 23 2025 - 13:08:00 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 24 2025 - 05:36:39 CEST