Re: [hackers] [sbase] [PATCH] xinstall: Fix broken memmove with -t

From: Laslo Hunhold <dev_AT_frign.de>
Date: Fri, 2 Dec 2016 13:59:16 +0100

On Fri, 2 Dec 2016 13:54:22 +0100
Anselm R Garbe <garbeam_AT_gmail.com> wrote:

Hey Anselm,

> IMHO install has always been a bad idea and a good example of
> violating the Unix philosophy. Hence my suggestion would be to ban it
> completely from sbase.

the reason why it was added in the first place is because it's used in
many places, and it "makes sense" because people are too lazy to call
mkdir -p before trying to install something somewhere, or strip, or
chmod and so on.
My suggestion would be to really think hard which flags we need, which
flags we should just keep as "empty flags" for compatibility (like -s)
and which ones we should remove. Usage across the operating systems is
really different. For instance, the BSD installs don't even have the
t-flag.

Cheers

Laslo

-- 
Laslo Hunhold <dev_AT_frign.de>
Received on Fri Dec 02 2016 - 13:59:16 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 02 2016 - 14:00:21 CET