Date: Sun, 9 Feb 2003 14:24:24 -0200 From: Fred Souza <fred@storming.org> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: current@FreeBSD.ORG Subject: Re: Do we still have a FIFO / named pipe problem? Message-ID: <20030209162424.GA1983@torment.storming.org> In-Reply-To: <20030209170616.2e4e3635.Alexander@Leidinger.net> References: <20030209170616.2e4e3635.Alexander@Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Hi, >=20 > ports/mail/gensig has a problem. It is supposed to create a named pipe > (~/.signature) and wait for an application to read from the pipe. It > allows to have a random signature on every mail. On 4.x and on 5-current > from last year it works as expected. But since the end of the last year > or the begin of this year it doesn't anymore. gensig daemonizes itself > fills the named pipe and then terminates. The content of the named pipe > stays the same for every mail (no wonder, gensig is gone). I had the same problem with signify (which is not on ports). My fix for it was to force open() to open the file for both read and write (signify is a Perl script). I can send the patch if you need to see what I actually did. Fred --=20 "Death is only a state of mind. Only it doesn't leave you much time to think about anything else." --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+RoC4KbRS1GgW4fYRAp3xAJ4lA9doM8Dty7aVgvZMePJBgGMT1ACgga17 6lX0Oy0b4KW8MheO7wZzopI= =3Ya0 -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030209162424.GA1983>