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

Bug#203412: Patch for _XOPEN_VERSION bug



tags 203412 + patch
thanks, control, and have a nice day

Included is a patch to fix this bug so that _XOPEN_VERSION will be 600
when __USE_XOPEN2K is defined.

cd754038fdc73d5a18f40a93d951832c *unistd.h.xopen_ver_600.diff

-- 
Brian M. Carlson <sandals@crustytoothpaste.ath.cx> 0x560553e7
"Let us think the unthinkable, let us do the undoable. Let us prepare
 to grapple with the ineffable itself, and see if we may not eff it
 after all." --Douglas Adams
*** /usr/include/unistd.h	Fri Jul 18 00:19:57 2003
--- unistd.h	Wed Jul 30 00:05:36 2003
***************
*** 56,65 ****
  #define _POSIX2_LOCALEDEF       200112L
  
  /* X/Open version number to which the library conforms.  It is selectable.  */
! #ifdef __USE_UNIX98
! # define _XOPEN_VERSION	500
  #else
! # define _XOPEN_VERSION	4
  #endif
  
  /* Commands and utilities from XPG4 are available.  */
--- 56,69 ----
  #define _POSIX2_LOCALEDEF       200112L
  
  /* X/Open version number to which the library conforms.  It is selectable.  */
! #ifdef __USE_XOPEN2K
! # define _XOPEN_VERSION	600
  #else
! # ifdef __USE_UNIX98
! #  define _XOPEN_VERSION	500
! # else
! #  define _XOPEN_VERSION	4
! # endif
  #endif
  
  /* Commands and utilities from XPG4 are available.  */

Attachment: pgpE5iPJSW_OA.pgp
Description: PGP signature


Reply to: