nick@nswitgould.OZ (Nick Andrew) (07/14/88)
On the whole, the 1.3 updates have been very clean, but there are a few very minor corrections which I think need to be made. Brucee mentioned fopen.c required <errno.h> in its head. That, or "lib.h" will suffice. message.c has an initialisation of a union which the compiler (1.1 at least) doesn't like. Fixed in 1.2? Removed ' = {0}'. <stdio.h> is altered so getc and putc are now macros. This is correct (even if they do simply expand to fgetc). Now, the source files getc.c and putc.c should be renamed to fgetc.c and fputc.c and the function names within changed to fgetc and fputc. This is a trap for the beginner, searching for the string 'fgetc' in the library when it's not there. ctime.c declares a static char *buf[xxx] and the 'static' is ignored by the compiler (1.1 at least). Fixed in 1.2? Some programs like to use buf as an external variable so I changed buf to be static within the function. Regards to all, Nick.