Date: Mon, 1 Jun 1998 14:15:43 +0200 (MET DST) From: Joerg Schilling <schilling@fokus.gmd.de> To: mike@smith.net.au, schilling@fokus.gmd.de Cc: freebsd-current@FreeBSD.ORG Subject: Re: cdrecord trouble on currnet Message-ID: <199806011215.OAA16994@sherwood.gmd.de>
next in thread | raw e-mail | index | archive | help
>From mike@dingo.cdrom.com Fri May 29 22:41:20 1998 >It's due to not checking the return value from the sysconf(_SC_PAGESIZE) >in fifo.c. Once you get past that, there's a timing failure between the >writer and reader processes due to a similar omission a little further >down the file. >Having dealt with these, I seem to be dummy-burning quite happily. = >I'll cut a disc for real to be sure, and then send you my patches for = >discussion. This seems to be the real problem with freebsd-current. You cannot deal with this problem: Systems that define _SC_PAGESIZE or _SC_PAGE_SIZE (HP-UX) don't support getpagesize() so there is no way to fix this in runtime except if you introduce an additional HAVE_GETPAGESIZE in the autoconfiguration. But even then the code would be badly readable. I would prefer if the sysconf code would call getpagesize() in userland. Jörg EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) If you don't have iso-8859-1 schilling@fokus.gmd.de (work) chars I am J"org Schilling URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix 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?199806011215.OAA16994>