Comment 0 for bug 708897

Revision history for this message
Ákos Pálfi (akos-palfi) wrote : diff tool generates wrong unified diff

Binary package hint: diffutils

1) Ubuntu Release: 10.04 LTS 64-bit Hungarian

2) diffutils installed version: 1:2.8.1-18

3) Expected: diff tool should generate valid unified diff

4) What happened: The hungarian translation of diff generates wrong diff file, because the diff file contains "\ Nincs újsor a file végén" instead of "\ No newline at end of line".

How to reproduce:
a) install hungarian language pack
b) download and extract attached file
c) open a terminal and navigate to the directory where you extracted the files before
d) set language to hungarian by running: export LANG="hu_HU.utf8"
e) run: diff -rupN services-0.15 services-2.4 > result.diff
f) try to apply this patch by eclipse or patch (does not works)

The string "\ No newline at end of line" should not be translatable.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: diff (not installed)
ProcVersionSignature: Ubuntu 2.6.32-28.55-generic 2.6.32.27+drm33.12
Uname: Linux 2.6.32-28-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Jan 27 22:32:14 2011
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcEnviron:
 LANG=hu_HU.utf8
 SHELL=/bin/bash
SourcePackage: diffutils