broman@cod.NOSC.MIL (Vincent P. Broman) (08/23/88)
More small fixes/complaints for cross-compiling the v1.3b commands directory under Turbo-C v1.5 . The Minix compiler winks at some incorrect code that TC catches. I mention first things that need fixing in the distribution. ------------------------------------------------------------ at.c and atrun.c There is an unterminated string in a macro definition. The fix looks something like this (sorry, sources at home) - #define FOO "bar printf(FOO more stuff"); should be #define FOO "bar" printf("%s more stuff", FOO); ---------------------------------------------------------- fgrep.c a declaration void maktable(); needed to be moved from line 28 to line 74, because it was sitting inside the wrong function. -------------------------------------------------------------------- readfs.c gets a warning because dump_dir() does a return(-1) when it actually is not expected to return any value. -------------------------------------------------- cp.c (line 29), file.c (line 80), and fdisk.c (line 379) TC warns "constant out of range" because a signed int comparison is done against an unsigned constant > 32767. ------------------------------------------------------------------------ readfs.c mkfs.c ls.c df.c do a #include <fs/something.h> requiring the parent directory of fs to be named in a -I command line option. -------------------------------------------------------------------- a.out.h must be renamed a-out.h under MSDOS. This requires a change wherever it is #included, e.g. ast.c nm.c strip.c -------------------------------------------------------------------- Vincent Broman, code 632, Naval Ocean Systems Center, San Diego, CA 92152, USA Phone: +1 619 553 1641 Internet: broman@nosc.mil Uucp: sdcsvax!nosc!broman