Hello community,

here is the log from the commit of package forkstat for openSUSE:Factory 
checked in at 2017-06-26 15:53:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/forkstat (Old)
 and      /work/SRC/openSUSE:Factory/.forkstat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "forkstat"

Mon Jun 26 15:53:31 2017 rev:3 rq:505863 version:0.01.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/forkstat/forkstat.changes        2017-05-18 
20:50:14.035055450 +0200
+++ /work/SRC/openSUSE:Factory/.forkstat.new/forkstat.changes   2017-06-26 
15:53:32.992775741 +0200
@@ -1,0 +2,17 @@
+Thu Jun 22 08:15:16 UTC 2017 - mar...@gmx.de
+
+- update to version 0.01.19
+  * Makefile: bump version again
+  * Debian/control: update standards version to 4.0.0
+  * Update man page date
+  * forkstat: add flag for line buffered output
+
+-------------------------------------------------------------------
+Tue Jun 20 14:58:59 UTC 2017 - mar...@gmx.de
+
+- update to version 0.01.18
+  * Makefile: bump version
+  * Only add proc_info if strtol parses pid correctly.
+  * snapcraft: add default type and grade keys
+
+-------------------------------------------------------------------

Old:
----
  forkstat-0.01.17.tar.gz

New:
----
  forkstat-0.01.19.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ forkstat.spec ++++++
--- /var/tmp/diff_new_pack.3tOfrx/_old  2017-06-26 15:53:35.028488683 +0200
+++ /var/tmp/diff_new_pack.3tOfrx/_new  2017-06-26 15:53:35.032488119 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           forkstat
-Version:        0.01.17
+Version:        0.01.19
 Release:        0
 Summary:        Process fork/exec/exit monitoring tool
 License:        GPL-2.0+
@@ -44,7 +44,7 @@
 
 %files
 %defattr(-,root,root)
-%%doc COPYING
+%doc COPYING
 %{_bindir}/forkstat
 %{_mandir}/man8/forkstat.8%{ext_man}
 

++++++ forkstat-0.01.17.tar.gz -> forkstat-0.01.19.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/forkstat-0.01.17/Makefile 
new/forkstat-0.01.19/Makefile
--- old/forkstat-0.01.17/Makefile       2017-04-14 18:37:45.000000000 +0200
+++ new/forkstat-0.01.19/Makefile       2017-06-21 18:59:39.000000000 +0200
@@ -16,7 +16,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 
USA.
 #
 
-VERSION=0.01.17
+VERSION=0.01.19
 #
 # Version "Frantic Forking Finder"
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/forkstat-0.01.17/forkstat.8 
new/forkstat-0.01.19/forkstat.8
--- old/forkstat-0.01.17/forkstat.8     2017-04-14 18:37:45.000000000 +0200
+++ new/forkstat-0.01.19/forkstat.8     2017-06-21 18:59:39.000000000 +0200
@@ -2,7 +2,7 @@
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 .\" other parameters are allowed: see man(7), man(1)
-.TH FORKSTAT 8 "14 April, 2017"
+.TH FORKSTAT 8 "21 June, 2017"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:
@@ -25,6 +25,7 @@
 .RI [ \-D ]
 .RI [ \-e ]
 .RI [ \-h ]
+.RI [ \-l ]
 .RI [ \-s ]
 .RI [ \-S ]
 .RI [ \-q ]
@@ -88,6 +89,9 @@
 .TP
 .B \-q
 run quietly and enable the \-S option.
+.TP
+.B \-l
+set stdout to line-buffered mode.
 .SH EXAMPLES
 .LP
 Show process activity with short process names and directory base path 
stripped off:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/forkstat-0.01.17/forkstat.c 
new/forkstat-0.01.19/forkstat.c
--- old/forkstat-0.01.17/forkstat.c     2017-04-14 18:37:45.000000000 +0200
+++ new/forkstat-0.01.19/forkstat.c     2017-06-21 18:59:39.000000000 +0200
@@ -849,9 +849,10 @@
 
                        errno = 0;
                        pid = (pid_t)strtol(dirent->d_name, NULL, 10);
-                       (void)proc_info_add(pid, NULL);
-                       if (!errno)
+                       if (!errno) {
+                               (void)proc_info_add(pid, NULL);
                                proc_thread_info_add(pid);
+                       }
                }
        }
 
@@ -1188,11 +1189,12 @@
 static void show_help(char *const argv[])
 {
        printf("%s, version %s\n\n", APP_NAME, VERSION);
-       printf("usage: %s [-d|-D|-e|-h|-s|-S|-q]\n", argv[0]);
+       printf("usage: %s [-d|-D|-e|-h|-l|-s|-S|-q]\n", argv[0]);
        printf("-d\tstrip off directory path from process name.\n");
        printf("-D\tspecify run duration in seconds.\n");
        printf("-e\tselect which events to monitor.\n");
        printf("-h\tshow this help.\n");
+       printf("-l\tforce stdout line buffering.\n");
        printf("-s\tshow short process name.\n");
        printf("-S\tshow event statistics at end of the run.\n");
        printf("-q\trun quietly and enable -S option.\n");
@@ -1231,7 +1233,7 @@
        struct sigaction new_action;
 
        for (;;) {
-               int c = getopt(argc, argv, "dD:e:hsSq");
+               int c = getopt(argc, argv, "dD:e:hlsSq");
                if (c == -1)
                        break;
                switch (c) {
@@ -1262,6 +1264,12 @@
                case 'q':
                        opt_flags |= OPT_QUIET;
                        break;
+               case 'l':
+                       if (setvbuf(stdout, NULL, _IOLBF, 0) != 0) {
+                               fprintf(stderr, "Error setting line 
buffering.\n");
+                               exit(EXIT_FAILURE);
+                       }
+                       break;
                default:
                        show_help(argv);
                        exit(EXIT_FAILURE);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/forkstat-0.01.17/snapcraft/snapcraft.yaml 
new/forkstat-0.01.19/snapcraft/snapcraft.yaml
--- old/forkstat-0.01.17/snapcraft/snapcraft.yaml       2017-04-14 
18:37:45.000000000 +0200
+++ new/forkstat-0.01.19/snapcraft/snapcraft.yaml       2017-06-21 
18:59:39.000000000 +0200
@@ -1,8 +1,10 @@
 name: forkstat
-version: 0.01.16-20161115-107-bf63416
+version: 0
 summary: process fork/exec/exit monitoring tool
 description: Forkstat monitors process fork(), exec() and exit() activity.  It 
is useful for monitoring system behaviour and to track down rogue processes 
that are spawning off processes and potentially abusing the system.
 confinement: devmode
+type: app
+grade: stable
 
 parts:
     forkstat:


Reply via email to