X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.5 required=5.0	tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Oleksandr Gavenko <gavenkoa@gmail.com>
Subject: Where is 'getconf' utility?
Date: Sat, 25 Dec 2010 00:55:30 +0200
Lines: 44
Message-ID: <if38d8$c99$1@dough.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I can not found 'getconf' utility in Cygwin.

   http://cygwin.com/cgi-bin2/package-grep.cgi?grep=getconf

I search that same reported in 2003 and found some article
where people have portability issue because utility is missing, like:

 
http://software.intel.com/en-us/blogs/2008/03/05/hacking-threading-building-blocks-into-cygwin-part-2/

'getconf' utility present in POSIX 2003/2008.

I don't know if utility mention in POSIX it must be implemented
in POSIX compliance env.

Also as state cygwin-ug-net-nochunks.html:

   Early on in the development process,
   we made the important design
   decision that it would not be necessary
   to strictly adhere to existing UNIX
   standards like POSIX.1 if it was not
   possible or if it would significantly
   diminish the usability of the tools on the Win32 platform.

As I understand if it will be exist it must included
in 'cygwin' package because this package provide:

   /usr/include/limits.h
...
   /usr/lib/libc.a
... etc.

and I see 'libc6' for Debian also contain /usr/bin/getconf.

In web I found many realisation of this utility
(ever with BSD licence from NetBSD).
They so simple that I think that no any portability
issue occurred.

Does it must be included in Cygwin and make it more POSIX compliance?

--
Best regards!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

