billd@fps.com (Bill Davidson) (09/20/89)
I was looking through Bnews 2.11.18's defs.h file and I ran across the "MINFREE" define which includes a little comment about being USG only. I looked through the code and it looks like the only reason it won't work on normal BSD is the lack of the "ustat" call. Well, Celerity 12X0's (and FPS Model 500's) have this library function (I'm not sure if all systems have it but all the ones I've checked do -- I haven't researched this too thoroughly yet). So I decided to try it and there is one problem with the source of inews.c. Line #240 reads: spool_news = DOSPOOL; Well "DOSPOOL" isn't defined anywhere in any of my source files. I'm assuming it's a typo and should be "DO_SPOOL". Anyone sure on this? (Rick? Stan? Anybody?). I'm not very inclined to try it without knowing for sure (maybe it's DONT_SPOOL :-). I suppose I could set up a "safe" testing procedure but I really don't want to go to that much effort for news when I've got real projects to work on :-). I would think that this would break on any USG system as well. Does anybody know a good way to get this info for normal BSD (outside of implementing ustat :-). I mean a *good* way...no running df and interpreting the output :-). P.S. There are some other changes that need to be made in order to make inews.c take advantage of this system call on an ACCEL machine. If anyone wants to know what these are, send me email and I'll sumarize for you. Bill Davidson billd@fps.com System Administrator celerity!billd@ucsd.edu FPS Computing Inc., San Diego ...!ucsd!celerity!billd 9692 Via Excelencia San Diego CA 92126 (619) 271-9940 Ext. 242
ccea3@rivm.UUCP (Adri Verhoef) (09/23/89)
>there is one problem >with the source of inews.c. Line #240 reads: > > spool_news = DOSPOOL; > >Well "DOSPOOL" isn't defined anywhere in any of my source files. I'm >assuming it's a typo and should be "DO_SPOOL". Anyone sure on this? It should indeed be DO_SPOOL. This typo was introduced in patch.18. -- Adri Verhoef (uunet!rivm!a3), site administrator of the National Institute for Public Health and Environmental Protection (RIVM).