bug-gnulib
[Top][All Lists]
Advanced

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

Re: argmatch: use void* for raw memory pointers


From: Akim Demaille
Subject: Re: argmatch: use void* for raw memory pointers
Date: Thu, 18 Apr 2019 22:59:52 +0200

> Le 18 avr. 2019 à 22:41, Akim Demaille <address@hidden> a écrit :
> 
> diff --git a/lib/argmatch.c b/lib/argmatch.c
> index b9a3e400c..434708504 100644
> --- a/lib/argmatch.c
> +++ b/lib/argmatch.c
> @@ -96,6 +96,8 @@ argmatch (const char *arg, const char *const *arglist,
>     {
>       if (!strncmp (arglist[i], arg, arglen))
>         {
> +          fprintf (stderr, "'%s'(%ld) vs. '%s'(%ld)\n",
> +                   arglist[i], strlen (arglist[i]), arg, arglen);
>           if (strlen (arglist[i]) == arglen)
>             /* Exact match found.  */
>             return i;

This part, of course, has nothing to do here, and is removed
from the proposal.




reply via email to

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