Subject: libc lint library bug (#274) Index: /usr/lib/lint/llib-lc 2.11BSD Description: Recreating the lint library for the libc gives an error when including the now non-existent disktab.h file. Repeat-By: cd /usr/src/usr.bin/lint ./libs Note the error about 'disktab.h' when llib-lc is procesed. Fix: Apply the small patch below and recreate the lint library. When disklabels were implemented the disktab.h file was replaced with sys/disklabel.h. Unfortunately not all references to the old file were found and changed. Cut where indicated and save to a file (tmp/274). Then: patch -p0 < /tmp/274 cd /usr/src/usr.bin/lint ./libs This and previous patches are available via anonymous ftp to the host FTP.IIPO.GTEGSC.COM in the directory /pub/2.11BSD. ==========================cut here======================= *** /usr/lib/lint/llib-lc.old Sun Apr 2 23:29:17 1995 --- /usr/lib/lint/llib-lc Sun Sep 10 17:27:40 1995 *************** *** 1,4 **** ! /* @(#)llib-lc 1.39 (2.11BSD GTE) 1/16/95 */ /* LINTLIBRARY */ --- 1,4 ---- ! /* @(#)llib-lc 1.40 (2.11BSD GTE) 1995/09/10 */ /* LINTLIBRARY */ *************** *** 22,28 **** #include ! #include #include #include #include --- 22,28 ---- #include ! #include #include #include #include *************** *** 245,251 **** double frexp( v, e) double v; int *e; { return v; } ftime(tp) struct timeb *tp; { ; } char * gcvt(v, n, b) double v; char *b; { return(""); } ! struct disktab * getdiskbyname(name) char *name; { return (struct disktab *) 0; } char * getenv( n ) char *n; { return n; } struct fstab * getfsent() { return (struct fstab *)NULL; } struct fstab * getfsspec( n ) char *n; { return (struct fstab *)NULL; } --- 245,251 ---- double frexp( v, e) double v; int *e; { return v; } ftime(tp) struct timeb *tp; { ; } char * gcvt(v, n, b) double v; char *b; { return(""); } ! struct disklabel * getdiskbyname(name) char *name; { return (struct disklabel *) 0; } char * getenv( n ) char *n; { return n; } struct fstab * getfsent() { return (struct fstab *)NULL; } struct fstab * getfsspec( n ) char *n; { return (struct fstab *)NULL; } *** /VERSION.old Fri Sep 8 18:40:25 1995 --- /VERSION Sun Sep 10 17:27:59 1995 *************** *** 1,4 **** ! Current Patch Level: 273 2.11 BSD ============ --- 1,4 ---- ! Current Patch Level: 274 2.11 BSD ============