print verbose output of chcon with newline after each message (#451478)

This commit is contained in:
Ondrej Vasik 2008-06-16 14:50:18 +00:00
parent c8e66e12c9
commit 3ed40da1f4
2 changed files with 22 additions and 1 deletions

View File

@ -240,6 +240,23 @@ diff -urp coreutils-6.10-orig/man/vdir.1 coreutils-6.10/man/vdir.1
.TP .TP
\fB\-\-help\fR \fB\-\-help\fR
display this help and exit display this help and exit
diff -urNp coreutils-6.12-orig/src/chcon.c coreutils-6.12/src/chcon.c
--- coreutils-6.12-orig/src/chcon.c 2008-05-26 08:40:32.000000000 +0200
+++ coreutils-6.12/src/chcon.c 2008-06-16 14:43:24.000000000 +0200
@@ -302,9 +302,11 @@ process_file (FTS *fts, FTSENT *ent)
if (ok)
{
- if (verbose)
- printf (_("changing security context of %s"),
+ if (verbose) {
+ printf (_("changing security context of %s"),
quote (file_full_name));
+ putchar ('\n');
+ }
if (change_file_context (fts->fts_cwd_fd, file) != 0)
ok = false;
diff -urp coreutils-6.10-orig/src/copy.c coreutils-6.10/src/copy.c diff -urp coreutils-6.10-orig/src/copy.c coreutils-6.10/src/copy.c
--- coreutils-6.10-orig/src/copy.c 2008-01-05 23:59:11.000000000 +0100 --- coreutils-6.10-orig/src/copy.c 2008-01-05 23:59:11.000000000 +0100
+++ coreutils-6.10/src/copy.c 2008-01-25 17:23:17.000000000 +0100 +++ coreutils-6.10/src/copy.c 2008-01-25 17:23:17.000000000 +0100

View File

@ -1,7 +1,7 @@
Summary: The GNU core utilities: a set of tools commonly used in shell scripts Summary: The GNU core utilities: a set of tools commonly used in shell scripts
Name: coreutils Name: coreutils
Version: 6.12 Version: 6.12
Release: 3%{?dist} Release: 4%{?dist}
License: GPLv3+ License: GPLv3+
Group: System Environment/Base Group: System Environment/Base
Url: http://www.gnu.org/software/coreutils/ Url: http://www.gnu.org/software/coreutils/
@ -312,6 +312,10 @@ fi
/sbin/runuser /sbin/runuser
%changelog %changelog
* Mon Jun 16 2008 Ondrej Vasik <ovasik@redhat.com> - 6.12-4
- print verbose output of chcon with newline after each
message (#451478)
* Fri Jun 06 2008 Ondrej Vasik <ovasik@redhat.com> - 6.12-3 * Fri Jun 06 2008 Ondrej Vasik <ovasik@redhat.com> - 6.12-3
- workaround for koji failures(#449910, #442352) now - workaround for koji failures(#449910, #442352) now
preserves timestamps correctly - fallback to supported preserves timestamps correctly - fallback to supported