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 strlcpy()
> 
> Is this  something to be  concerned about for  Fossil? I know  there
> are other parts of the Fossil build that  use strcpy() but this is
> the first time Fossil proper has used it. Would it be better to use
> strlcpy()?  

Don't know, but strlcpy() exists only in *BSD libc, but no in GNU/Linux glibc 
or Windows. 

> Thanks,
> 
> Andy


---   ---
Eduardo Morras <emorr...@yahoo.es>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to