ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] 1.4.7-beta: new features


From: Jérémie Courrèges-Anglas
Subject: Re: [RP] 1.4.7-beta: new features
Date: Tue, 04 Jun 2013 20:48:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix)

Ellington Santos <address@hidden> writes:

> Thanks! It works!

Cool.

> I don't know if you are the maintainer, but sloppy.c gives a warning:

I am - since a few months - but I seldom take a peek at contrib/ (see my
recent mail about genrpbindings).

> address@hidden:~/downloads/rat$ gcc -g -Wall -O2  -I/usr/X11R6/include
> -o sloppy sloppy.c -L/usr/X11R6/lib -lX11
> sloppy.c: In function ‘spawn’:
> sloppy.c:47:7: warning: missing sentinel in function call [-Wformat=]
>        execl("/bin/sh", "sh", "-c", cmd, 0);
>        ^
>
> To correct:
>
> -      execl("/bin/sh", "sh", "-c", cmd, 0);
> +      execl("/bin/sh", "sh", "-c", cmd, (char *)0);
>
> I know it isn't to much, but it's my fifty cents for while. ;-)

Thanks, just pushed this (using (char *)NULL, though).

-- 
Jérémie Courrèges-Anglas
PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494

Attachment: pgpIqJZkZK6wF.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]