Package Details: grip 3.9.0-1

Git Clone URL: https://aur.archlinux.org/grip.git (read-only)
Package Base: grip
Description: A cd-player and ripper for the Gnome desktop
Upstream URL: http://sourceforge.net/projects/grip/
Licenses: GPL
Submitter: jmsq
Maintainer: jmsq
Last Packager: jmsq
Votes: 4
Popularity: 1.072520
First Submitted: 2017-11-29 08:09
Last Updated: 2018-08-22 07:51

Latest Comments

patryk commented on 2018-08-28 16:58

Hi, I have compilation error like below:

"discedit.c: In function ‘SeparateFields’: discedit.c:497:3: error: ‘strncpy’ specified bound 80 equals destination size [-Werror=stringop-truncation] strncpy(spare,g_strstrip(tmp),80); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grip.c: In function ‘DoLoadConfig’: grip.c:1014:15: error: ‘strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation] if(tok) strncpy(ginfo->proxy_server.name,tok,256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors"

It looks like problem related to gcc 8.2 and could help path like :

strncpy(spare,g_strstrip(tmp),80); -> strncpy(spare,g_strstrip(tmp),79); if(tok) strncpy(ginfo->proxy_server.name,tok,256); -> if(tok) strncpy(ginfo->proxy_server.name,tok,255);

regards,