Projects
openEuler:24.03:SP1:Everything
diffutils
_service:tar_scm:diff-Fix-output-of-diff-l-y-fo...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:diff-Fix-output-of-diff-l-y-for-non-ASCII-input-file.patch of Package diffutils
From cb52fa88d5f2d9bc4894a7eccd90fdc2e03f5af4 Mon Sep 17 00:00:00 2001 From: Bruno Haible <bruno@clisp.org> Date: Tue, 4 Jul 2023 18:45:33 +0200 Subject: [PATCH] diff: Fix output of "diff -l -y" for non-ASCII input files * src/side.c (print_half_line): Output the multibyte character to out, not stdout. --- src/side.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/side.c b/src/side.c index 2f566f8..46ef095 100644 --- a/src/side.c +++ b/src/side.c @@ -146,7 +146,7 @@ print_half_line (char const *const *line, intmax_t indent, intmax_t out_bound) if (in_position <= out_bound) { out_position = in_position; - fwrite (tp0, 1, bytes, stdout); + fwrite (tp0, 1, bytes, out); } text_pointer = tp0 + bytes; break; -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2