Hello community,

here is the log from the commit of package ugrep for openSUSE:Factory checked 
in at 2020-12-08 13:24:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ugrep (Old)
 and      /work/SRC/openSUSE:Factory/.ugrep.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ugrep"

Tue Dec  8 13:24:25 2020 rev:13 rq:853607 version:3.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/ugrep/ugrep.changes      2020-11-29 
12:28:48.498025240 +0100
+++ /work/SRC/openSUSE:Factory/.ugrep.new.5913/ugrep.changes    2020-12-08 
13:25:46.186738305 +0100
@@ -1,0 +2,6 @@
+Mon Dec  7 14:40:18 UTC 2020 - Andreas Stieger <[email protected]>
+
+- ugrep 3.0.6:
+  * slightly improved error handling
+
+-------------------------------------------------------------------

Old:
----
  ugrep-3.0.5.tar.gz

New:
----
  ugrep-3.0.6.tar.gz

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

Other differences:
------------------
++++++ ugrep.spec ++++++
--- /var/tmp/diff_new_pack.lt7BgR/_old  2020-12-08 13:25:46.758739936 +0100
+++ /var/tmp/diff_new_pack.lt7BgR/_new  2020-12-08 13:25:46.762739948 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           ugrep
-Version:        3.0.5
+Version:        3.0.6
 Release:        0
 Summary:        Universal grep: a feature-rich grep implementation with focus 
on speed
 License:        BSD-3-Clause

++++++ ugrep-3.0.5.tar.gz -> ugrep-3.0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ugrep-3.0.5/README.md new/ugrep-3.0.6/README.md
--- old/ugrep-3.0.5/README.md   2020-11-17 20:31:01.000000000 +0100
+++ new/ugrep-3.0.6/README.md   2020-12-04 21:04:06.000000000 +0100
@@ -276,7 +276,7 @@
     $ cd ugrep
     $ ./build.sh --enable-pager
 
-Options to select build defaults include:
+Options to select defaults for builds include:
 
 - `--enable-hidden` search hidden files and directories
 - `--enable-pager` use a pager to display output on terminals
Binary files old/ugrep-3.0.5/bin/win32/ugrep.exe and 
new/ugrep-3.0.6/bin/win32/ugrep.exe differ
Binary files old/ugrep-3.0.5/bin/win64/ugrep.exe and 
new/ugrep-3.0.6/bin/win64/ugrep.exe differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ugrep-3.0.5/src/ugrep.cpp 
new/ugrep-3.0.6/src/ugrep.cpp
--- old/ugrep-3.0.5/src/ugrep.cpp       2020-11-17 20:31:01.000000000 +0100
+++ new/ugrep-3.0.6/src/ugrep.cpp       2020-12-04 21:04:06.000000000 +0100
@@ -67,7 +67,7 @@
 */
 
 // ugrep version
-#define UGREP_VERSION "3.0.5"
+#define UGREP_VERSION "3.0.6"
 
 // disable mmap because mmap is almost always slower than the file reading 
speed improvements since 3.0.0
 #define WITH_NO_MMAP
@@ -3545,6 +3545,9 @@
       ++lineno;
     }
 
+    if (ferror(file))
+      error("error while reading", flag_config_file.c_str());
+
     if (file != stdin)
       fclose(file);
 
@@ -3554,9 +3557,6 @@
 
       exit(EXIT_ERROR);
     }
-
-    if (ferror(file))
-      error("error while reading", flag_config_file.c_str());
   }
   else if (flag_config != NULL && *flag_config != '\0')
   {
@@ -3649,11 +3649,11 @@
 
   fprintf(file, "# Enable/disable sorted output, default: no-sort\n%s\n\n", 
flag_sort != NULL ? flag_sort : "no-sort");
 
-  if (file != stdout)
-    fclose(file);
-
   if (ferror(file))
     error("cannot save", flag_save_config);
+
+  if (file != stdout)
+    fclose(file);
 }
 
 // parse the command-line options
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to