Hi,
On 2020-09-06 09:25, Florian Weimer wrote:
> * John Scott:
>
> > #define _POSIX_C_SOURCE 200809L
> > #include
> > #include
> > #include
> > #include
> > int main(int argc, char *argv[]) {
> > int opt;
> > while((opt = getopt(argc, argv, "a:")) != -1) {}
> > assert(optarg != NU
* John Scott:
> #define _POSIX_C_SOURCE 200809L
> #include
> #include
> #include
> #include
> int main(int argc, char *argv[]) {
> int opt;
> while((opt = getopt(argc, argv, "a:")) != -1) {}
> assert(optarg != NULL);
> }
>
> If this is invoked as './a.out -afoo', the inner as
Package: libc6
Version: 2.31-3
Severity: normal
X-Debbugs-Cc:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
I suspect this is an upstream problem but I'm reporting it here
first per their policy [1] since I'm unsure.
Both POSIX (including the Issue 8 draft) and the GNU C Library
manual say th
3 matches
Mail list logo