Xref: utzoo comp.unix.wizards:20846 comp.bugs.sys5:1237 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!sics.se!uplog.se!uplog.uplog.se!thomas From: thomas@uplog.se (Thomas Tornblom) Newsgroups: comp.unix.wizards,comp.bugs.sys5 Subject: Re: stdio broken in SysV? Message-ID: Date: 2 Mar 90 07:38:53 GMT References: <2010@sauron.Columbia.NCR.COM> <51697@sgi.sgi.com> <0S&#P?$@masalla.fulcrum.bt.co.uk> Sender: thomas@uplog.se (Thomas Tornblom) Organization: TeleLOGIC Uppsala AB Lines: 29 In-Reply-To: meissner@osf.org's message of 1 Mar 90 21:49:52 GMT In article meissner@osf.org (Michael Meissner) writes: In article thomas@uplog.se (Thomas Tornblom) writes: | If anyone cares, here is the fix to stdio I made. I also came across the | problem while bringing sendmail up. | Requires source of course... | ----------------------------------------------- | There is only 3 files that need a change. | /usr/include/stdio.h: | Add a new member last to the FILE struct: | unsigned char *_bufendp; /* get rid of bufendtab */ Be sure to recompile EVERYTHING that may have even remotely refered to stdin, stdout, stderr, putc, putchar, getc, or getchar! Well, already compiled applications that uses these that works need not be recompiled. If you have your makefiles set up properly, i.e. dependent of stdio.h, this wouldn't be a problem. -- Real life: Thomas Tornblom Email: thomas@uplog.se Snail mail: TeleLOGIC Uppsala AB Phone: +46 18 189406 Box 1218 Fax: +46 18 132039 S - 751 42 Uppsala, Sweden