[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getopt broken
From: |
Sergey Poznyakoff |
Subject: |
Re: getopt broken |
Date: |
Sun, 27 Sep 2009 01:20:00 +0300 |
Eric Blake <address@hidden> ha escrit:
> But I doubt that interface has ever changed signature in glibc, and is not
> available anywhere else.
There are too many possibilities here. E.g. the function takes as its
last argument a struct _getopt_data, which is declared in getopt_int.h
This structure in libc may have different size, have additional fields,
etc, etc. In short, I believe it is too risky to suppose we use the
same definitions as libc.
Regards,
Sergey