* src/chcon.c (process_file): Append "\n" to --verbose diagnostic.
* tests/misc/chcon: Add a test for the above.
* NEWS: mention the bug fix
Reported by Carl D. Roth in http://bugzilla.redhat.com/451478.
** Bug fixes
+ chcon --verbose now prints a newline after each message
+
od no longer suffers from platform bugs in printf(3). This is
probably most noticeable when using 'od -tfL' to print long doubles.
if (ok)
{
if (verbose)
- printf (_("changing security context of %s"),
+ printf (_("changing security context of %s\n"),
quote (file_full_name));
if (change_file_context (fts->fts_cwd_fd, file) != 0)
compare out exp || fail=1
+chcon --verbose -u$u1 f > out || fail=1
+echo 'changing security context of `f'\' > exp
+compare out exp || fail=1
+
(exit $fail); exit $fail