]> granicus.if.org Git - psmisc/commitdiff
changed werners email address - close to release
authorCraig Small <csmall@users.sourceforge.net>
Fri, 26 Sep 2003 13:24:39 +0000 (13:24 +0000)
committerCraig Small <csmall@users.sourceforge.net>
Fri, 26 Sep 2003 13:24:39 +0000 (13:24 +0000)
AUTHORS
ChangeLog
autom4te.cache/requests
doc/fuser.1
doc/killall.1
doc/pstree.1
src/Makefile.in
src/fuser.c
src/pstree.x11

diff --git a/AUTHORS b/AUTHORS
index 697e79dae89b6394f9a0e1ef27afe80a97ac2d5a..9d5eaf4a7353aa0ca447beca33a82006013a70f0 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,2 +1,2 @@
-Werner Almesberger <Werner.Almesberger@epfl.ch>
+Werner Almesberger <werner@almesberger.net>
 Craig Small <csmall@small.dropbear.id.au>
index f92b972686ea07c15074e6258eda65e9674e0041..fe4cb3d51656febdeed358504fcfb41278d9c82d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,11 +7,15 @@ not yet released Craig Small <csmall@small.dropbear.id.au>
        * Works with new sort flags +2 -> -k 3 Thankyou Andrew Walrond
        * pstree.x11 now just pstree with a trick Closes Debian: #201042
        * Icons for pstree, thankyou Tatlin! Closes Debian: #192636
+       * Removed message if no processes found, 
+       * Excess blanks in fuser removed.
+       * Two lines above close Debian: #212795
+
 
 Changes in 21.3
 ===============
 2003-04-03 Craig Small <csmall@small.dropbear.id.au>
-    * SELinux SID selection uses -d instead of -S to stop the confusion of
+       * SELinux SID selection uses -d instead of -S to stop the confusion of
          signal names, no flags with upper case letters ok?
          Closes Debian: #193790, #163360
        * Doesnt segfault on long cmdnames, thanks Ben Low Closes Debian: #187241
index 66981f661454eaada8ce3dd143474bc7a09dd486..99a2ee29ceac0a8cac8f233fe17512ee30878ad8 100644 (file)
                       ],
                       {
                         'm4_pattern_forbid' => 1,
-                        'AC_TYPE_OFF_T' => 1,
                         'AC_C_VOLATILE' => 1,
+                        'AC_TYPE_OFF_T' => 1,
                         'AC_FUNC_CLOSEDIR_VOID' => 1,
                         'AC_REPLACE_FNMATCH' => 1,
                         'AC_PROG_LIBTOOL' => 1,
                         'AC_FUNC_STAT' => 1,
-                        'AC_HEADER_TIME' => 1,
                         'AC_FUNC_WAIT3' => 1,
-                        'AM_AUTOMAKE_VERSION' => 1,
-                        'AC_STRUCT_TM' => 1,
+                        'AC_HEADER_TIME' => 1,
                         'AC_FUNC_LSTAT' => 1,
-                        'AC_TYPE_MODE_T' => 1,
+                        'AC_STRUCT_TM' => 1,
+                        'AM_AUTOMAKE_VERSION' => 1,
                         'AC_FUNC_GETMNTENT' => 1,
+                        'AC_TYPE_MODE_T' => 1,
                         'AC_FUNC_STRTOD' => 1,
                         'AC_CHECK_HEADERS' => 1,
                         'AC_FUNC_STRNLEN' => 1,
                         'AC_DEFINE_TRACE_LITERAL' => 1,
                         'AC_FUNC_STRERROR_R' => 1,
                         'AC_PROG_CC' => 1,
-                        'AC_DECL_SYS_SIGLIST' => 1,
                         'AC_FUNC_FORK' => 1,
-                        'AC_FUNC_VPRINTF' => 1,
+                        'AC_DECL_SYS_SIGLIST' => 1,
                         'AC_FUNC_STRCOLL' => 1,
+                        'AC_FUNC_VPRINTF' => 1,
                         'AC_PROG_YACC' => 1,
                         'AC_INIT' => 1,
                         'AC_STRUCT_TIMEZONE' => 1,
                         'AC_HEADER_STAT' => 1,
                         'AC_C_INLINE' => 1,
                         'AC_PROG_CPP' => 1,
-                        'AC_C_CONST' => 1,
-                        'AC_PROG_LEX' => 1,
                         'AC_TYPE_PID_T' => 1,
+                        'AC_PROG_LEX' => 1,
+                        'AC_C_CONST' => 1,
                         'AC_CONFIG_FILES' => 1,
                         'include' => 1,
                         'AC_FUNC_SETVBUF_REVERSED' => 1,
                         'AC_PROG_INSTALL' => 1,
                         'AM_GNU_GETTEXT' => 1,
-                        'AC_FUNC_OBSTACK' => 1,
                         'AC_CHECK_LIB' => 1,
+                        'AC_FUNC_OBSTACK' => 1,
                         'AC_FUNC_MALLOC' => 1,
                         'AC_FUNC_GETGROUPS' => 1,
                         'AC_FUNC_GETLOADAVG' => 1,
                         'AH_OUTPUT' => 1,
                         'AC_FUNC_FSEEKO' => 1,
                         'AM_PROG_CC_C_O' => 1,
-                        'AM_CONDITIONAL' => 1,
-                        'AC_CANONICAL_SYSTEM' => 1,
                         'AC_FUNC_MKTIME' => 1,
+                        'AC_CANONICAL_SYSTEM' => 1,
+                        'AM_CONDITIONAL' => 1,
                         'AC_CONFIG_HEADERS' => 1,
                         'AC_HEADER_SYS_WAIT' => 1,
-                        'AC_FUNC_MEMCMP' => 1,
                         'AC_PROG_LN_S' => 1,
+                        'AC_FUNC_MEMCMP' => 1,
                         'm4_include' => 1,
                         'AC_HEADER_DIRENT' => 1,
                         'AC_CHECK_FUNCS' => 1
index 3735caf086ff04509aa0f98e5043a683a586b8bd..8e52f89fcb91ee2db1d5a3c2d613ec271a5de94e 100644 (file)
@@ -1,4 +1,4 @@
-.TH FUSER 1 "October 25, 1999" "Linux" "User Commands"
+.TH FUSER 1 "September 26, 2003" "Linux" "User Commands"
 .SH NAME
 fuser \- identify processes using files or sockets
 .SH SYNOPSIS
@@ -142,8 +142,11 @@ The \fB-k\fP option only works on processes. If the user is the kernel,
 fuser -m /dev/sgX will show (or kill with the -k flag) all processes, even
 if you don't have that device configured. There may be other devices it 
 does this for too.
-.SH AUTHOR
-Werner Almesberger <Werner.Almesberger@epfl.ch>
+.SH AUTHORS
+.PP
+Werner Almesberger <werner@almesberger.net>
+.PP
+Craig Small <csmall@small.dropbear.id.au>
 .SH "SEE ALSO"
 kill(1), killall(1), lsof(8), ps(1), kill(2)
 .\"{{{}}}
index 6a63a45f22d905450fbafc4f4c75fccaa3e29e6c..ee8b76334d4ca117cb8d067f0966157ed6581d25 100644 (file)
@@ -1,4 +1,4 @@
-.TH KILLALL 1 "March 25, 2001" "Linux" "User Commands"
+.TH KILLALL 1 "September 26, 2003" "Linux" "User Commands"
 .SH NAME
 killall \- kill processes by name
 .SH SYNOPSIS
@@ -88,7 +88,7 @@ user.
 \fBkillall \-w\fP doesn't detect if a process disappears and is replaced by
 a new process with the same PID between scans.
 .SH AUTHORS
-Werner Almesberger <Werner.Almesberger@epfl.ch> wrote the original version
+Werner Almesberger <werner@almesberger.net> wrote the original version
 of psmisc.  Since version 20 Craig Small <csmall@small.dropbear.id.au> 
 can be blamed.
 .SH "SEE ALSO"
index 0ad6065d77af3c928d6f66fedf76e7695f868473..c9a8640251d4d027b5ecf1c70890311eaaef9dbc 100644 (file)
@@ -1,4 +1,4 @@
-.TH PSTREE 1 "May 6, 1998" "Linux" "User Commands"
+.TH PSTREE 1 "September 26, 2003" "Linux" "User Commands"
 .SH NAME
 pstree \- display a tree of processes
 .SH SYNOPSIS
@@ -88,7 +88,7 @@ Display version information.
 /proc  location of the proc file system
 .fi
 .SH AUTHORS
-Werner Almesberger <Werner.Almesberger@epfl.ch>
+Werner Almesberger <werner@almesberger.net>
 Craig Small <csmall@small.dropbear.id.au>
 .SH "SEE ALSO"
 ps(1), top(1)
index fc8735c692d24bbee8b92f2a3728f67fa0e22490..088716e8183744eb910340e5dfd9fe6dad04083a 100644 (file)
@@ -118,6 +118,8 @@ AM_CFLAGS = -Wall -DLOCALEDIR=\"/usr/share/locale\"
 
 bin_PROGRAMS = fuser killall pstree
 
+bin_SCRIPTS = pstree.x11
+
 fuser_SOURCES = fuser.c comm.h signals.c signals.h signames.h loop.h
 
 killall_SOURCES = killall.c comm.h signals.c signals.h signames.h
@@ -130,7 +132,7 @@ pstree_LDADD = @TERMCAP_LIB@ @FLASK_LIB@
 
 BUILT_SOURCES = signames.h
 
-EXTRA_DIST = signames.c
+EXTRA_DIST = signames.c pstree.x11
 
 CLEANFILES = signames.h
 subdir = src
@@ -153,6 +155,8 @@ am_pstree_OBJECTS = pstree.$(OBJEXT)
 pstree_OBJECTS = $(am_pstree_OBJECTS)
 pstree_DEPENDENCIES =
 pstree_LDFLAGS =
+SCRIPTS = $(bin_SCRIPTS)
+
 
 DEFS = @DEFS@
 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
@@ -224,6 +228,27 @@ killall$(EXEEXT): $(killall_OBJECTS) $(killall_DEPENDENCIES)
 pstree$(EXEEXT): $(pstree_OBJECTS) $(pstree_DEPENDENCIES) 
        @rm -f pstree$(EXEEXT)
        $(LINK) $(pstree_LDFLAGS) $(pstree_OBJECTS) $(pstree_LDADD) $(LIBS)
+install-binSCRIPTS: $(bin_SCRIPTS)
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(bindir)
+       @list='$(bin_SCRIPTS)'; for p in $$list; do \
+         f="`echo $$p|sed '$(transform)'`"; \
+         if test -f $$p; then \
+           echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
+           $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
+         elif test -f $(srcdir)/$$p; then \
+           echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
+           $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
+         else :; fi; \
+       done
+
+uninstall-binSCRIPTS:
+       @$(NORMAL_UNINSTALL)
+       @list='$(bin_SCRIPTS)'; for p in $$list; do \
+         f="`echo $$p|sed '$(transform)'`"; \
+         echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+         rm -f $(DESTDIR)$(bindir)/$$f; \
+       done
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT) core *.core
@@ -314,10 +339,10 @@ distdir: $(DISTFILES)
        done
 check-am: all-am
 check: check-am
-all-am: Makefile $(PROGRAMS)
+all-am: Makefile $(PROGRAMS) $(SCRIPTS)
 
 installdirs:
-       $(mkinstalldirs) $(DESTDIR)$(bindir)
+       $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
 
 install: install-am
 install-exec: install-exec-am
@@ -363,7 +388,7 @@ info-am:
 
 install-data-am:
 
-install-exec-am: install-binPROGRAMS
+install-exec-am: install-binPROGRAMS install-binSCRIPTS
 
 install-info: install-info-am
 
@@ -380,24 +405,26 @@ mostlyclean: mostlyclean-am
 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
        mostlyclean-libtool
 
-uninstall-am: uninstall-binPROGRAMS uninstall-info-am
+uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
+       uninstall-info-am
 
 .PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
        clean-generic clean-libtool distclean distclean-compile \
        distclean-depend distclean-generic distclean-libtool \
        distclean-tags distdir dvi dvi-am info info-am install \
-       install-am install-binPROGRAMS install-data install-data-am \
-       install-exec install-exec-am install-info install-info-am \
-       install-man install-strip installcheck installcheck-am \
-       installdirs maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool tags uninstall uninstall-am \
-       uninstall-binPROGRAMS uninstall-info-am
+       install-am install-binPROGRAMS install-binSCRIPTS install-data \
+       install-data-am install-exec install-exec-am install-info \
+       install-info-am install-man install-strip installcheck \
+       installcheck-am installdirs maintainer-clean \
+       maintainer-clean-generic mostlyclean mostlyclean-compile \
+       mostlyclean-generic mostlyclean-libtool tags uninstall \
+       uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
+       uninstall-info-am
 
 
 signames.h: signames.c
                @CPP@ -dM $< |\
-               tr -s '\t ' ' ' | sort -n +2 | sed \
+               tr -s '\t ' ' ' | sort -n -k 3 | sed \
        's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$$:{\
 \2,"\1" },:p;d' | \
                  grep -v '[0-9][0-9][0-9]' >signames.h || \
index dd0c66183a7cf69e5638ad1670f29f261d65d56d..e2a9e6cb1eca2f41eea280e82e59bb21d2284857 100644 (file)
@@ -683,11 +683,7 @@ show_files_or_kill (void)
            putchar (':');
            length++;
          }
-       while (length < NAME_FIELD)
-         {
-           putchar (' ');
-           length++;
-         }
+
        first = 1;
        for (item = file->items; item; item = item->next)
          {
@@ -695,6 +691,13 @@ show_files_or_kill (void)
              {
                if (item->type != it_proc)
                  continue;
+        if ((first==1) && (item->u.proc.ref_set & (REF_FILE|REF_ROOT|REF_CWD|REF_EXE|REF_MMAP))) {
+    while (length < NAME_FIELD)
+    {
+      putchar (' ');
+      length++;
+    }
+        }
                if (item->u.proc.ref_set & REF_FILE)
                  printf ("%6d", item->u.proc.pid);
                if (item->u.proc.ref_set & REF_ROOT)
@@ -759,6 +762,12 @@ show_files_or_kill (void)
                  printf ("%*s", NAME_FIELD, "");
                else if (length > NAME_FIELD)
                  printf ("\n%*s", NAME_FIELD, "");
+        else
+          while (length < NAME_FIELD)
+          {
+            putchar (' ');
+            length++;
+          }
                printf (" %-8s ", user);
                switch (item->type)
                  {
@@ -797,8 +806,6 @@ show_files_or_kill (void)
          }
        if (!(file->flags & FLAG_VERB) || first)
          putchar ('\n');
-       if (first)
-         fprintf (stderr, _("No process references; use -v for the complete list\n"));
        if (file->flags & FLAG_KILL)
          for (item = file->items; item; item = item->next)
            kill_item (file, item);
index 03eb9fde9728cf38da8aa2599019a38fb19a8d2c..f98ac1c643f22e3f0dada590998666b15c32f046 100755 (executable)
Binary files a/src/pstree.x11 and b/src/pstree.x11 differ