[haiku-bugs] [Haiku] #6499: getsubopt function missing from C library

  • From: "augiedoggie" <trac@xxxxxxxxxxxx>
  • Date: Wed, 25 Aug 2010 07:29:45 -0000

#6499: getsubopt function missing from C library
---------------------------------+------------------------------------------
   Reporter:  augiedoggie        |        Owner:  axeld         
       Type:  bug                |       Status:  new           
   Priority:  normal             |    Milestone:  R1            
  Component:  System/libroot.so  |      Version:  R1/Development
   Keywords:                     |   Blocked By:                
Has a Patch:  0                  |     Platform:  All           
   Blocking:                     |  
---------------------------------+------------------------------------------
 The getsubopt function is missing from our C library.  The source for this
 function was in our repository at one point and was removed for some
 reason during one of the locale merges.(Even when it was in the source
 tree I don't believe it was being included in the library)


 [http://dev.haiku-
 
os.org/browser/haiku/trunk/src/system/libroot/posix/glibc/stdlib/getsubopt.c?rev=33670
 the old version from our source]

 [http://dev.haiku-
 
os.org/browser/haiku/trunk/src/system/libroot/posix/glibc/stdlib/stdlib.h?rev=33670#L861
 the corresponding header]


 The header file has it inside an ifdef for XSI optional components but it
 appears to have been made part of the 'Base' posix spec
 [http://www.opengroup.org/onlinepubs/9699919799/functions/getsubopt.html
 the getsubopt spec page]

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6499>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: