Xref: utzoo comp.unix.i386:7717 news.software.b:5445 Path: utzoo!utstat!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!uakari.primate.wisc.edu!sdd.hp.com!decwrl!mejac!orchard.la.locus.com!turnkey!jackv From: jackv@turnkey.tcc.com (Jack F. Vogel) Newsgroups: comp.unix.i386,news.software.b Subject: Re: C news fast stdio fails regression test on 386/ix. Message-ID: <1990Aug12.211727.17535@turnkey.tcc.com> Date: 12 Aug 90 21:17:27 GMT References: <803@hades.ausonics.oz.au> <1990Aug10.154632.6474@zoo.toronto.edu> <1990Aug10.221410.8502@jdyx.UUCP> Reply-To: jackv@turnkey.TCC.COM (Jack F. Vogel) Organization: Turnkey Computer Consultants, Westchester, CA Lines: 32 In article <1990Aug10.221410.8502@jdyx.UUCP> tpf@jdyx.UUCP (Tom Friedel) writes: >I have run C-news with the fast stdio library since C-News first came >out, ignoring the error in the stdio library tests. No problems that I >am aware of. This is on Interactive 2.0.2. Interesting, I had been paranoid since it failed that one test, I don't suppose you have any idea on how much performance is gained, Cnews even with the stock stdio is peppy enough that I don't know if its really worth the bother. >What doesn't work for me is the setuid( geteiud()) and the spacefor >file, which I succesfully replaced with 'echo 10000' Right setuid(geteuid()) just plain will not work, it doesn't work on AIX either, in fact I suspect the majority of systems will not. However, there is no reason not to use spacefor, it really is a nice feature. It is just that it is the most system-dependent aspect to the whole Cnews package. It is quite simple to get it to work with ISC. Change line 54 of the script to look as follows: df $arg | sed "s/.*://" | awk "BEGIN { nf = 1 ; nr = 1 } Also, this should be based on the spacefor.sysv prototype. Having this script really work can keep you from overflowing filesystems, so its really not desireable to shortcircuit it. Disclaimer: ME, speak for Locus?? Surely you jest :-}! -- Jack F. Vogel jackv@locus.com AIX370 Technical Support - or - Locus Computing Corp. jackv@turnkey.TCC.COM