Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation of CVS odoc with different locale #8460

Closed
vicuna opened this issue Jan 26, 2004 · 2 comments
Closed

Compilation of CVS odoc with different locale #8460

vicuna opened this issue Jan 26, 2004 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jan 26, 2004

Original bug ID: 2061
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Jacek Chrząszcz
Version: CVS (3.07+13)
OS: FC1
Submission from: fw-gw-atm.mimuw.edu.pl (193.0.96.15)

Hello,

While compiling ocaml in a shell with my polish-UTF-8 locale, the sed command
from ocamldoc/remove_DEBUG script does not handle french accents correctly,
provoking Syntax errors.

I propose the following patch to solve the problem

Jacek

----------------- cut here -----------------------
Index: remove_DEBUG

RCS file: /caml/ocaml/ocamldoc/remove_DEBUG,v
retrieving revision 1.1
diff -a -u -r1.1 remove_DEBUG
--- remove_DEBUG 2003/07/27 09:13:43 1.1
+++ remove_DEBUG 2004/01/26 13:42:57
@@ -5,4 +5,4 @@

respecting the cpp # line annotation conventions

echo "# 1 "$1""
-sed -e '/DEBUG/s/.//' "$1"
+LC_ALL=C sed -e '/DEBUG/s/.
//' "$1"

@vicuna
Copy link
Author

vicuna commented Feb 2, 2004

Comment author: administrator

Full_Name: Jacek Chrz?szcz

While compiling ocaml in a shell with my polish-UTF-8 locale, the sed command
from ocamldoc/remove_DEBUG script does not handle french accents correctly,
provoking Syntax errors.

I propose the following patch to solve the problem

Thanks for the bug report, and thanks for the patch. I have incorporated it
in the CVS version.

-- Damien

@vicuna
Copy link
Author

vicuna commented Feb 2, 2004

Comment author: administrator

fixed 2004-02-02 -DD

@vicuna vicuna closed this as completed Feb 2, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant