Subject: Re: CVS commit: basesrc
To: None <hubertf@netbsd.org>
From: Luke Mewburn <lukem@goanna.cs.rmit.edu.au>
List: source-changes
Date: 12/09/1999 08:27:04
Hubert Feyrer writes:
>  - Only use strlcpy() on systems that have it, i.e. >=1.4K. This makes
>    this working again on 1.4 systems.

i don't think that your `fix' is really that acceptable. the obvious
workaround for earlier systems using code from -current is to supply
the missing functions from libc (e.g, strlcpy()) and compile them into
your 1.4 source.

if we used this workaround for other user programs we'd want to use in
earlier releases we'd end up with a horrible unmaintainable mess of
spaghetti #ifdefs...

please revert this change, and on your 1.4 systems where you need this
program just drop in libc/string/strlcpy.c (possibly with the
appropriate change to <string.h>).