[Top][All Lists]

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

Re: Updating FreeBSD port

From: Mikhail Teterin
Subject: Re: Updating FreeBSD port
Date: Thu, 21 Sep 2006 14:48:22 -0400
User-agent: KMail/1.9.1

середа 20 вересень 2006 21:24, Eric Blake написав:
> Yes.  This program demonstrates why the m4 testsuite fails when compiled
> with a BSD-flavored getopt_long:

You mean, `gmake check'? That did not fail here, when I built it with the 
BSD's getopt_long...

> #include <stdio.h>
> #include "getopt.h"
> int main(int argc, char **argv) {
>   int c = 3;
>   char *v[3] = {"test", "-r", "foo"};
>   getopt(c, v, "r::");

This program is calling getopt(), not the getopt_long(), that gm4 uses. Is 
there a similar difference between GNU and BSD getopt_long() implementations?


reply via email to

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