[syslog-ng]Re: syslog-ng dying randomly?

seth vidal skvidal@phy.duke.edu
04 Jun 2002 15:39:20 -0400


--=-F2WjM1QnUAELGGwsavjh
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2002-05-28 at 21:26, John Morrissey wrote:
> On Mon, May 27, 2002 at 05:38:00PM +0200, Balazs Scheidler wrote:
> % I made two patches, one against syslog-ng the other against libol, plea=
se
> % check if these fixes your problems.
> [snip]
> % --- src/afinet.c	26 Apr 2002 09:43:54 -0000	1.17
> % +++ src/afinet.c	27 May 2002 15:37:19 -0000
> % @@ -536,7 +536,8 @@
> %  {
> %  	CAST(afinet_dest, self, c);
> %  	if (self->conn_fd) {
> % -		KILL_RESOURCE(&self->conn_fd->super.super);
> % +		/* KILL_RESOURCE(&self->conn_fd->super.super); */
> % +		closekill_fd(self->conn_fd);
>=20
> When I built this, the compiler complained that closekill_fd() wants two
> args. I didn't bother checking and just assumed CLOSE_EOF was good enough
> for the second arg. :-)
>=20
> These patches seem to do it for me; I can't provoke syslog-ng into dying
> when the syslog hub goes away. Thanks a bunch for your work!
>=20
> Now, I hope I'm not asking too much, but should I expect a new release so=
on
> with this incorporated? I'll be rebuilding my local RPMs and deploying th=
is
> to a few dozen machines and I'd like to update them to an "official"
> release.
>=20

when I apply the patch to libol 0.2.3 the make then tries to validate
the code using scsh - I end up getting the following messages:

Warning: use of macro doesn't match definition
         (syntax-rules '() ((let-and (expr) clause clauses ...) (and
expr (let-and clause clauses ...))) ((let-and (name expr) clause clauses
...) (let ((name expr)) (and name (let-and clause clauses ...))))
((let-and expr) expr))

Error: attempt to call a non-procedure
       ('syntax-error '(#{Name let-and} ((pair? expr)) (op-matches
(match # #)) (arg-matches (match # #)) (append op-matches arg-matches))
'#{Procedure 2489 (unnamed in make-name-generator in names)}
'#{Procedure 2486 (unnamed in make-keyword-comparator in names)})


I'm using scsh 0.6.1

Is there a way to disable the scsh check in configure or maybe from the
make?

-sv


--=-F2WjM1QnUAELGGwsavjh
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA8/Rdn1Aj3x2mIbMcRAlVxAKCeCt2K/rmn7Mekr6uBkcXs7piZwwCfVoIF
kb4kHhARKUlmZEBUckh8VtU=
=V0Qm
-----END PGP SIGNATURE-----

--=-F2WjM1QnUAELGGwsavjh--