Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: basesrc
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>).
Home |
Main Index |
Thread Index |
Old Index