Solaris Portability Pullup - requested by Grant Beattie
authoragc <agc>
Tue, 2 Nov 2004 10:53:15 +0000 (10:53 +0000)
committeragc <agc>
Tue, 2 Nov 2004 10:53:15 +0000 (10:53 +0000)
commit960b9a2d659fdcdae11dcbb09187dc4a371d0c0b
tree5a398af50693520fd2efc69d2887185943f6f597
parent4eca682f43d2cfc48da55f8b201bea69a3730603
Solaris Portability Pullup - requested by Grant Beattie
portability fix for m4

Module Name:    pkgsrc
Committed By:   gavan
Date:           Tue Oct 26 17:00:44 UTC 2004

Modified Files:
pkgsrc/devel/m4: Makefile distinfo

Log Message:
Update to 1.4.2:

* configure.in (VERSION): Bump to 1.4.2.
* NEWS: Describe 1.4.2's changes.

* src/m4.c (reference_error): Preserve errno, since M4ERROR
relies on this.
* src/builtin.c (m4_esyscmd): Clear errno before calling popen.
(m4_maketemp): Clear errno before calling mkstemp.
* src/path.c (path_search): Don't let "free" trash errno when
returning NULL.
* src/output.c (insert_file): Don't assume errno has a valid
value simply because fread returns zero.  This fixes a
portability bug reported by Marion Hakanson in
<http://lists.gnu.org/archive/html/bug-m4/2004-07/msg00029.html>.

Fixes PR pkg/27301.
devel/m4/Makefile
devel/m4/distinfo
doc/CHANGES-pkgsrc-2004Q3