Xref: utzoo news.software.b:5963 comp.sources.bugs:2594 Newsgroups: news.software.b,comp.sources.bugs Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: C News patch of 7-Sep-1990 Message-ID: <1990Oct10.171055.10355@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1990Sep17.121127.25859@ni.umd.edu> <1990Sep17.210150.1586@vicom.com> <1990Sep18.222450.25228@zoo.toronto.edu> <2704@sud509.ed.ray.com> Date: Wed, 10 Oct 90 17:10:55 GMT In article <2704@sud509.ed.ray.com> heiser@tdw201.ed.ray.com writes: >... problems with one file -- spacefor. If the cnews people are >interested, I will send you (the file, diffs, or whatever format you like) >showing what has to be done to make it work on Esix... Actually, I now count spacefor as a failed approach, and am in the early stages of doing something better. The problem is that there is far too much senseless diversity in df output format, much more than I thought in my young and innocent days. :-) In the works is a version that puts the actual space-finding in C, using the two or three different flavors of how-much-space-is-there system calls, but keeps the choice of threshold out of the C code so it's easy to change. It's tricky to get all this right, especially with a df-based fallback for really old systems, but I think I know how to do it, and it should be significantly less hassle than relying on df. Sigh. -- Imagine life with OS/360 the standard | Henry Spencer at U of Toronto Zoology operating system. Now think about X. | henry@zoo.toronto.edu utzoo!henry