Edit

IABSD.fr/ports/sysutils/cfengine/patches/patch-libcompat_strchrnul_c

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2016-01-22 11:38:23
    Hash : b142a7ba
    Message : update to cfengine-3.7.2, from maintainer Rodrigo Mosconi

  • sysutils/cfengine/patches/patch-libcompat_strchrnul_c
  • $OpenBSD: patch-libcompat_strchrnul_c,v 1.1 2016/01/22 11:38:23 sthen Exp $
    --- libcompat/strchrnul.c.orig	Wed Jan 20 01:28:25 2016
    +++ libcompat/strchrnul.c	Wed Jan 20 01:29:38 2016
    @@ -12,7 +12,7 @@ char *strchrnul(const char *s, int c)
     
         if (p == NULL)
         {
    -        return s + strlen(s);
    +        return (char *)s + strlen(s);
         }
         else
         {