Re: [fossil-users] strcpy() vs strlcpy()?

2014-04-23 Thread Eduardo Morras
On 22 Apr 2014 21:35:39 -0600 Andy Bradford amb-fos...@bradfords.org wrote: Hello, As of [2aaae64a59] compiling Fossil on OpenBSD results in a warning: bld/name.o(.text+0x11a): In function `test_ambiguous_cmd': ./src/name.c:742: warning: strcpy() is almost always misused, please use

Re: [fossil-users] strcpy() vs strlcpy()?

2014-04-23 Thread Andy Bradford
Thus said Eduardo Morras on Wed, 23 Apr 2014 08:49:52 +0200: Don't know, but strlcpy() exists only in *BSD libc, but no in GNU/Linux glibc or Windows. Sure enough, guess I should RTFM a bit more. I looks like this isn't exactly an option then, and the strlcpy() that are used in

[fossil-users] strcpy() vs strlcpy()?

2014-04-22 Thread Andy Bradford
Hello, As of [2aaae64a59] compiling Fossil on OpenBSD results in a warning: bld/name.o(.text+0x11a): In function `test_ambiguous_cmd': ./src/name.c:742: warning: strcpy() is almost always misused, please use strlcpy() Is this something to be concerned about for Fossil? I know there are