delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/02/20/13:15:03

Sender: rich AT delorie DOT com
Message-ID: <38AFE7C9.50D0557E@bigfoot.com>
Date: Sun, 20 Feb 2000 13:10:33 +0000
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.14 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Small patch to mkdoc for Unix98 portability info
Reply-To: djgpp-workers AT delorie DOT com

This is a multi-part message in MIME format.
--------------209B730B9E1F803ED7723F35
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello.

Please find attached a small patch that adds Unix98 to the portability
list of mkdoc. At a later date I'll take a look through the libc docs to
see what complies with the standard. The Unix98 standard can be obtained
from here:

http://www.opengroup.org/

Bye,

-- 
Richard Dawe
richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/
--------------209B730B9E1F803ED7723F35
Content-Type: text/plain; charset=us-ascii;
 name="richdawe-djgpp-2000-02-20.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="richdawe-djgpp-2000-02-20.diff"

*** src/mkdoc/mkdoc.cc	Tue Jan 25 19:37:33 2000
--- /home/rich/src/lsck/tools/mkdoc/mkdoc.cc	Sat Feb 19 10:10:09 2000
***************
*** 30,36 ****
  typedef void (*TFunc)(Node *);
  
  
! #define NUM_PORT_TARGETS 2
  
  #define PORT_UNKNOWN 0
  #define PORT_NO      1
--- 30,36 ----
  typedef void (*TFunc)(Node *);
  
  
! #define NUM_PORT_TARGETS 3
  
  #define PORT_UNKNOWN 0
  #define PORT_NO      1
***************
*** 38,46 ****
  #define PORT_YES     3
  
  /* Tokens for use in .txh files */
! char *port_target[NUM_PORT_TARGETS] = { "ansi", "posix" };
  /* Strings to output in .txi files */
! char *port_target_string[NUM_PORT_TARGETS] = { "ANSI", "POSIX" };
  
  
  struct Tree {
--- 38,46 ----
  #define PORT_YES     3
  
  /* Tokens for use in .txh files */
! char *port_target[NUM_PORT_TARGETS] = { "ansi", "posix", "unix98" };
  /* Strings to output in .txi files */
! char *port_target_string[NUM_PORT_TARGETS] = { "ANSI", "POSIX", "Unix98" };
  
  
  struct Tree {

--------------209B730B9E1F803ED7723F35--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019