DMAKE Version 3.6, patch #2
---------------------------

Severity: Medium

Nature:   Minor teething problems with UNIX, added support for OS/2 protected
	  mode, and a couple of persistent bugs fixed.

Format:   Shar containing new versions of affected files.  With appropriate
          patches.  (run the patch file through sh in the source distribution
          directory and it will do the rest)

          Also available as pub/src/dmake-3.6-patch2 on watmsg.uwaterloo.edu
          (129.97.129.9)

	  Archived source incorporating all patches is available
	  for anonymous ftp from watmsg.uwaterloo.ca address is
	  129.97.129.9.  It is in the pub/src directory, set your
	  mode to binary, and copy either:

	      dmake-3.6.tar.Z         - compressed tar format
	      dmake-3.6.zoo           - zoo archive

	  NOTE:  watmsg may not be available from Dec 5 to Dec 8, 1990 due
		 to reconfigurartion of a machine room here.  watdragon will
		 be down during this time and hence I will be unreachable
		 via email.

Prerequisites: dmake version 3.6, patchlevel 2 source distribution


Description of Fixes:
---------------------
Fixes to patch level 2, after applying patch 1 to dmake V3.6.

1. Include putenv.c and tempnam.c with the Atari-ST tos directory.  I
   incorreclty thought they were not needed the first time around.

2. Added check in structs.h and unix/sysintf.h to prevent xenix 386 boxes
   from trying to include types.h more than once.  Fix supplied by:
   holos0!lbr@gatech.edu (Len Reed)

3. Fixed possible bug in make.c to make sure we pop any pushed directories
   when making .MAKEFILES prerequisites, these things can also have a .SETDIR
   attribute.

4. Fix bug with NULL recipe targets.  dmake now infers a NULL recipe for any
   target that does not have a recipe after inference and does have a
   list of prerequisites.  Further, if you set AUGMAKE:=yes then it will not
   complain about prerequisites that appear as targets in the makefile with
   no recipe at all. Makes it a bit more compatible with Augmake.
   Reported by krohn%SW.MCC.COM@MCC.COM (Eric Krohn).

5. Added _VA_LIST_ #define to unix/sysvr[13]/stdarg.h, so that it is defined
   only once.  Some syvr3 implementations require this (eg. Silicon Graphics
   IRIX).

6. Fixed getinp.c and parse.c to treat \r as white space as well.
   Fixes DOS bug that crept up from time to time and caused dmake to stop
   parsing a makefile.

7. Blush, embarasing bug when constructing DFA for %-meta rule.  If target
   ended in a '%', it went one state too far and used a garbage value from
   the name string.  Sometimes this was a '%' and it would complain that
   %-meta target contained more than one '%'.

8. Minor tweaks to the man page, changed the version number to 3.6 :-) too.

9. Minor tweaks to makefile.mk (moved %.o ... target) and to some various
   config.mk files in order to accomodate os/2 version.

10. Support for OS/2 in the OS/2 directory, see (readme/os2).  Files for this
    were provided by Kai Uwe Rommel (rommel@lan.informatik.tu-muenchen.dbp.de),
    and by Duncan Booth (duncanb@ibmpcug.co.uk, Bix:jrichards), many thanks to
    both and to Jeremy Wohl (wohl@max.physics.sunysb.edu).

11. Added fix for sun 386i's broken ar.h in unix/bsd43/config.h.
