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

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
Date: Sun, 20 Apr 2025 09:23:47 +0200

On Sun, Apr 20, 2025 at 01:25:33AM +0200, THIBAUT AUBIN wrote:
> Thank you Quentin for raising the POSIX issue.
>
> I corrected the code to address this, the behavior is now:
> ^[yY] -> affirmative
> ^[^yY] -> negative
> e.g: cp -i: If the response from the standard input is affirmative, the
> copy shall be attempted; otherwise, it shall not.

Applied with a minor modification to include stdarg.h in util.h
because the xvprintf declaration requires it. Thanks!

Regards,
Roberto Vargas
Received on Sun Apr 20 2025 - 09:23:47 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 20 2025 - 09:24:41 CEST