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

Bug#220910: marked as done (libc6-dev: unistd.h does not define getopt())



Your message dated Sat, 15 Nov 2003 07:54:57 -0800
with message-id <20031115155457.GC21579@marge.v3.ca>
and subject line Bug#220910: libc6-dev: unistd.h does not define getopt()
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Nov 2003 15:40:06 +0000
>From erwan@rail.eu.org Sat Nov 15 09:40:05 2003
Return-path: <erwan@rail.eu.org>
Received: from bretagne.rail.eu.org [80.65.225.51] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AL2Wr-000619-00; Sat, 15 Nov 2003 09:40:05 -0600
Received: by bretagne.rail.eu.org (Postfix, from userid 1000)
	id 822F8D6BC6; Sat, 15 Nov 2003 16:40:03 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Erwan David <erwan@rail.eu.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6-dev: unistd.h does not define getopt()
X-Mailer: reportbug 2.36
Date: Sat, 15 Nov 2003 16:40:03 +0100
Message-Id: <[🔎] 20031115154003.822F8D6BC6@bretagne.rail.eu.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-2.5 required=4.0
	tests=BAYES_99,HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_11_15
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_15 (1.174.2.15-2003-03-30-exp)

Package: libc6-dev
Version: 2.3.2.ds1-10
Severity: normal

man page states getopt is defined in unistd.h, which it is not.


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bretagne 2.4.22-1-k7 #5 Sat Oct 4 14:11:12 EST 2003 i686
Locale: LANG=C, LC_CTYPE=fr_FR@euro

Versions of packages libc6-dev depends on:
ii  libc6                 2.3.2.ds1-10       GNU C Library: Shared libraries an
ii  linux-kernel-headers  2.5.999-test7-bk-9 Linux Kernel Headers for developme

-- no debconf information


---------------------------------------
Received: (at 220910-done) by bugs.debian.org; 15 Nov 2003 15:55:45 +0000
>From jbailey@nisa.net Sat Nov 15 09:55:36 2003
Return-path: <jbailey@nisa.net>
Received: from marge.v3.ca [216.66.20.89] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AL2ls-000812-00; Sat, 15 Nov 2003 09:55:36 -0600
Received: from marge.v3.ca (localhost [127.0.0.1])
	by marge.v3.ca (8.12.10/8.12.10/Debian-0) with ESMTP id hAFFsvU5008111;
	Sat, 15 Nov 2003 07:54:57 -0800
Received: (from jbailey@localhost)
	by marge.v3.ca (8.12.10/8.12.10/Debian-0) id hAFFsvOb008109;
	Sat, 15 Nov 2003 07:54:57 -0800
X-Authentication-Warning: marge.v3.ca: jbailey set sender to jbailey@nisa.net using -f
Date: Sat, 15 Nov 2003 07:54:57 -0800
From: Jeff Bailey <jbailey@nisa.net>
To: Erwan David <erwan@rail.eu.org>, 220910-done@bugs.debian.org
Subject: Re: Bug#220910: libc6-dev: unistd.h does not define getopt()
Message-ID: <20031115155457.GC21579@marge.v3.ca>
References: <[🔎] 20031115154003.822F8D6BC6@bretagne.rail.eu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 20031115154003.822F8D6BC6@bretagne.rail.eu.org>
User-Agent: Mutt/1.5.4i
X-EMSscan-MailScanner: Found to be clean
X-EMSscan-MailScanner-SpamCheck: not spam, SpamAssassin (score=-9.009,
	required 5, BAYES_00 -4.90, USER_AGENT_MUTT -4.11)
Delivered-To: 220910-done@bugs.debian.org
X-Spam-Status: No, hits=-5.7 required=4.0
	tests=EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT
	version=2.53-bugs.debian.org_2003_11_15
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_15 (1.174.2.15-2003-03-30-exp)

On Sat, Nov 15, 2003 at 04:40:03PM +0100, Erwan David wrote:
> Package: libc6-dev
> Version: 2.3.2.ds1-10
> Severity: normal

> man page states getopt is defined in unistd.h, which it is not.

1) Please file bugs against the package they came from.

$ dpkg -S getopt.3
manpages-dev: /usr/share/man/man3/getopt.3.gz

2) Yes it is:

$ cat main.c
#include <unistd.h>
 
int
main (int argc, char**argv)
{
  getopt(argc, argv, "");
  return (0);
}
$ gcc -Wall -W -O2 main.c
$

No warnings, works fine.  Closing this bug.

Tks,
Jeff Bailey



Reply to: