Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!mit-eddie!uw-beaver!tikal!slovax!ira From: ira@slovax.UUCP (Ira G. Chayut) Newsgroups: net.sources Subject: Mix - allowing catmix to work for a read-only file Message-ID: <391@slovax.UUCP> Date: Fri, 24-Apr-87 11:38:00 EST Article-I.D.: slovax.391 Posted: Fri Apr 24 11:38:00 1987 Date-Received: Sun, 26-Apr-87 01:11:07 EST Organization: R & D Associates., Tacoma, WA Lines: 16 As posted, mix requires the user to have write permission for a mix'd file even if the file is just being catmix'd. The following diff's (at the top of "readfile" seems to work for me. 487c487 < int checkval, type_open; --- > int checkval; 492,493c492 < type_open = (context == CATMIX) ? 0 : 2; < if ((fd = open(fstring, type_open)) == -1) { --- > if ((fd = open(fstring, 2)) == -1) { Ira Chayut; R & D Associates; 3625 Perkins Lane, SW; Tacoma, WA 98499 (206) 581-1322 ....uw-beaver!tikal!slovax!ira