Re: Coverity warning: strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);

2010-05-01 Thread Matthew Jacob
On 5/1/2010 3:35 PM, Alfred Perlstein wrote: I notice this code sprinkled through the sources: strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); This trips up coverity because it does not know for sure that the string returned by cam_sim_name() is going to be DEV_IDLEN-1 characters long.

Coverity warning: strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);

2010-05-01 Thread Alfred Perlstein
I notice this code sprinkled through the sources: strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); This trips up coverity because it does not know for sure that the string returned by cam_sim_name() is going to be DEV_IDLEN-1 characters long. Should we switch these calls to strlcpy? Is t

GSoC: Libpkg, package tools

2010-05-01 Thread David Forsythe
Hi all, I'm David Forsythe, and I'll be working on completing libpkg (started during Summer of Code 2009) and putting together some production ready package tools. My mentor will be Tim Kientzle. I started work on the library during last years SoC with Tim as my mentor. I've been doing work on

Re: GSoC: Making ports work with clang

2010-05-01 Thread Dominic Fandrey
Hello, On 01/05/2010 13:04, Andrius Morkūnas wrote: > I'm Andrius Morkūnas from Lithuania. My Summer of Code proposal was > accepted > this year and be working on my project, which is to make clang and ports to > be friendly with each other. I'm the maintainer of games/ioquake3 and games/ioquake3

GSoC: Making ports work with clang

2010-05-01 Thread Andrius Morkūnas
Hi, I'm Andrius Morkūnas from Lithuania. My Summer of Code proposal was accepted this year and be working on my project, which is to make clang and ports to be friendly with each other. My main goals are: * Create an easy way to set ports compiler to either clang or gcc (and no, CC=clang is not