52 lines
1.7 KiB
Diff
52 lines
1.7 KiB
Diff
Index: usage.c
|
|
===================================================================
|
|
--- usage.c.orig 2010-07-29 11:59:45.000000000 -0400
|
|
+++ usage.c 2010-08-29 14:39:17.366314422 -0400
|
|
@@ -890,47 +890,6 @@ usage(xv, fh, version)
|
|
LSOF_URL);
|
|
(void) fprintf(stderr, " latest man page: %slsof_man\n",
|
|
LSOF_URL);
|
|
-
|
|
-#if defined(LSOF_CINFO)
|
|
- if ((cp = isnullstr(LSOF_CINFO)))
|
|
- (void) fprintf(stderr, " configuration info: %s\n", cp);
|
|
-#endif /* defined(LSOF_CINFO) */
|
|
-
|
|
- if ((cp = isnullstr(LSOF_CCDATE)))
|
|
- (void) fprintf(stderr, " constructed: %s\n", cp);
|
|
- cp = isnullstr(LSOF_HOST);
|
|
- if (!(cp1 = isnullstr(LSOF_LOGNAME)))
|
|
- cp1 = isnullstr(LSOF_USER);
|
|
- if (cp || cp1) {
|
|
- if (cp && cp1)
|
|
- cp2 = "by and on";
|
|
- else if (cp)
|
|
- cp2 = "on";
|
|
- else
|
|
- cp2 = "by";
|
|
- (void) fprintf(stderr, " constructed %s: %s%s%s\n",
|
|
- cp2,
|
|
- cp1 ? cp1 : "",
|
|
- (cp && cp1) ? "@" : "",
|
|
- cp ? cp : ""
|
|
- );
|
|
- }
|
|
-
|
|
-#if defined(LSOF_BLDCMT)
|
|
- if ((cp = isnullstr(LSOF_BLDCMT)))
|
|
- (void) fprintf(stderr, " builder's comment: %s\n", cp);
|
|
-#endif /* defined(LSOF_BLDCMT) */
|
|
-
|
|
- if ((cp = isnullstr(LSOF_CC)))
|
|
- (void) fprintf(stderr, " compiler: %s\n", cp);
|
|
- if ((cp = isnullstr(LSOF_CCV)))
|
|
- (void) fprintf(stderr, " compiler version: %s\n", cp);
|
|
- if ((cp = isnullstr(LSOF_CCFLAGS)))
|
|
- (void) fprintf(stderr, " compiler flags: %s\n", cp);
|
|
- if ((cp = isnullstr(LSOF_LDFLAGS)))
|
|
- (void) fprintf(stderr, " loader flags: %s\n", cp);
|
|
- if ((cp = isnullstr(LSOF_SYSINFO)))
|
|
- (void) fprintf(stderr, " system info: %s\n", cp);
|
|
(void) report_SECURITY(" ", ".\n");
|
|
(void) report_WARNDEVACCESS(" ", "are", ".\n");
|
|
(void) report_HASKERNIDCK(" K", "is");
|