caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] About the UTF-8 bug when compiling OCaml 3.07pl2 on fedora
@ 2004-04-19  8:30 Maxence Guesdon
  2004-04-20  5:13 ` Alan Schmitt
  0 siblings, 1 reply; 2+ messages in thread
From: Maxence Guesdon @ 2004-04-19  8:30 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

Hello,

as more and more of our users tell us about this bug, I think I must
make an announce.

On fedora, when compiling OCaml 3.07pl2, the compilation fails in the ocamldoc
directory, because of the preprocessing script used to remove DEBUG lines
in ocamldoc sources.

This is already fixed in the CVS (by adding LC_ALL=C in the script).
I attached the new script remove_DEBUG.

Regards,

-- 
Maxence Guesdon

[-- Attachment #2: remove_DEBUG --]
[-- Type: application/octet-stream, Size: 1025 bytes --]

#!/bin/sh

#(***********************************************************************)
#(*                            OCamldoc                                 *)
#(*                                                                     *)
#(*            Damien Doligez, projet Moscova, INRIA Rocquencourt       *)
#(*                                                                     *)
#(*  Copyright 2003 Institut National de Recherche en Informatique et   *)
#(*  en Automatique.  All rights reserved.  This file is distributed    *)
#(*  under the terms of the Q Public License version 1.0.               *)
#(*                                                                     *)
#(***********************************************************************)

# $Id: remove_DEBUG,v 1.3 2004/04/15 16:18:52 doligez Exp $

# usage: remove_DEBUG <file>
# remove from <file> every line that contains the string "DEBUG",
# respecting the cpp # line annotation conventions

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-20  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-19  8:30 [Caml-list] About the UTF-8 bug when compiling OCaml 3.07pl2 on fedora Maxence Guesdon
2004-04-20  5:13 ` Alan Schmitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).