Changelog for popenhs-1.0.0

If this renders badly as markdown, see the plain text version

2002-01-25 Jens Petersen juhp@01.246.ne.jp

* popenhs.spec.in: Tidied up.  Use rpm macros.

* index.html: Update for new release.

* README: Update for 1.00.0.

* NEWS: Add entries for 1.00.0 and 0.00.1.

* Makefile.am (bin_SCRIPTS): Use PACKAGE.
(pkglibdir): Use automake vars.
(EXTRA_DIST): Add spec file.
(rpm, web): New rules from hsclock.  Use automake vars.

* POpen.hs: Export popen and popenEnvDir now.
Import hPutStr, hClose, fromJust, isJust and when.
(popen): New wrapper function replacing popen2 and popen3 wrapper.
Maybe takes additional arg for input string and no longer returns
input handle.
(popenEnvDir): New function replacing popenOutErr and
popenInOutErr. Maybe takes additional arg for input string and no
longer returns input handle.  When there is input, create input
pipe, write input string to it and close the pipe input handle.
After forking, close pipe output fd in original process if there
was input.  This fixes the problem reported by Uwe <> that popen3
was hanging on input from a pipe with closed input.
(doTheBusiness): Maybe takes input fd, and no longer returns input
handle.  dupTo instead of mayDup2, since we always redirect.  Only
dup2 input when given input.  Replace code after execFile to keep
type-system happy with a error instead.
(maybeDup2): Removed, since no longer needed.

* configure.in: Up version to 1.00.0

2001-10-05 Jens Petersen juhp@01.246.ne.jp

* popen.spec.in: new file, based on gtk+hs.spec.in

* configure.in: use autoconf

* Makefile.in: from Makefile

* Makefile.am: use automake

* acinclude.m4: was aclocal.m4