Print this page
10476 file(1) could be smatch clean
10366 ld(1) should support GNU-style linker sets
10581 ld(1) should know kernel modules are a thing

*** 851,861 **** /* end modification for multibyte env */ for (i = 0; i < Max; /* null */) if (fbuf[i] & 0200) { IS_ascii = 0; ! if (fbuf[0] == '\100' && fbuf[1] == '\357') { (void) printf(gettext("troff output\n")); return; } /* start modification for multibyte env */ if ((length = mbtowc(&wchar, &fbuf[i], MB_CUR_MAX)) --- 851,862 ---- /* end modification for multibyte env */ for (i = 0; i < Max; /* null */) if (fbuf[i] & 0200) { IS_ascii = 0; ! if ((fbuf[0] == '\100') && ! ((uchar_t)fbuf[1] == (uchar_t)'\357')) { (void) printf(gettext("troff output\n")); return; } /* start modification for multibyte env */ if ((length = mbtowc(&wchar, &fbuf[i], MB_CUR_MAX))
*** 1328,1337 **** --- 1329,1342 ---- /* Print Version */ if (version == 1) (void) printf(" %s %d", gettext("Version"), version); + if (EInfo.kmod) { + (void) printf(", %s", gettext("kernel module")); + } + /* Print Flags */ print_elf_flags(EInfo); /* Last bit, if it is a core */ if (EInfo.core_type != EC_NOTCORE) {
*** 1481,1493 **** return (0); } return (1); } static int sccs(void) ! { /* look for "1hddddd" where d is a digit */ register int j; if (fbuf[0] == 1 && fbuf[1] == 'h') { for (j = 2; j <= 6; j++) { if (isdigit(fbuf[j])) --- 1486,1499 ---- return (0); } return (1); } + /* look for "1hddddd" where d is a digit */ static int sccs(void) ! { register int j; if (fbuf[0] == 1 && fbuf[1] == 'h') { for (j = 2; j <= 6; j++) { if (isdigit(fbuf[j]))