Imported Upstream version 3.11.2~rc1
authorStephane Glondu <steph@glondu.net>
Mon, 28 Dec 2009 15:11:12 +0000 (16:11 +0100)
committerStephane Glondu <steph@glondu.net>
Mon, 28 Dec 2009 15:11:12 +0000 (16:11 +0100)
1182 files changed:
Changes
INSTALL
Makefile
Makefile.nt
README
VERSION
_tags
asmcomp/alpha/arch.ml
asmcomp/alpha/emit.mlp
asmcomp/alpha/proc.ml
asmcomp/alpha/reload.ml
asmcomp/alpha/scheduling.ml
asmcomp/alpha/selection.ml
asmcomp/amd64/arch.ml
asmcomp/amd64/emit.mlp
asmcomp/amd64/emit_nt.mlp
asmcomp/amd64/proc.ml
asmcomp/amd64/proc_nt.ml
asmcomp/amd64/reload.ml
asmcomp/amd64/scheduling.ml
asmcomp/amd64/selection.ml
asmcomp/arm/arch.ml
asmcomp/arm/emit.mlp
asmcomp/arm/proc.ml
asmcomp/arm/reload.ml
asmcomp/arm/scheduling.ml
asmcomp/arm/selection.ml
asmcomp/asmgen.ml
asmcomp/asmgen.mli
asmcomp/asmlibrarian.ml
asmcomp/asmlibrarian.mli
asmcomp/asmlink.ml
asmcomp/asmlink.mli
asmcomp/asmpackager.ml
asmcomp/asmpackager.mli
asmcomp/clambda.ml
asmcomp/clambda.mli
asmcomp/closure.ml
asmcomp/closure.mli
asmcomp/cmm.ml
asmcomp/cmm.mli
asmcomp/cmmgen.ml
asmcomp/cmmgen.mli
asmcomp/codegen.ml
asmcomp/codegen.mli
asmcomp/coloring.ml
asmcomp/coloring.mli
asmcomp/comballoc.ml
asmcomp/comballoc.mli
asmcomp/compilenv.ml
asmcomp/compilenv.mli
asmcomp/emit.mli
asmcomp/emitaux.ml
asmcomp/emitaux.mli
asmcomp/hppa/arch.ml
asmcomp/hppa/emit.mlp
asmcomp/hppa/proc.ml
asmcomp/hppa/reload.ml
asmcomp/hppa/scheduling.ml
asmcomp/hppa/selection.ml
asmcomp/i386/arch.ml
asmcomp/i386/emit.mlp
asmcomp/i386/emit_nt.mlp
asmcomp/i386/proc.ml
asmcomp/i386/proc_nt.ml
asmcomp/i386/reload.ml
asmcomp/i386/scheduling.ml
asmcomp/i386/selection.ml
asmcomp/ia64/arch.ml
asmcomp/ia64/emit.mlp
asmcomp/ia64/proc.ml
asmcomp/ia64/reload.ml
asmcomp/ia64/scheduling.ml
asmcomp/ia64/selection.ml
asmcomp/interf.ml
asmcomp/interf.mli
asmcomp/linearize.ml
asmcomp/linearize.mli
asmcomp/liveness.ml
asmcomp/liveness.mli
asmcomp/mach.ml
asmcomp/mach.mli
asmcomp/mips/arch.ml
asmcomp/mips/emit.mlp
asmcomp/mips/proc.ml
asmcomp/mips/reload.ml
asmcomp/mips/scheduling.ml
asmcomp/mips/selection.ml
asmcomp/power/arch.ml
asmcomp/power/emit.mlp
asmcomp/power/proc.ml
asmcomp/power/reload.ml
asmcomp/power/scheduling.ml
asmcomp/power/selection.ml
asmcomp/printcmm.ml
asmcomp/printcmm.mli
asmcomp/printlinear.ml
asmcomp/printlinear.mli
asmcomp/printmach.ml
asmcomp/printmach.mli
asmcomp/proc.mli
asmcomp/reg.ml
asmcomp/reg.mli
asmcomp/reload.mli
asmcomp/reloadgen.ml
asmcomp/reloadgen.mli
asmcomp/schedgen.ml
asmcomp/schedgen.mli
asmcomp/scheduling.mli
asmcomp/selectgen.ml
asmcomp/selectgen.mli
asmcomp/selection.mli
asmcomp/sparc/arch.ml
asmcomp/sparc/emit.mlp
asmcomp/sparc/proc.ml
asmcomp/sparc/reload.ml
asmcomp/sparc/scheduling.ml
asmcomp/sparc/selection.ml
asmcomp/spill.ml
asmcomp/spill.mli
asmcomp/split.ml
asmcomp/split.mli
asmrun/Makefile
asmrun/Makefile.nt
asmrun/alpha.S
asmrun/amd64.S
asmrun/amd64nt.asm
asmrun/arm.S
asmrun/backtrace.c
asmrun/fail.c
asmrun/hppa.S
asmrun/i386.S
asmrun/i386nt.asm
asmrun/ia64.S
asmrun/m68k.S
asmrun/mips.s
asmrun/power-aix.S
asmrun/power-elf.S
asmrun/power-rhapsody.S
asmrun/roots.c
asmrun/signals_asm.c
asmrun/signals_osdep.h
asmrun/sparc.S
asmrun/stack.h
asmrun/startup.c
boot/.cvsignore
boot/ocamlc
boot/ocamldep
boot/ocamllex
build/boot-c-parts-windows.sh
build/boot-c-parts.sh
build/boot.sh
build/camlp4-bootstrap.sh
build/camlp4-byte-only.sh
build/camlp4-native-only.sh
build/camlp4-targets.sh
build/distclean.sh
build/fastworld.sh
build/install.sh
build/mkconfig.sh
build/mkmyocamlbuild_config.sh
build/mkruntimedef.sh
build/myocamlbuild.sh
build/ocamlbuild-byte-only.sh
build/ocamlbuild-native-only.sh
build/ocamlbuildlib-native-only.sh
build/otherlibs-targets.sh
build/partial-install.sh
build/targets.sh
build/world.all.sh
build/world.byte.sh
build/world.native.sh
build/world.sh
bytecomp/bytegen.ml
bytecomp/bytegen.mli
bytecomp/bytelibrarian.ml
bytecomp/bytelibrarian.mli
bytecomp/bytelink.ml
bytecomp/bytelink.mli
bytecomp/bytepackager.ml
bytecomp/bytepackager.mli
bytecomp/bytesections.ml
bytecomp/bytesections.mli
bytecomp/cmo_format.mli
bytecomp/dll.ml
bytecomp/dll.mli
bytecomp/emitcode.ml
bytecomp/emitcode.mli
bytecomp/instruct.ml
bytecomp/instruct.mli
bytecomp/lambda.ml
bytecomp/lambda.mli
bytecomp/matching.ml
bytecomp/matching.mli
bytecomp/meta.ml
bytecomp/meta.mli
bytecomp/printinstr.ml
bytecomp/printinstr.mli
bytecomp/printlambda.ml
bytecomp/printlambda.mli
bytecomp/runtimedef.mli
bytecomp/simplif.ml
bytecomp/simplif.mli
bytecomp/symtable.ml
bytecomp/symtable.mli
bytecomp/translclass.ml
bytecomp/translclass.mli
bytecomp/translcore.ml
bytecomp/translcore.mli
bytecomp/translmod.ml
bytecomp/translmod.mli
bytecomp/translobj.ml
bytecomp/translobj.mli
bytecomp/typeopt.ml
bytecomp/typeopt.mli
byterun/.cvsignore
byterun/Makefile
byterun/Makefile.common
byterun/Makefile.nt
byterun/alloc.c
byterun/alloc.h
byterun/array.c
byterun/backtrace.c
byterun/backtrace.h
byterun/callback.c
byterun/callback.h
byterun/compact.c
byterun/compact.h
byterun/compare.c
byterun/compare.h
byterun/compatibility.h
byterun/config.h
byterun/custom.c
byterun/custom.h
byterun/debugger.c
byterun/debugger.h
byterun/dynlink.c
byterun/dynlink.h
byterun/exec.h
byterun/extern.c
byterun/fail.c
byterun/fail.h
byterun/finalise.c
byterun/finalise.h
byterun/fix_code.c
byterun/fix_code.h
byterun/floats.c
byterun/freelist.c
byterun/freelist.h
byterun/gc.h
byterun/gc_ctrl.c
byterun/gc_ctrl.h
byterun/globroots.c
byterun/globroots.h
byterun/hash.c
byterun/instrtrace.c
byterun/instrtrace.h
byterun/instruct.h
byterun/int64_emul.h
byterun/int64_format.h
byterun/int64_native.h
byterun/intern.c
byterun/interp.c
byterun/interp.h
byterun/intext.h
byterun/ints.c
byterun/io.c
byterun/io.h
byterun/lexing.c
byterun/main.c
byterun/major_gc.c
byterun/major_gc.h
byterun/md5.c
byterun/md5.h
byterun/memory.c
byterun/memory.h
byterun/meta.c
byterun/minor_gc.c
byterun/minor_gc.h
byterun/misc.c
byterun/misc.h
byterun/mlvalues.h
byterun/obj.c
byterun/osdeps.h
byterun/parsing.c
byterun/prims.h
byterun/printexc.c
byterun/printexc.h
byterun/reverse.h
byterun/roots.c
byterun/roots.h
byterun/signals.c
byterun/signals.h
byterun/signals_byt.c
byterun/signals_machdep.h
byterun/stacks.c
byterun/stacks.h
byterun/startup.c
byterun/startup.h
byterun/str.c
byterun/sys.c
byterun/sys.h
byterun/terminfo.c
byterun/ui.h
byterun/unix.c
byterun/weak.c
byterun/weak.h
byterun/win32.c
camlp4/Makefile.ml
config/Makefile-templ
config/Makefile.mingw
config/Makefile.msvc
config/Makefile.msvc64
config/auto-aux/align.c
config/auto-aux/async_io.c
config/auto-aux/bytecopy.c
config/auto-aux/dblalign.c
config/auto-aux/divmod.c
config/auto-aux/elf.c
config/auto-aux/endian.c
config/auto-aux/getgroups.c
config/auto-aux/gethostbyaddr.c
config/auto-aux/gethostbyname.c
config/auto-aux/ia32sse2.c
config/auto-aux/int64align.c
config/auto-aux/longlong.c
config/auto-aux/schar.c
config/auto-aux/schar2.c
config/auto-aux/sighandler.c
config/auto-aux/signals.c
config/auto-aux/sizes.c
config/auto-aux/stackov.c
config/m-nt.h
config/m-templ.h
config/s-nt.h
config/s-templ.h
configure
debugger/.depend
debugger/Makefile
debugger/Makefile.nt
debugger/Makefile.shared
debugger/breakpoints.ml
debugger/breakpoints.mli
debugger/checkpoints.ml
debugger/checkpoints.mli
debugger/command_line.ml
debugger/command_line.mli
debugger/debugcom.ml
debugger/debugcom.mli
debugger/debugger_config.ml
debugger/debugger_config.mli
debugger/dynlink.ml
debugger/dynlink.mli
debugger/envaux.ml
debugger/envaux.mli
debugger/eval.ml
debugger/eval.mli
debugger/events.ml
debugger/events.mli
debugger/exec.ml
debugger/exec.mli
debugger/frames.ml
debugger/frames.mli
debugger/history.ml
debugger/history.mli
debugger/input_handling.ml
debugger/input_handling.mli
debugger/int64ops.ml
debugger/int64ops.mli
debugger/lexer.mli
debugger/lexer.mll
debugger/loadprinter.ml
debugger/loadprinter.mli
debugger/main.ml
debugger/parameters.ml
debugger/parameters.mli
debugger/parser.mly
debugger/parser_aux.mli
debugger/pattern_matching.ml
debugger/pattern_matching.mli
debugger/pos.ml
debugger/pos.mli
debugger/primitives.ml
debugger/primitives.mli
debugger/printval.ml
debugger/printval.mli
debugger/program_loading.ml
debugger/program_loading.mli
debugger/program_management.ml
debugger/program_management.mli
debugger/show_information.ml
debugger/show_information.mli
debugger/show_source.ml
debugger/show_source.mli
debugger/source.ml
debugger/source.mli
debugger/symbols.ml
debugger/symbols.mli
debugger/time_travel.ml
debugger/time_travel.mli
debugger/trap_barrier.ml
debugger/trap_barrier.mli
debugger/unix_tools.ml
debugger/unix_tools.mli
driver/compile.ml
driver/compile.mli
driver/errors.ml
driver/errors.mli
driver/main.ml
driver/main.mli
driver/main_args.ml
driver/main_args.mli
driver/optcompile.ml
driver/optcompile.mli
driver/opterrors.ml
driver/opterrors.mli
driver/optmain.ml
driver/optmain.mli
driver/pparse.ml
driver/pparse.mli
emacs/Makefile
emacs/README
emacs/caml-compat.el
emacs/caml-emacs.el
emacs/caml-font-old.el
emacs/caml-help.el
emacs/caml-hilit.el
emacs/caml-types.el
emacs/caml-xemacs.el
emacs/caml.el
emacs/camldebug.el
emacs/inf-caml.el
emacs/ocamltags.in
lex/Makefile
lex/Makefile.nt
lex/compact.ml
lex/compact.mli
lex/cset.ml
lex/cset.mli
lex/lexer.mli
lex/lexer.mll
lex/lexgen.ml
lex/lexgen.mli
lex/main.ml
lex/output.ml
lex/output.mli
lex/outputbis.ml
lex/outputbis.mli
lex/parser.mly
lex/syntax.ml
lex/syntax.mli
man/Makefile
man/ocaml.m
man/ocamlc.m
man/ocamlcp.m
man/ocamldebug.m
man/ocamldep.m
man/ocamldoc.m
man/ocamllex.m
man/ocamlmktop.m
man/ocamlopt.m
man/ocamlprof.m
man/ocamlrun.m
man/ocamlyacc.m
myocamlbuild.ml
myocamlbuild_config.mli
ocamlbuild/_tags
ocamlbuild/command.ml
ocamlbuild/ocaml_specific.ml
ocamlbuild/ocaml_utils.ml
ocamlbuild/ocamlbuild-presentation.rslide
ocamlbuild/ocamlbuild_plugin.ml
ocamlbuild/ocamlbuild_unix_plugin.ml
ocamlbuild/options.ml
ocamlbuild/plugin.ml
ocamlbuild/rule.ml
ocamlbuild/rule.mli
ocamlbuild/signatures.mli
ocamldoc/.cvsignore
ocamldoc/Makefile
ocamldoc/Makefile.nt
ocamldoc/odoc.ml
ocamldoc/odoc_analyse.ml
ocamldoc/odoc_analyse.mli
ocamldoc/odoc_args.ml
ocamldoc/odoc_args.mli
ocamldoc/odoc_ast.ml
ocamldoc/odoc_ast.mli
ocamldoc/odoc_class.ml
ocamldoc/odoc_comments.ml
ocamldoc/odoc_comments.mli
ocamldoc/odoc_comments_global.ml
ocamldoc/odoc_comments_global.mli
ocamldoc/odoc_config.ml
ocamldoc/odoc_config.mli
ocamldoc/odoc_control.ml
ocamldoc/odoc_cross.ml
ocamldoc/odoc_cross.mli
ocamldoc/odoc_dag2html.ml
ocamldoc/odoc_dag2html.mli
ocamldoc/odoc_dep.ml
ocamldoc/odoc_dot.ml
ocamldoc/odoc_env.ml
ocamldoc/odoc_env.mli
ocamldoc/odoc_exception.ml
ocamldoc/odoc_global.ml
ocamldoc/odoc_global.mli
ocamldoc/odoc_html.ml
ocamldoc/odoc_info.ml
ocamldoc/odoc_info.mli
ocamldoc/odoc_inherit.ml
ocamldoc/odoc_latex.ml
ocamldoc/odoc_latex_style.ml
ocamldoc/odoc_lexer.mll
ocamldoc/odoc_man.ml
ocamldoc/odoc_merge.ml
ocamldoc/odoc_merge.mli
ocamldoc/odoc_messages.ml
ocamldoc/odoc_misc.ml
ocamldoc/odoc_misc.mli
ocamldoc/odoc_module.ml
ocamldoc/odoc_name.ml
ocamldoc/odoc_name.mli
ocamldoc/odoc_ocamlhtml.mll
ocamldoc/odoc_parameter.ml
ocamldoc/odoc_parser.mly
ocamldoc/odoc_print.ml
ocamldoc/odoc_print.mli
ocamldoc/odoc_scan.ml
ocamldoc/odoc_search.ml
ocamldoc/odoc_search.mli
ocamldoc/odoc_see_lexer.mll
ocamldoc/odoc_sig.ml
ocamldoc/odoc_sig.mli
ocamldoc/odoc_str.ml
ocamldoc/odoc_str.mli
ocamldoc/odoc_test.ml
ocamldoc/odoc_texi.ml
ocamldoc/odoc_text.ml
ocamldoc/odoc_text.mli
ocamldoc/odoc_text_lexer.mll
ocamldoc/odoc_text_parser.mly
ocamldoc/odoc_to_text.ml
ocamldoc/odoc_type.ml
ocamldoc/odoc_types.ml
ocamldoc/odoc_types.mli
ocamldoc/odoc_value.ml
ocamldoc/remove_DEBUG
ocamldoc/runocamldoc
otherlibs/Makefile
otherlibs/Makefile.nt
otherlibs/Makefile.shared
otherlibs/bigarray/.cvsignore
otherlibs/bigarray/Makefile
otherlibs/bigarray/Makefile.nt
otherlibs/bigarray/bigarray.h
otherlibs/bigarray/bigarray.ml
otherlibs/bigarray/bigarray.mli
otherlibs/bigarray/bigarray_stubs.c
otherlibs/bigarray/mmap_unix.c
otherlibs/bigarray/mmap_win32.c
otherlibs/dbm/.cvsignore
otherlibs/dbm/Makefile
otherlibs/dbm/cldbm.c
otherlibs/dbm/dbm.ml
otherlibs/dbm/dbm.mli
otherlibs/dynlink/.cvsignore
otherlibs/dynlink/Makefile
otherlibs/dynlink/Makefile.nt
otherlibs/dynlink/dynlink.ml
otherlibs/dynlink/dynlink.mli
otherlibs/dynlink/extract_crc.ml
otherlibs/dynlink/natdynlink.ml
otherlibs/graph/.cvsignore
otherlibs/graph/Makefile
otherlibs/graph/color.c
otherlibs/graph/draw.c
otherlibs/graph/dump_img.c
otherlibs/graph/events.c
otherlibs/graph/fill.c
otherlibs/graph/graphics.ml
otherlibs/graph/graphics.mli
otherlibs/graph/graphicsX11.ml
otherlibs/graph/graphicsX11.mli
otherlibs/graph/image.c
otherlibs/graph/image.h
otherlibs/graph/libgraph.h
otherlibs/graph/make_img.c
otherlibs/graph/open.c
otherlibs/graph/point_col.c
otherlibs/graph/sound.c
otherlibs/graph/subwindow.c
otherlibs/graph/text.c
otherlibs/labltk/browser/dummyUnix.mli
otherlibs/labltk/browser/dummyWin.mli
otherlibs/labltk/browser/editor.ml
otherlibs/labltk/browser/editor.mli
otherlibs/labltk/browser/fileselect.ml
otherlibs/labltk/browser/fileselect.mli
otherlibs/labltk/browser/jg_bind.ml
otherlibs/labltk/browser/jg_bind.mli
otherlibs/labltk/browser/jg_box.ml
otherlibs/labltk/browser/jg_button.ml
otherlibs/labltk/browser/jg_completion.ml
otherlibs/labltk/browser/jg_completion.mli
otherlibs/labltk/browser/jg_config.ml
otherlibs/labltk/browser/jg_config.mli
otherlibs/labltk/browser/jg_entry.ml
otherlibs/labltk/browser/jg_memo.ml
otherlibs/labltk/browser/jg_memo.mli
otherlibs/labltk/browser/jg_menu.ml
otherlibs/labltk/browser/jg_message.ml
otherlibs/labltk/browser/jg_message.mli
otherlibs/labltk/browser/jg_multibox.ml
otherlibs/labltk/browser/jg_multibox.mli
otherlibs/labltk/browser/jg_text.ml
otherlibs/labltk/browser/jg_text.mli
otherlibs/labltk/browser/jg_tk.ml
otherlibs/labltk/browser/jg_toplevel.ml
otherlibs/labltk/browser/lexical.ml
otherlibs/labltk/browser/lexical.mli
otherlibs/labltk/browser/list2.ml
otherlibs/labltk/browser/main.ml
otherlibs/labltk/browser/mytypes.mli
otherlibs/labltk/browser/searchid.ml
otherlibs/labltk/browser/searchid.mli
otherlibs/labltk/browser/searchpos.ml
otherlibs/labltk/browser/searchpos.mli
otherlibs/labltk/browser/setpath.ml
otherlibs/labltk/browser/setpath.mli
otherlibs/labltk/browser/shell.ml
otherlibs/labltk/browser/shell.mli
otherlibs/labltk/browser/typecheck.ml
otherlibs/labltk/browser/typecheck.mli
otherlibs/labltk/browser/useunix.ml
otherlibs/labltk/browser/useunix.mli
otherlibs/labltk/browser/viewer.ml
otherlibs/labltk/browser/viewer.mli
otherlibs/labltk/builtin/LICENSE
otherlibs/labltk/compiler/compile.ml
otherlibs/labltk/compiler/intf.ml
otherlibs/labltk/compiler/lexer.mll
otherlibs/labltk/compiler/maincompile.ml
otherlibs/labltk/compiler/parser.mly
otherlibs/labltk/compiler/tables.ml
otherlibs/labltk/compiler/tsort.ml
otherlibs/labltk/examples_labltk/README
otherlibs/labltk/examples_labltk/calc.ml
otherlibs/labltk/examples_labltk/clock.ml
otherlibs/labltk/examples_labltk/demo.ml
otherlibs/labltk/examples_labltk/eyes.ml
otherlibs/labltk/examples_labltk/hello.ml
otherlibs/labltk/examples_labltk/taquin.ml
otherlibs/labltk/examples_labltk/tetris.ml
otherlibs/labltk/frx/.cvsignore [new file with mode: 0644]
otherlibs/labltk/frx/frx_entry.ml
otherlibs/labltk/frx/frx_fileinput.ml
otherlibs/labltk/frx/frx_font.ml
otherlibs/labltk/frx/frx_lbutton.ml
otherlibs/labltk/frx/frx_listbox.ml
otherlibs/labltk/frx/frx_req.ml
otherlibs/labltk/frx/frx_text.ml
otherlibs/labltk/frx/frx_widget.ml
otherlibs/labltk/jpf/.cvsignore [new file with mode: 0644]
otherlibs/labltk/jpf/balloon.ml
otherlibs/labltk/jpf/balloon.mli
otherlibs/labltk/jpf/balloontest.ml
otherlibs/labltk/jpf/fileselect.ml
otherlibs/labltk/jpf/fileselect.mli
otherlibs/labltk/lib/.cvsignore
otherlibs/labltk/support/.cvsignore [new file with mode: 0644]
otherlibs/labltk/support/camltk.h
otherlibs/labltk/support/cltkCaml.c
otherlibs/labltk/support/cltkDMain.c
otherlibs/labltk/support/cltkEval.c
otherlibs/labltk/support/cltkEvent.c
otherlibs/labltk/support/cltkFile.c
otherlibs/labltk/support/cltkMain.c
otherlibs/labltk/support/cltkMisc.c
otherlibs/labltk/support/cltkTimer.c
otherlibs/labltk/support/cltkUtf.c
otherlibs/labltk/support/cltkVar.c
otherlibs/labltk/support/cltkWait.c
otherlibs/labltk/support/fileevent.ml
otherlibs/labltk/support/fileevent.mli
otherlibs/labltk/support/protocol.ml
otherlibs/labltk/support/protocol.mli
otherlibs/labltk/support/rawwidget.ml
otherlibs/labltk/support/rawwidget.mli
otherlibs/labltk/support/slave.ml
otherlibs/labltk/support/support.ml
otherlibs/labltk/support/support.mli
otherlibs/labltk/support/textvariable.ml
otherlibs/labltk/support/textvariable.mli
otherlibs/labltk/support/timer.ml
otherlibs/labltk/support/timer.mli
otherlibs/labltk/support/tkthread.ml
otherlibs/labltk/support/tkthread.mli
otherlibs/labltk/support/tkwait.ml
otherlibs/labltk/support/widget.ml
otherlibs/labltk/support/widget.mli
otherlibs/labltk/tkanim/.cvsignore
otherlibs/num/.cvsignore
otherlibs/num/Makefile
otherlibs/num/Makefile.nt
otherlibs/num/arith_flags.ml
otherlibs/num/arith_flags.mli
otherlibs/num/arith_status.ml
otherlibs/num/arith_status.mli
otherlibs/num/big_int.ml
otherlibs/num/big_int.mli
otherlibs/num/bng.c
otherlibs/num/bng.h
otherlibs/num/bng_alpha.c
otherlibs/num/bng_amd64.c
otherlibs/num/bng_digit.c
otherlibs/num/bng_ia32.c
otherlibs/num/bng_mips.c
otherlibs/num/bng_ppc.c
otherlibs/num/bng_sparc.c
otherlibs/num/int_misc.ml
otherlibs/num/int_misc.mli
otherlibs/num/nat.h
otherlibs/num/nat.ml
otherlibs/num/nat.mli
otherlibs/num/nat_stubs.c
otherlibs/num/num.ml
otherlibs/num/num.mli
otherlibs/num/ratio.mli
otherlibs/num/test/Makefile
otherlibs/num/test/Makefile.nt
otherlibs/num/test/test_bng.c
otherlibs/str/.cvsignore
otherlibs/str/Makefile
otherlibs/str/Makefile.nt
otherlibs/str/str.ml
otherlibs/str/str.mli
otherlibs/str/strstubs.c
otherlibs/systhreads/.cvsignore
otherlibs/systhreads/Makefile
otherlibs/systhreads/Makefile.nt
otherlibs/systhreads/condition.ml
otherlibs/systhreads/condition.mli
otherlibs/systhreads/event.ml
otherlibs/systhreads/event.mli
otherlibs/systhreads/mutex.ml
otherlibs/systhreads/mutex.mli
otherlibs/systhreads/posix.c
otherlibs/systhreads/thread.mli
otherlibs/systhreads/threadUnix.ml
otherlibs/systhreads/threadUnix.mli
otherlibs/systhreads/thread_posix.ml
otherlibs/systhreads/thread_win32.ml
otherlibs/systhreads/win32.c
otherlibs/threads/.cvsignore
otherlibs/threads/Makefile
otherlibs/threads/condition.ml
otherlibs/threads/condition.mli
otherlibs/threads/event.ml
otherlibs/threads/event.mli
otherlibs/threads/marshal.ml
otherlibs/threads/mutex.ml
otherlibs/threads/mutex.mli
otherlibs/threads/pervasives.ml
otherlibs/threads/scheduler.c
otherlibs/threads/thread.ml
otherlibs/threads/thread.mli
otherlibs/threads/threadUnix.ml
otherlibs/threads/threadUnix.mli
otherlibs/threads/unix.ml
otherlibs/unix/.cvsignore
otherlibs/unix/Makefile
otherlibs/unix/accept.c
otherlibs/unix/access.c
otherlibs/unix/addrofstr.c
otherlibs/unix/alarm.c
otherlibs/unix/bind.c
otherlibs/unix/chdir.c
otherlibs/unix/chmod.c
otherlibs/unix/chown.c
otherlibs/unix/chroot.c
otherlibs/unix/close.c
otherlibs/unix/closedir.c
otherlibs/unix/connect.c
otherlibs/unix/cst2constr.c
otherlibs/unix/cst2constr.h
otherlibs/unix/cstringv.c
otherlibs/unix/dup.c
otherlibs/unix/dup2.c
otherlibs/unix/envir.c
otherlibs/unix/errmsg.c
otherlibs/unix/execv.c
otherlibs/unix/execve.c
otherlibs/unix/execvp.c
otherlibs/unix/exit.c
otherlibs/unix/fchmod.c
otherlibs/unix/fchown.c
otherlibs/unix/fcntl.c
otherlibs/unix/fork.c
otherlibs/unix/ftruncate.c
otherlibs/unix/getaddrinfo.c
otherlibs/unix/getcwd.c
otherlibs/unix/getegid.c
otherlibs/unix/geteuid.c
otherlibs/unix/getgid.c
otherlibs/unix/getgr.c
otherlibs/unix/getgroups.c
otherlibs/unix/gethost.c
otherlibs/unix/gethostname.c
otherlibs/unix/getlogin.c
otherlibs/unix/getnameinfo.c
otherlibs/unix/getpeername.c
otherlibs/unix/getpid.c
otherlibs/unix/getppid.c
otherlibs/unix/getproto.c
otherlibs/unix/getpw.c
otherlibs/unix/getserv.c
otherlibs/unix/getsockname.c
otherlibs/unix/gettimeofday.c
otherlibs/unix/getuid.c
otherlibs/unix/gmtime.c
otherlibs/unix/isatty.c
otherlibs/unix/itimer.c
otherlibs/unix/kill.c
otherlibs/unix/link.c
otherlibs/unix/listen.c
otherlibs/unix/lockf.c
otherlibs/unix/lseek.c
otherlibs/unix/mkdir.c
otherlibs/unix/mkfifo.c
otherlibs/unix/nice.c
otherlibs/unix/open.c
otherlibs/unix/opendir.c
otherlibs/unix/pipe.c
otherlibs/unix/putenv.c
otherlibs/unix/read.c
otherlibs/unix/readdir.c
otherlibs/unix/readlink.c
otherlibs/unix/rename.c
otherlibs/unix/rewinddir.c
otherlibs/unix/rmdir.c
otherlibs/unix/select.c
otherlibs/unix/sendrecv.c
otherlibs/unix/setgid.c
otherlibs/unix/setsid.c
otherlibs/unix/setuid.c
otherlibs/unix/shutdown.c
otherlibs/unix/signals.c
otherlibs/unix/sleep.c
otherlibs/unix/socket.c
otherlibs/unix/socketaddr.c
otherlibs/unix/socketaddr.h
otherlibs/unix/socketpair.c
otherlibs/unix/sockopt.c
otherlibs/unix/stat.c
otherlibs/unix/strofaddr.c
otherlibs/unix/symlink.c
otherlibs/unix/termios.c
otherlibs/unix/time.c
otherlibs/unix/times.c
otherlibs/unix/truncate.c
otherlibs/unix/umask.c
otherlibs/unix/unix.ml
otherlibs/unix/unix.mli
otherlibs/unix/unixLabels.ml
otherlibs/unix/unixLabels.mli
otherlibs/unix/unixsupport.c
otherlibs/unix/unixsupport.h
otherlibs/unix/unlink.c
otherlibs/unix/utimes.c
otherlibs/unix/wait.c
otherlibs/unix/write.c
otherlibs/win32graph/Makefile.nt
otherlibs/win32graph/dib.c
otherlibs/win32graph/draw.c
otherlibs/win32graph/events.c
otherlibs/win32graph/libgraph.h
otherlibs/win32graph/open.c
otherlibs/win32unix/Makefile.nt
otherlibs/win32unix/accept.c
otherlibs/win32unix/bind.c
otherlibs/win32unix/channels.c
otherlibs/win32unix/close.c
otherlibs/win32unix/close_on.c
otherlibs/win32unix/connect.c
otherlibs/win32unix/createprocess.c
otherlibs/win32unix/dup.c
otherlibs/win32unix/dup2.c
otherlibs/win32unix/errmsg.c
otherlibs/win32unix/getpeername.c
otherlibs/win32unix/getpid.c
otherlibs/win32unix/getsockname.c
otherlibs/win32unix/gettimeofday.c
otherlibs/win32unix/link.c
otherlibs/win32unix/listen.c
otherlibs/win32unix/lockf.c
otherlibs/win32unix/lseek.c
otherlibs/win32unix/mkdir.c
otherlibs/win32unix/nonblock.c
otherlibs/win32unix/open.c
otherlibs/win32unix/pipe.c
otherlibs/win32unix/read.c
otherlibs/win32unix/rename.c
otherlibs/win32unix/select.c
otherlibs/win32unix/sendrecv.c
otherlibs/win32unix/shutdown.c
otherlibs/win32unix/sleep.c
otherlibs/win32unix/socket.c
otherlibs/win32unix/socketaddr.h
otherlibs/win32unix/sockopt.c
otherlibs/win32unix/stat.c
otherlibs/win32unix/system.c
otherlibs/win32unix/unix.ml
otherlibs/win32unix/unixsupport.c
otherlibs/win32unix/unixsupport.h
otherlibs/win32unix/windbug.c
otherlibs/win32unix/windbug.h
otherlibs/win32unix/windir.c
otherlibs/win32unix/winlist.c
otherlibs/win32unix/winlist.h
otherlibs/win32unix/winwait.c
otherlibs/win32unix/winworker.c
otherlibs/win32unix/winworker.h
otherlibs/win32unix/write.c
parsing/asttypes.mli
parsing/lexer.mli
parsing/lexer.mll
parsing/linenum.mli
parsing/linenum.mll
parsing/location.ml
parsing/location.mli
parsing/longident.ml
parsing/longident.mli
parsing/parse.ml
parsing/parse.mli
parsing/parser.mly
parsing/parsetree.mli
parsing/printast.ml
parsing/printast.mli
parsing/syntaxerr.ml
parsing/syntaxerr.mli
stdlib/.cvsignore
stdlib/.depend
stdlib/Compflags
stdlib/Makefile
stdlib/Makefile.nt
stdlib/Makefile.shared
stdlib/StdlibModules
stdlib/arg.ml
stdlib/arg.mli
stdlib/array.ml
stdlib/array.mli
stdlib/arrayLabels.ml
stdlib/arrayLabels.mli
stdlib/buffer.ml
stdlib/buffer.mli
stdlib/callback.ml
stdlib/callback.mli
stdlib/camlinternalLazy.ml
stdlib/camlinternalLazy.mli
stdlib/camlinternalMod.ml
stdlib/camlinternalMod.mli
stdlib/camlinternalOO.ml
stdlib/camlinternalOO.mli
stdlib/char.ml
stdlib/char.mli
stdlib/complex.ml
stdlib/complex.mli
stdlib/digest.ml
stdlib/digest.mli
stdlib/filename.ml
stdlib/filename.mli
stdlib/format.ml
stdlib/format.mli
stdlib/gc.ml
stdlib/gc.mli
stdlib/genlex.ml
stdlib/genlex.mli
stdlib/hashtbl.ml
stdlib/hashtbl.mli
stdlib/header.c
stdlib/headernt.c
stdlib/int32.ml
stdlib/int32.mli
stdlib/int64.ml
stdlib/int64.mli
stdlib/lazy.ml
stdlib/lazy.mli
stdlib/lexing.ml
stdlib/lexing.mli
stdlib/list.ml
stdlib/list.mli
stdlib/listLabels.ml
stdlib/listLabels.mli
stdlib/map.ml
stdlib/map.mli
stdlib/marshal.ml
stdlib/marshal.mli
stdlib/moreLabels.ml
stdlib/moreLabels.mli
stdlib/nativeint.ml
stdlib/nativeint.mli
stdlib/obj.ml
stdlib/obj.mli
stdlib/oo.ml
stdlib/oo.mli
stdlib/parsing.ml
stdlib/parsing.mli
stdlib/pervasives.ml
stdlib/pervasives.mli
stdlib/printexc.ml
stdlib/printexc.mli
stdlib/printf.ml
stdlib/printf.mli
stdlib/queue.ml
stdlib/queue.mli
stdlib/random.ml
stdlib/random.mli
stdlib/scanf.ml
stdlib/scanf.mli
stdlib/set.ml
stdlib/set.mli
stdlib/sort.ml
stdlib/sort.mli
stdlib/stack.ml
stdlib/stack.mli
stdlib/stdLabels.ml
stdlib/stdLabels.mli
stdlib/std_exit.ml
stdlib/stdlib.mllib
stdlib/stream.ml
stdlib/stream.mli
stdlib/string.ml
stdlib/string.mli
stdlib/stringLabels.ml
stdlib/stringLabels.mli
stdlib/sys.mli
stdlib/sys.mlp
stdlib/weak.ml
stdlib/weak.mli
tools/Characters
tools/DoMake
tools/MakeDepend
tools/Makefile
tools/Makefile.nt
tools/Makefile.shared
tools/addlabels.ml
tools/checkstack.c
tools/cvt_emit.mll
tools/depend.ml
tools/depend.mli
tools/dumpapprox.ml
tools/dumpobj.ml
tools/keywords.r
tools/lexer299.mll
tools/lexer301.mll
tools/make-package-macosx
tools/objinfo.ml
tools/ocaml-objcopy-macosx
tools/ocaml299to3.ml
tools/ocamlcp.ml
tools/ocamldep.ml
tools/ocamlmklib.mlp
tools/ocamlmktop.ml
tools/ocamlmktop.tpl
tools/ocamlprof.ml
tools/primreq.ml
tools/profiling.ml
tools/profiling.mli
tools/scrapelabels.ml
toplevel/expunge.ml
toplevel/genprintval.ml
toplevel/genprintval.mli
toplevel/opttopdirs.ml
toplevel/opttopdirs.mli
toplevel/opttoploop.ml
toplevel/opttoploop.mli
toplevel/opttopmain.ml
toplevel/opttopmain.mli
toplevel/opttopstart.ml
toplevel/topdirs.ml
toplevel/topdirs.mli
toplevel/toploop.ml
toplevel/toploop.mli
toplevel/topmain.ml
toplevel/topmain.mli
toplevel/topstart.ml
toplevel/trace.ml
toplevel/trace.mli
typing/annot.mli
typing/btype.ml
typing/btype.mli
typing/ctype.ml
typing/ctype.mli
typing/datarepr.ml
typing/datarepr.mli
typing/env.ml
typing/env.mli
typing/ident.ml
typing/ident.mli
typing/includeclass.ml
typing/includeclass.mli
typing/includecore.ml
typing/includecore.mli
typing/includemod.ml
typing/includemod.mli
typing/mtype.ml
typing/mtype.mli
typing/oprint.ml
typing/oprint.mli
typing/outcometree.mli
typing/parmatch.ml
typing/parmatch.mli
typing/path.ml
typing/path.mli
typing/predef.ml
typing/predef.mli
typing/primitive.ml
typing/primitive.mli
typing/printtyp.ml
typing/printtyp.mli
typing/stypes.ml
typing/stypes.mli
typing/subst.ml
typing/subst.mli
typing/typeclass.ml
typing/typeclass.mli
typing/typecore.ml
typing/typecore.mli
typing/typedecl.ml
typing/typedecl.mli
typing/typedtree.ml
typing/typedtree.mli
typing/typemod.ml
typing/typemod.mli
typing/types.ml
typing/types.mli
typing/typetexp.ml
typing/typetexp.mli
typing/unused_var.ml
typing/unused_var.mli
utils/ccomp.ml
utils/ccomp.mli
utils/clflags.ml
utils/clflags.mli
utils/config.mlbuild
utils/config.mli
utils/config.mlp
utils/consistbl.ml
utils/consistbl.mli
utils/misc.ml
utils/misc.mli
utils/tbl.ml
utils/tbl.mli
utils/terminfo.ml
utils/terminfo.mli
utils/warnings.ml
utils/warnings.mli
win32caml/Makefile
win32caml/editbuffer.h
win32caml/inria.h
win32caml/libgraph.h
win32caml/menu.c
win32caml/ocaml.c
win32caml/ocaml.rc
win32caml/resource.h
win32caml/startocaml.c
yacc/Makefile
yacc/Makefile.nt
yacc/closure.c
yacc/defs.h
yacc/error.c
yacc/lalr.c
yacc/lr0.c
yacc/main.c
yacc/mkpar.c
yacc/output.c
yacc/reader.c
yacc/skeleton.c
yacc/symtab.c
yacc/verbose.c
yacc/warshall.c

diff --git a/Changes b/Changes
index 336cf39732cf293e8bd90f644df7bacc31394972..ac97c78406f5420db36de15b0cf1cd05b713e2bf 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,47 @@
+Objective Caml 3.11.2:
+----------------------
+
+Bug fixes:
+- PR#4151: better documentation for min and max w.r.t. NaN
+- PR#4421: ocamlbuild uses wrong compiler for C files
+- PR#4710, PR#4720: ocamlbuild does not use properly configuration information
+- PR#4750: under some Windows installations, high start-up times for Unix lib
+- PR#4777: problem with scanf and CRLF
+- PR#4810: BSD problem with socket addresses, e.g. in Unix.getnameinfo
+- PR#4813: issue with parsing of float literals by the GNU assembler
+- PR#4816: problem with modules and private types
+- PR#4818: missed opportunity for type-based optimization of bigarray accesses
+- PR#4821: check for duplicate method names in classes
+- PR#4823: build problem on Mac OS X
+- PR#4836: spurious errors raised by Unix.single_write under Windows
+- PR#4841, PR#4860, PR#4930: problem with ocamlopt -output-obj under Mac OS X
+- PR#4847: C compiler error with ocamlc -output-obj under Win64
+- PR#4856: ocamlbuild uses ocamlrun to execute a native plugin
+- PR#4867, PR#4760: ocamlopt -shared fails on Mac OS X 64bit
+- PR#4873: ocamlbuild ignores "thread" tag when building a custom toplevel
+- PR#4890: ocamlbuild tries to use native plugin on bytecode-only arch
+- PR#4896: ocamlbuild should always pass -I to tools for external libraries
+- PR#4900: small bug triggering automatic compaction even if max_overhead = 1M
+- PR#4902: bug in %.0F printf format
+- PR#4910: problem with format concatenation
+- PR#4922: ocamlbuild recompiles too many files
+- PR#4923: missing \xff for scanf %S
+- PR#4933: functors not handling private types correctly
+- Module Printf: the simple conversion %F (without width indication) was not
+           treated properly.
+- Makefile: problem with cygwin, flexdll, and symbolic links
+
+Feature wishes:
+- PR#9: (tentative implementation) make ocamldebug use #linenum annotations
+- PR#123, PR#4477: custom exception printers
+- PR#3456: Obj.double_field and Obj.set_double_field functions
+- PR#4003: destination directory can be given to Filename.[open_]temp_file
+- PR#4647: Buffer.blit function
+- PR#4685: access to Filename.dir_sep
+- PR#4703: support for debugging embedded applications
+- PR#4723: "clear_rules" function to empty the set of ocamlbuild rules
+- PR#4921: configure option to help cross-compilers
+
 Objective Caml 3.11.1:
 ----------------------
 
@@ -53,6 +97,7 @@ Other changes:
   (contributed by Jonathan Davies, Citrix).
 - Support for 64-bit mode in Solaris/x86 (PR#4670).
 
+
 Objective Caml 3.11.0:
 ----------------------
 
@@ -201,6 +246,7 @@ Bug fixes:
 - Small bugs in the make-package-macosx script
 - Bug in typing of polymorphic variants (reported on caml-list)
 
+
 Objective Caml 3.10.1:
 ----------------------
 
@@ -2442,4 +2488,4 @@ Caml Special Light 1.06:
 
 * First public release.
 
-$Id: Changes,v 1.183.2.18 2009/06/12 11:58:19 doligez Exp $
+$Id: Changes 9482 2009-12-22 13:32:12Z doligez $
diff --git a/INSTALL b/INSTALL
index cdb3436fbd925549ba74f45a42a2d9c1c9092359..ad24f4afe2ad4d4b7a6ed71708efd97cb0ddb9d8 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -109,7 +109,7 @@ The "configure" script accepts the following options:
 -as <assembler and options>     (default: determined automatically)
         The assembler to use for assembling ocamlopt-generated code.
 
--aspp <assembler and options>   (default: determined automatically>
+-aspp <assembler and options>   (default: determined automatically)
         The assembler to use for assembling the parts of the
         run-time system manually written in assembly language.
         This assembler must preprocess its input with the C preprocessor.
@@ -126,10 +126,13 @@ Examples:
   Installation in /usr, man pages in section "l":
     ./configure -bindir /usr/bin -libdir /usr/lib/ocaml -mandir /usr/man/manl
 
-  On a MacOSX/Intel Core 2 or MacOSX/PowerPC host, to build a 64-bit version
-  of OCaml:
+  On a MacOSX 10.5/Intel Core 2 or MacOSX 10.5/PowerPC host,
+  to build a 64-bit version of OCaml:
     ./configure -cc "gcc -m64"
 
+  On a MacOSX 10.6/Intel Core 2, to build a 32-bit version of OCaml:
+    ./configure -cc "gcc -m32" -as "as -arch i386" -aspp "gcc -m32 -c"
+
   On a Linux x86/64 bits host, to build a 32-bit version of OCaml:
     ./configure -cc "gcc -m32" -as "as --32" -aspp "gcc -m32 -c"
 
@@ -188,9 +191,9 @@ or:
         make opt > log.opt 2>&1     # in sh
         make opt >& log.opt         # in csh
 
-5- (Optional) If you want to compile fast versions of the Objective
-Caml compilers, you can compile them with the native-code compiler
-(they are compiled to bytecode by default).  Just do:
+5- Compile fast versions of the Objective Caml compilers, by
+compiling them with the native-code compiler (you have only compiled
+them to bytecode so far).  Just do:
 
         make opt.opt
 
index c33a2686b2393b7632b701fd136a7197c97e5306..80c6824236303ac6ea50f1bc8cf0391e28662b13 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.222.2.3 2009/05/19 14:46:13 doligez Exp $
+# $Id: Makefile 9480 2009-12-18 23:04:13Z doligez $
 
 # The main Makefile
 
@@ -567,10 +567,11 @@ alldepend::
 
 # The runtime system for the native-code compiler
 
-runtimeopt:
+runtimeopt: makeruntimeopt
+       cp asmrun/libasmrun.a stdlib/libasmrun.a
+
+makeruntimeopt:
        cd asmrun; $(MAKE) all
-       if test -f stdlib/libasmrun.a; then :; else \
-          ln -s ../asmrun/libasmrun.a stdlib/libasmrun.a; fi
 
 clean::
        cd asmrun; $(MAKE) clean
@@ -762,6 +763,6 @@ distclean:
 .PHONY: ocamldoc.opt ocamllex ocamllex.opt ocamltools ocamltools.opt
 .PHONY: ocamlyacc opt-core opt opt.opt otherlibraries
 .PHONY: otherlibrariesopt package-macosx promote promote-cross
-.PHONY: restore runtime runtimeopt world world.opt
+.PHONY: restore runtime runtimeopt makeruntimeopt world world.opt
 
 include .depend
index 4a6051399af6bf1da0bd1b318fca1cedd738745a..a157fbf1f7575d86a521157a49d74f5fcd57400e 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.113.2.1 2008/11/10 16:13:20 ertai Exp $
+# $Id: Makefile.nt 9127 2008-11-10 16:13:20Z ertai $
 
 # The main Makefile
 
diff --git a/README b/README
index aa54cbea5c9c07cdb9b42e85e651b149477c5054..5252ab87472e836f909d141e3d5a7160d61d5218 100644 (file)
--- a/README
+++ b/README
@@ -135,4 +135,4 @@ You can also contact the implementors directly at caml@inria.fr.
 
 
 ----
-$Id: README,v 1.44.14.1 2008/12/02 17:11:22 xleroy Exp $
+$Id: README 9146 2008-12-02 17:11:22Z xleroy $
diff --git a/VERSION b/VERSION
index 24c859568c93cc551431a7600a6dc4e1a6921a45..7798db3fc36f4ccb1c25e55125d4609d7544bd53 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,6 +1,6 @@
-3.11.1
+3.11.2+rc1
 
 # The version string is the first line of this file.
 # It must be in the format described in stdlib/sys.mli
 
-# $Id: VERSION,v 1.26.2.19 2009/06/12 11:58:19 doligez Exp $
+# $Id: VERSION 9500 2009-12-28 13:13:23Z doligez $
diff --git a/_tags b/_tags
index 37ba928ef42e33f9938c48ab8caf5b6e7956748e..bb10f436b5e8a4a12b6456075dd028aae46a0a70 100644 (file)
--- a/_tags
+++ b/_tags
@@ -55,6 +55,7 @@ true: use_stdlib
 <otherlibs/num/nums.cm{,x}a> or <otherlibs/dbm/dbm.cm{,x}a>: ocamlmklib
 <otherlibs/{,win32}graph/graphics.cm{,x}a>: ocamlmklib
 <otherlibs/threads/threads.cm{,x}a>: ocamlmklib
+"otherlibs/threads/unix.cma": ocamlmklib
 <otherlibs/bigarray/bigarray.cm{,x}a>: ocamlmklib
 
 <otherlibs/{bigarray,systhreads}/**.ml*>: include_unix
@@ -70,6 +71,7 @@ true: use_stdlib
 <otherlibs/bigarray/**>: otherlibs_bigarray
 <otherlibs/num/**>: otherlibs_num
 <otherlibs/threads/**>: otherlibs_threads
+"otherlibs/threads/unix.cma": -otherlibs_threads
 <otherlibs/systhreads/**>: otherlibs_systhreads
 <otherlibs/dbm/**>: otherlibs_dbm
 <otherlibs/graph/**>: otherlibs_graph
index 46eae60db850cb3c5e028880696d33b17fb961cd..773397c127b47e06dcc685ecf5f79b6851fe59d6 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arch.ml,v 1.10 2002/11/29 15:03:36 xleroy Exp $ *)
+(* $Id: arch.ml 5304 2002-11-29 15:03:37Z xleroy $ *)
 
 (* Specific operations for the Alpha processor *)
 
index 3ef5cd45bc7ba3951ef9268af2ad26e1d24f0946..aa6003ac06637773cc40703c1b0b634eefe4c661 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit.mlp,v 1.42 2006/04/16 23:28:14 doligez Exp $ *)
+(* $Id: emit.mlp 9314 2009-07-15 12:14:39Z xleroy $ *)
 
 module LabelSet =
   Set.Make(struct type t = Linearize.label let compare = compare end)
@@ -793,9 +793,9 @@ let emit_item = function
            long decimal constants *)
         `      .quad   0x{emit_string(Nativeint.format "%x" n)}\n`
   | Csingle f ->
-      `        .float  {emit_string f}\n`
+      emit_float32_directive ".long" f
   | Cdouble f ->
-      `        .double {emit_string f}\n`
+      emit_float64_directive ".quad" f
   | Csymbol_address s ->
       `        .quad   {emit_symbol s}\n`
   | Clabel_address lbl ->
index 2688b1469d9cfd873490e4e999dc6216bce4b5ce..9d8943587131f4b08cf3d635f2a502c4661b0f17 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc.ml,v 1.7 2007/10/30 12:37:16 xleroy Exp $ *)
+(* $Id: proc.ml 8462 2007-10-30 12:37:16Z xleroy $ *)
 
 (* Description of the Alpha processor *)
 
index 17f0a3712290d8b339c4b04cef95d8970e035d50..e95a99098c8bdf5d50db03d5045065af00fd1b04 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reload.ml,v 1.3 1999/11/17 18:56:40 xleroy Exp $ *)
+(* $Id: reload.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Reloading for the Alpha *)
 
index 47a6b92de9287090087eeddab0b954580d70db3d..3f6ca8af2225260873ba1a582c58c96db5f5a5d6 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scheduling.ml,v 1.6 1999/11/17 18:56:40 xleroy Exp $ *)
+(* $Id: scheduling.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 open Arch
 open Mach
index 530c2f20010e30aba82fba5ed2c57ea7d726901d..22a0ab456d2ee17beabd0d64255739beafb15e50 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selection.ml,v 1.12 2001/07/24 08:01:25 xleroy Exp $ *)
+(* $Id: selection.ml 3593 2001-07-24 08:01:25Z xleroy $ *)
 
 (* Instruction selection for the Alpha processor *)
 
index b0b5534e9975d49b79d885ca9d3a08d3e5fad297..fe52e54d3425fa680f82866fad7aab7e0a102e35 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arch.ml,v 1.3 2007/01/01 13:07:35 xleroy Exp $ *)
+(* $Id: arch.ml 7784 2007-01-01 13:07:35Z xleroy $ *)
 
 (* Machine-specific command-line options *)
 
index a5b4643f9d73f59ac35d1fb284e5efc000e72c09..4a3f84487a1bb0f3005ba872cfe78e4ccb18b550 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit.mlp,v 1.16.2.4 2009/03/28 15:10:04 xleroy Exp $ *)
+(* $Id: emit.mlp 9475 2009-12-16 10:04:38Z xleroy $ *)
 
 (* Emission of x86-64 (AMD 64) assembly code *)
 
@@ -576,33 +576,26 @@ let emit_instr fallthrough i =
             end
     | Lswitch jumptbl ->
         let lbl = new_label() in
-        if !pic_code || !Clflags.dlcode then begin
-          (* PR#4424: r11 is known to be clobbered by the Lswitch,
-             meaning that no variable that is live across the Lswitch
-             is assigned to r11.  However, the argument to Lswitch
-             can still be assigned to r11, so we need to special-case 
-             this situation. *)
-          if i.arg.(0).loc = Reg 9 (* ie r11, cf amd64/proc.ml *) then begin
-            `  salq    $3, %r11\n`;
-            `  pushq   %r11\n`;
-            `  leaq    {emit_label lbl}(%rip), %r11\n`;
-            `  addq    0(%rsp), %r11\n`;
-            `  addq    $8, %rsp\n`;
-            `  jmp     *(%r11)\n`
-          end else begin
-            `  leaq    {emit_label lbl}(%rip), %r11\n`;
-            `  jmp     *(%r11, {emit_reg i.arg.(0)}, 8)\n`
-          end
-        end else begin
-          `    jmp     *{emit_label lbl}(, {emit_reg i.arg.(0)}, 8)\n`
-        end;
+        (* rax and rdx are clobbered by the Lswitch,
+           meaning that no variable that is live across the Lswitch
+           is assigned to rax or rdx.  However, the argument to Lswitch
+           can still be assigned to one of these two registers, so
+           we must be careful not to clobber it before use. *)
+        let (tmp1, tmp2) =
+          if i.arg.(0).loc = Reg 0 (* rax *)
+          then (phys_reg 4 (*rdx*), phys_reg 0 (*rax*))
+          else (phys_reg 0 (*rax*), phys_reg 4 (*rdx*)) in
+        `      leaq    {emit_label lbl}(%rip), {emit_reg tmp1}\n`;
+        `      movslq  ({emit_reg tmp1}, {emit_reg i.arg.(0)}, 4), {emit_reg tmp2}\n`;
+        `      addq    {emit_reg tmp2}, {emit_reg tmp1}\n`;
+        `      jmp     *{emit_reg tmp1}\n`;
         if macosx
         then ` .const\n`
         else ` .section .rodata\n`;
-        emit_align 8;
+        emit_align 4;
         `{emit_label lbl}:`;
         for i = 0 to Array.length jumptbl - 1 do
-          `    .quad   {emit_label jumptbl.(i)}\n`
+          `    .long   {emit_label jumptbl.(i)} - {emit_label lbl}\n`
         done;
         `      .text\n`
     | Lsetuptrap lbl ->
@@ -635,7 +628,8 @@ let rec emit_all fallthrough i =
 (* Emission of the floating-point constants *)
 
 let emit_float_constant (lbl, cst) =
-  `{emit_label lbl}:   .double {emit_string cst}\n`
+  `{emit_label lbl}:`;
+  emit_float64_directive ".quad" cst
 
 (* Emission of the profiling prelude *)
 
@@ -668,7 +662,9 @@ let fundecl fundecl =
   bound_error_call := 0;
   `    .text\n`;
   emit_align 16;
-  if macosx && is_generic_function fundecl.fun_name
+  if macosx
+  && not !Clflags.output_c_object
+  && is_generic_function fundecl.fun_name
   then (* PR#4690 *)
     `  .private_extern {emit_symbol fundecl.fun_name}\n`
   else
@@ -713,9 +709,9 @@ let emit_item = function
   | Cint n ->
       `        .quad   {emit_nativeint n}\n`
   | Csingle f ->
-      `        .float  {emit_string f}\n`
+      emit_float32_directive ".long" f
   | Cdouble f ->
-      `        .double {emit_string f}\n`
+      emit_float64_directive ".quad" f
   | Csymbol_address s ->
       `        .quad   {emit_symbol s}\n`
   | Clabel_address lbl ->
index cbe7f1222902c663225a457cba4fcea30319b2c3..d1a06e6ac856497c1755b68d9d2f050eacadb298 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit_nt.mlp,v 1.7 2008/01/11 16:13:11 doligez Exp $ *)
+(* $Id: emit_nt.mlp 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (* Emission of x86-64 (AMD 64) assembly code, MASM syntax *)
 
index d6766eeeb522911ac8b9697047a0844944fd70b1..35f938e4f19c4b8f645fcf48ea19e17fb6eb7219 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc.ml,v 1.5.4.1 2009/03/28 15:52:13 xleroy Exp $ *)
+(* $Id: proc.ml 9342 2009-09-18 13:49:21Z xleroy $ *)
 
 (* Description of the AMD64 processor *)
 
@@ -92,7 +92,6 @@ let phys_reg n =
 let rax = phys_reg 0
 let rcx = phys_reg 5
 let rdx = phys_reg 4
-let r11 = phys_reg 9
 let rxmm15 = phys_reg 115
 
 let stack_slot slot ty =
@@ -170,7 +169,7 @@ let destroyed_at_oper = function
   | Iop(Istore(Single, _)) -> [| rxmm15 |]
   | Iop(Ialloc _ | Iintop(Icomp _) | Iintop_imm((Idiv|Imod|Icomp _), _))
         -> [| rax |]
-  | Iswitch(_, _) when !pic_code || !Clflags.dlcode -> [| r11 |]
+  | Iswitch(_, _) -> [| rax; rdx |]
   | _ -> [||]
 
 let destroyed_at_raise = all_phys_regs
index a8be92d76d2661c8299ce55b41402fca5c66e50b..3379b1675991e319b53b7ccb9607f3b0ad0c0b8d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc_nt.ml,v 1.4 2007/10/30 12:37:16 xleroy Exp $ *)
+(* $Id: proc_nt.ml 8462 2007-10-30 12:37:16Z xleroy $ *)
 
 (* Description of the AMD64 processor with Win64 conventions *)
 
index dc8222a66a8ef5821a48cfffc8c07652e4edd040..2f742b90de7b6a9ae56c1f3495f0fe4f461a9605 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reload.ml,v 1.6 2007/11/06 15:16:55 frisch Exp $ *)
+(* $Id: reload.ml 8477 2007-11-06 15:16:56Z frisch $ *)
 
 open Cmm
 open Arch
index 972c47c2ca12cb6017ba74389edfe1689644a449..aeecf9e36a46b3c5a0e8e29176a328293338d715 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scheduling.ml,v 1.1 2003/06/30 08:28:44 xleroy Exp $ *)
+(* $Id: scheduling.ml 5634 2003-06-30 08:28:48Z xleroy $ *)
 
 open Schedgen (* to create a dependency *)
 
index 0d5acf843bb9d8ac9490206b3601fc59bfa10b1b..143f7eba0f8cb773476403e24f330b4d1f0bb290 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selection.ml,v 1.7.4.1 2008/10/29 14:32:01 xleroy Exp $ *)
+(* $Id: selection.ml 9114 2008-10-29 14:32:01Z xleroy $ *)
 
 (* Instruction selection for the AMD64 *)
 
index a2b0027e73cc2178fc968ce1fb96ac9b57cb2f38..998fa4bb7a4403bbdea1b6549ea9e9025f424e60 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arch.ml,v 1.9 2002/11/29 15:03:36 xleroy Exp $ *)
+(* $Id: arch.ml 5304 2002-11-29 15:03:37Z xleroy $ *)
 
 (* Specific operations for the ARM processor *)
 
index 73f5a38ec80f515fd5702f2f2d6c436267a0aa2f..0f5255ada765c28b3ec38eba364fc53270403448 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit.mlp,v 1.19 2008/01/11 16:13:11 doligez Exp $ *)
+(* $Id: emit.mlp 9314 2009-07-15 12:14:39Z xleroy $ *)
 
 (* Emission of ARM assembly code *)
 
@@ -625,6 +625,9 @@ let emit_item = function
   | Csingle f ->
       `        .float  {emit_string    f}\n`
   | Cdouble f ->
+      (* FIXME: this version of the ARM port is mixed-endian, so we
+         use .double instead of emit_float64_directive.  The next
+         version is little-endian, so we'll use emit_float64 then. *)
       `        .align  0\n`;
       `        .double {emit_string f}\n`
   | Csymbol_address s ->
index 942a3a6e3faa770503c3108f1b98af7fb24dd55d..ae0f4c12d736e82401292d127f2c4ef6510b34ba 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc.ml,v 1.9 2007/10/30 12:37:16 xleroy Exp $ *)
+(* $Id: proc.ml 8462 2007-10-30 12:37:16Z xleroy $ *)
 
 (* Description of the ARM processor *)
 
index 0ec090d1179c71e4d57bc4f6689a057a5d54192c..09174387396adc9e91814e38aa7bc4bbaa91e921 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reload.ml,v 1.4 1999/11/17 18:56:41 xleroy Exp $ *)
+(* $Id: reload.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Reloading for the ARM *)
 
index 533a21757b91979a911c714f21c723a4ebff0baa..930e1bc2e6c6a83c7d5b95d5ae5cdc32110a03aa 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scheduling.ml,v 1.4 1999/11/17 18:56:41 xleroy Exp $ *)
+(* $Id: scheduling.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 open Mach
 
index 40c100a06c0e5ecb5d20d172f3dd6f5d2df238ec..929f0347f1b64ab8b32c58976ace2308c8d33823 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selection.ml,v 1.7 2008/01/11 16:13:11 doligez Exp $ *)
+(* $Id: selection.ml 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (* Instruction selection for the ARM processor *)
 
index f240ecf285eb7f3979ea327907dfe2e4825b1d5d..0fa0d9fb4e9db903d5f6d438d391fcdcd2ce7f47 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: asmgen.ml,v 1.22 2008/07/24 05:35:22 frisch Exp $ *)
+(* $Id: asmgen.ml 8930 2008-07-24 05:35:22Z frisch $ *)
 
 (* From lambda to assembly code *)
 
index 788e3263d9075072790edd68a4e8dabad17ce054..19a79c84e1a45318ffb07873bbbd6d311b837f8f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: asmgen.mli,v 1.8 2007/11/06 15:16:55 frisch Exp $ *)
+(* $Id: asmgen.mli 8477 2007-11-06 15:16:56Z frisch $ *)
 
 (* From lambda to assembly code *)
 
index b2ff5624db4f4fc6d52316ecd8d605ee547d4145..68f8b2f0a3887d5cc7ca449b43974e39763c834b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: asmlibrarian.ml,v 1.14 2005/09/24 16:45:56 xleroy Exp $ *)
+(* $Id: asmlibrarian.ml 7079 2005-09-24 16:45:56Z xleroy $ *)
 
 (* Build libraries of .cmx files *)
 
index 9b60488dd609a22793bf2e23047668f09c142ada..0224d89a84fa3ebdab4aa1a8261f11aa99e9d5a3 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: asmlibrarian.mli,v 1.6 2000/04/21 08:10:27 weis Exp $ *)
+(* $Id: asmlibrarian.mli 3123 2000-04-21 08:13:22Z weis $ *)
 
 (* Build libraries of .cmx files *)
 
index 8ec81f562a4d220a49824f2fdeaa01abbb040cf3..b4e2ab9c326a37e74795d383a8f76f56fb9bfe49 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: asmlink.ml,v 1.78 2008/01/31 09:13:07 frisch Exp $ *)
+(* $Id: asmlink.ml 9338 2009-09-16 14:03:37Z garrigue $ *)
 
 (* Link a set of .cmx/.o files and produce an executable *)
 
@@ -259,6 +259,7 @@ let link_shared ppf objfiles output_name =
     (fun (info, file_name, crc) -> check_consistency file_name info crc)
     units_tolink;
   Clflags.ccobjs := !Clflags.ccobjs @ !lib_ccobjs;
+  Clflags.ccopts := !lib_ccopts @ !Clflags.ccopts;
   let objfiles = List.rev (List.map object_file_name objfiles) @
     !Clflags.ccobjs in
 
index 77a0544ea624627dd3cba7b57e904d61b96e4024..301e92030bc15d69dabe2c9aa36fac02ff72c00a 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: asmlink.mli,v 1.12 2007/11/06 15:16:55 frisch Exp $ *)
+(* $Id: asmlink.mli 8477 2007-11-06 15:16:56Z frisch $ *)
 
 (* Link a set of .cmx/.o files and produce an executable or a plugin *)
 
index a4152d99c25883a457ec5edc05c19a28e7ee5161..8be1521c38450895306d1dac3872f54da5f3a00b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: asmpackager.ml,v 1.26 2007/11/15 16:09:57 frisch Exp $ *)
+(* $Id: asmpackager.ml 8523 2007-11-15 16:09:57Z frisch $ *)
 
 (* "Package" a set of .cmx/.o files into one .cmx/.o file having the
    original compilation units as sub-modules. *)
index 1e4e11d7cbc34fc8fb9239782df7e6f8a16b5321..9d47e851f0c2432bda0bad241c4ca5fe92844962 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: asmpackager.mli,v 1.2 2005/08/01 15:51:09 xleroy Exp $ *)
+(* $Id: asmpackager.mli 7003 2005-08-01 15:51:09Z xleroy $ *)
 
 (* "Package" a set of .cmx/.o files into one .cmx/.o file having the
    original compilation units as sub-modules. *)
index 2d264d149656cca33bf64a66c4e45ded9d59a7d1..ec836be11dca7e69b481580273edaa0740129ebb 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: clambda.ml,v 1.17 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: clambda.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* A variant of the "lambda" code with direct / indirect calls explicit
    and closures explicit too *)
index 2f7525016d423da1c34757d85180d5e2d8d22422..82d356003e8dfee66fc4ed0d0bf551e34c09ac9b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: clambda.mli,v 1.17 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: clambda.mli 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* A variant of the "lambda" code with direct / indirect calls explicit
    and closures explicit too *)
index 30405234ce45df165240446f03a45696d61130f8..544772a6f656564ec49ce8a3559de23237f0c450 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: closure.ml,v 1.55 2008/08/01 12:52:14 xleroy Exp $ *)
+(* $Id: closure.ml 8966 2008-08-01 12:52:14Z xleroy $ *)
 
 (* Introduction of closures, uncurrying, recognition of direct calls *)
 
index eac7ce396e30d0cedc0472d11c41cc6b0c98ede2..f0decfcfe67246ee2b24512c0ca9df57bc9295f5 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: closure.mli,v 1.5 1999/11/17 18:56:30 xleroy Exp $ *)
+(* $Id: closure.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Introduction of closures, uncurrying, recognition of direct calls *)
 
index 1caa179c463e12bb42eec60ef0137554f065066d..234da9fa6c7e19627175913121f65fe31c861505 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: cmm.ml,v 1.21 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: cmm.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 type machtype_component =
     Addr
index b2d29b8193a6f1e5c73af27822489934b34922ba..79b00697ac7d3af7eecf00c3101b55a997deb3ed 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: cmm.mli,v 1.21 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: cmm.mli 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Second intermediate language (machine independent) *)
 
index 9cf8c956647787dfeab7c509d39e8b665be49888..f17bdd40416cb8d8c893ed6bfe6386e3ffbb2a15 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: cmmgen.ml,v 1.114.2.1 2009/01/26 17:06:10 xleroy Exp $ *)
+(* $Id: cmmgen.ml 9167 2009-01-26 17:06:10Z xleroy $ *)
 
 (* Translation from closed lambda to C-- *)
 
index a1804f50cb2a9a569805d07757be5581985303b4..4f5efc20f6297b8e1447a1c903667b9ce25ab517 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: cmmgen.mli,v 1.16 2008/01/31 09:13:08 frisch Exp $ *)
+(* $Id: cmmgen.mli 8800 2008-01-31 09:13:19Z frisch $ *)
 
 (* Translation from closed lambda to C-- *)
 
index c737884dbf70419884b4524e7039c12147356fa2..2d9d750dc4088e68c4312667582d0246ff1da248 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: codegen.ml,v 1.7 2000/04/21 08:10:29 weis Exp $ *)
+(* $Id: codegen.ml 3123 2000-04-21 08:13:22Z weis $ *)
 
 (* From C-- to assembly code *)
 
index 51189632f9c6c53b0960750660f17814d7931290..06378ab06bec0bc8fe65bd61c3a5cc90737ba489 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: codegen.mli,v 1.4 1999/11/17 18:56:31 xleroy Exp $ *)
+(* $Id: codegen.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* From C-- to assembly code *)
 
index 98d922000dc9f8c68cbf1f4c18811cee1821a46e..64b5ea5f7146c9ffa4ad5ccfcd5a218e6230d88b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: coloring.ml,v 1.13 2004/08/12 13:34:42 xleroy Exp $ *)
+(* $Id: coloring.ml 6592 2004-08-12 13:34:42Z xleroy $ *)
 
 (* Register allocation by coloring of the interference graph *)
 
index 729a1d629efd69d6c66a013f87f2b7677b3f5b8c..c92fd41bb916a15274961d38817fc470f38c99e0 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: coloring.mli,v 1.4 1999/11/17 18:56:31 xleroy Exp $ *)
+(* $Id: coloring.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Register allocation by coloring of the interference graph *)
 
index 5888f8649ec8ec3edbae2aab1e25cbbc6851476e..b62a1b059c92b5e3cbb061a40940fd3afa4a61fc 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: comballoc.ml,v 1.4 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: comballoc.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Combine heap allocations occurring in the same basic block *)
 
index d0ff57ff03f713da67b6f641fde7e64a979fc22f..d6d72f58e7dff25deec9f78d57b6712a7f063bff 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: comballoc.mli,v 1.2 1999/11/17 18:56:32 xleroy Exp $ *)
+(* $Id: comballoc.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Combine heap allocations occurring in the same basic block *)
 
index 35b327c7dc6c6ebae4273788cfdbc633a9c33c85..64171f882b57db368a3c00c8fc8408683429555e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: compilenv.ml,v 1.24 2007/11/06 15:16:55 frisch Exp $ *)
+(* $Id: compilenv.ml 8477 2007-11-06 15:16:56Z frisch $ *)
 
 (* Compilation environments for compilation units *)
 
index 5d47fc3de0461f6c8e30309faf668d85170d7def..5bf8b165a49cf3710b51b0b6298a631fb4d08140 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: compilenv.mli,v 1.17 2007/11/06 15:16:55 frisch Exp $ *)
+(* $Id: compilenv.mli 8477 2007-11-06 15:16:56Z frisch $ *)
 
 (* Compilation environments for compilation units *)
 
index 20fc1dfda133119f746778bf4b041c7415c95dd3..57b0066f46c9b2746918a67f6d13f02268f7adc0 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit.mli,v 1.5 1999/11/17 18:56:32 xleroy Exp $ *)
+(* $Id: emit.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Generation of assembly code *)
 
index fe8279a396029591a2cb60e316e22be7874fe62a..0cae6ddb992ee0104209ba17df7936ec3d517bbb 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emitaux.ml,v 1.12.12.1 2009/01/26 17:06:10 xleroy Exp $ *)
+(* $Id: emitaux.ml 9314 2009-07-15 12:14:39Z xleroy $ *)
 
 (* Common functions for emitting assembly code *)
 
@@ -93,6 +93,27 @@ let emit_bytes_directive directive s =
    done;
    if !pos > 0 then emit_char '\n'
 
+(* PR#4813: assemblers do strange things with float literals indeed,
+   so we convert to IEEE representation ourselves and emit float
+   literals as 32- or 64-bit integers. *)
+
+let emit_float64_directive directive f =
+  let x = Int64.bits_of_float (float_of_string f) in
+  emit_printf "\t%s\t0x%Lx\n" directive x
+
+let emit_float64_split_directive directive f =
+  let x = Int64.bits_of_float (float_of_string f) in
+  let lo = Int64.logand x 0xFFFF_FFFFL
+  and hi = Int64.shift_right_logical x 32 in
+  emit_printf "\t%s\t0x%Lx, 0x%Lx\n"
+    directive
+    (if Arch.big_endian then hi else lo)
+    (if Arch.big_endian then lo else hi)
+
+let emit_float32_directive directive f =
+  let x = Int32.bits_of_float (float_of_string f) in
+  emit_printf "\t%s\t0x%lx\n" directive x
+
 (* Record live pointers at call points *)
 
 type frame_descr =
index a63c8babc08a1adf29041dfedbc223a2d4edea37..88eac2f5fcca66628a37806252dc39c0546efa17 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emitaux.mli,v 1.12.12.1 2009/01/26 17:06:10 xleroy Exp $ *)
+(* $Id: emitaux.mli 9314 2009-07-15 12:14:39Z xleroy $ *)
 
 (* Common functions for emitting assembly code *)
 
@@ -25,6 +25,9 @@ val emit_char: char -> unit
 val emit_string_literal: string -> unit
 val emit_string_directive: string -> string -> unit
 val emit_bytes_directive: string -> string -> unit
+val emit_float64_directive: string -> string -> unit
+val emit_float64_split_directive: string -> string -> unit
+val emit_float32_directive: string -> string -> unit
 
 type frame_descr =
   { fd_lbl: int;                        (* Return address *)
index 9a2e940c19fcb095a15d7cfd1dde56f4ff2e3bd9..338043212d72f5faaca6cfa73d7a193dba67df32 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arch.ml,v 1.7 2002/11/29 15:03:36 xleroy Exp $ *)
+(* $Id: arch.ml 5304 2002-11-29 15:03:37Z xleroy $ *)
 
 (* Specific operations for the HP PA-RISC processor *)
 
index b1fa3455fd87364d95e10a55d117d1ef2b924e1c..e6bf5a7d17183d5ab0623ae6cbb567be12cd98b1 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit.mlp,v 1.20 2006/04/16 23:28:14 doligez Exp $ *)
+(* $Id: emit.mlp 9475 2009-12-16 10:04:38Z xleroy $ *)
 
 (* Emission of HP PA-RISC assembly code *)
 
@@ -299,7 +299,9 @@ let emit_float_constants () =
     `  .text\n`;
   emit_align 8;
   List.iter
-    (fun (lbl, cst) -> `{emit_label lbl}:      .double {emit_string cst}\n`)
+    (fun (lbl, cst) ->
+      `{emit_label lbl}:`;
+      emit_float64_split_directive ".long" cst)
     !float_constants;
   float_constants := []
 
@@ -972,9 +974,9 @@ let emit_item = function
   | Cint n ->
       `        .long   {emit_nativeint n}\n`
   | Csingle f ->
-      `        .float  {emit_string f}\n`
+      emit_float32_directive ".long" f
   | Cdouble f ->
-      `        .double {emit_string f}\n`
+      emit_float64_split_directive ".long" f
   | Csymbol_address s ->
       use_symbol s;
       `        .long   {emit_symbol s}\n`
index 02a76499a11bdd1a80949b9cb688b93bce986bf0..3debb2914aeaee3633d4edcfd1f75c95e451b6aa 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc.ml,v 1.8 2007/10/30 12:37:16 xleroy Exp $ *)
+(* $Id: proc.ml 8462 2007-10-30 12:37:16Z xleroy $ *)
 
 (* Description of the HP PA-RISC processor *)
 
index 0016a90ace60d0967e00f13576f84e860584d3a0..443715228d7ab553ff86f8d15ffd9ffcb5402d91 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reload.ml,v 1.4 2008/01/11 16:13:11 doligez Exp $ *)
+(* $Id: reload.ml 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (* Reloading for the HPPA *)
 
index 749fc604b86874e9ccb4bd99a7bd631fbcf06ab8..8d2ed7cce2c013dfcd68118022ad2b2b5b36dec2 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scheduling.ml,v 1.4 1999/11/17 18:56:42 xleroy Exp $ *)
+(* $Id: scheduling.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Instruction scheduling for the HPPA *)
 
index 1119730bb714f493c75a8818de91a2722ac28392..67e9c0c970c67e0f2b5cfcf9b80433f3a7171b23 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selection.ml,v 1.6 2008/01/11 16:13:11 doligez Exp $ *)
+(* $Id: selection.ml 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (* Instruction selection for the HPPA processor *)
 
index 3ccdb93147d06807e3e1a30fcf9ef9acb38fc2f7..5bc296e7a098254d1ee2adbd72462c0564ebb3c0 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arch.ml,v 1.13 2006/04/16 23:28:14 doligez Exp $ *)
+(* $Id: arch.ml 7382 2006-04-16 23:28:22Z doligez $ *)
 
 (* Machine-specific command-line options *)
 
index a073675fba6022be8c53748005341970ee5c541f..2992f29cb82f409ece130caec3f1ce2bce3d5227 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit.mlp,v 1.41.2.4 2009/03/28 15:10:04 xleroy Exp $ *)
+(* $Id: emit.mlp 9475 2009-12-16 10:04:38Z xleroy $ *)
 
 (* Emission of Intel 386 assembly code *)
 
@@ -815,7 +815,8 @@ let rec emit_all fallthrough i =
 
 let emit_float_constant (lbl, cst) =
   `    .data\n`;
-  `{emit_label lbl}:   .double {emit_string cst}\n`
+  `{emit_label lbl}:`;
+  emit_float64_split_directive ".long" cst
 
 (* Emission of external symbol references (for MacOSX) *)
 
@@ -888,7 +889,9 @@ let fundecl fundecl =
   bound_error_call := 0;
   `    .text\n`;
   emit_align 16;
-  if macosx && is_generic_function fundecl.fun_name
+  if macosx
+  && not !Clflags.output_c_object
+  && is_generic_function fundecl.fun_name
   then (* PR#4690 *)
     `  .private_extern {emit_symbol fundecl.fun_name}\n`
   else
@@ -928,9 +931,9 @@ let emit_item = function
   | Cint n ->
       `        .long   {emit_nativeint n}\n`
   | Csingle f ->
-      `        .float  {emit_string f}\n`
+      emit_float32_directive ".long" f
   | Cdouble f ->
-      `        .double {emit_string f}\n`
+      emit_float64_split_directive ".long" f
   | Csymbol_address s ->
       `        .long   {emit_symbol s}\n`
   | Clabel_address lbl ->
index 5195b21fcf01d04ec90de14550f24a5de99052b1..d75a60f3646102d741fce2f942f814eebf9b11f8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit_nt.mlp,v 1.28.4.1 2009/03/21 16:15:47 xleroy Exp $ *)
+(* $Id: emit_nt.mlp 9189 2009-03-21 16:15:47Z xleroy $ *)
 
 (* Emission of Intel 386 assembly code, MASM syntax. *)
 
index b4a7dda5196015abcee2fa6d8c6da0d8842808de..0b802c4bdad6d01c78e24860e5ef05c728ce967c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc.ml,v 1.14 2007/10/30 12:37:16 xleroy Exp $ *)
+(* $Id: proc.ml 8462 2007-10-30 12:37:16Z xleroy $ *)
 
 (* Description of the Intel 386 processor *)
 
index 45b360ee3ab19c330704d3b271516653c26e58f8..0489cd6c06b77af6918036aac4f584aecae641be 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc_nt.ml,v 1.8 2008/01/11 16:13:11 doligez Exp $ *)
+(* $Id: proc_nt.ml 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (* Description of the Intel 386 processor, for Windows NT *)
 
index c5291249440732d290b92e763fd036a02665fc45..57e45cb7ac4f3d9517117a31f232ce00bb9954cd 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reload.ml,v 1.6 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: reload.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 open Cmm
 open Arch
index bc90f0d292346e585f88595c8636b8c1b9173f46..61a107ea418d538d124558968468157f53a135a3 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scheduling.ml,v 1.3 2000/02/04 12:43:18 xleroy Exp $ *)
+(* $Id: scheduling.ml 2779 2000-02-04 12:43:18Z xleroy $ *)
 
 open Schedgen (* to create a dependency *)
 
index 5c2c3f05a60427df1873a1c2611f097609bccca3..1515592b04d01044aac74bae9ffe8baad7220dd1 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selection.ml,v 1.15 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: selection.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Instruction selection for the Intel x86 *)
 
index 12b686bcadcc3613c60d6e2d18b352042aadf35f..3c2a4c85db6bedbadcdb88db94e348edcdffc75f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arch.ml,v 1.5 2002/11/29 15:03:36 xleroy Exp $ *)
+(* $Id: arch.ml 5304 2002-11-29 15:03:37Z xleroy $ *)
 
 (* Specific operations for the IA64 processor *)
 
index bfffcbe75711caeb820449222e3cc7e35a616d0a..09a4de4b77eb05101d9a877835c0e86f43010944 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit.mlp,v 1.17 2004/07/13 12:18:53 xleroy Exp $ *)
+(* $Id: emit.mlp 9314 2009-07-15 12:14:39Z xleroy $ *)
 
 (* Emission of IA64 assembly code *)
 
@@ -1287,9 +1287,9 @@ let emit_item = function
   | Cint n ->
       `        data8   {emit_nativeint n}\n`
   | Csingle f ->
-      `        real4   {emit_string f}\n`
+      emit_float32_directive "data4" f
   | Cdouble f ->
-      `        real8   {emit_string f}\n`
+      emit_float64_directive "data8" f
   | Csymbol_address s ->
       `        data8   {emit_symbol s}#\n`
   | Clabel_address lbl ->
index ba773d467132489b0d1d9a2130ea58e60199671f..3e425f8918db15cbc43fe1767d3ced2121f4d29c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc.ml,v 1.6 2007/10/30 12:37:16 xleroy Exp $ *)
+(* $Id: proc.ml 8462 2007-10-30 12:37:16Z xleroy $ *)
 
 (* Description of the IA64 processor *)
 
index ca16e672a003f56db5e62dd90cd1270864465e6b..b9b9e6dd97260da71e67faed3ef18d1c0982fed6 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reload.ml,v 1.2 2000/07/16 02:57:31 xleroy Exp $ *)
+(* $Id: reload.ml 3235 2000-07-16 02:57:31Z xleroy $ *)
 
 (* Reloading for the IA64. *)
 
index 9139c97187222b1c72d978affd30737479bb40b8..55a4e75328d23e48a5ff42274f10b48194e3f2de 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scheduling.ml,v 1.3 2000/07/16 02:57:31 xleroy Exp $ *)
+(* $Id: scheduling.ml 3235 2000-07-16 02:57:31Z xleroy $ *)
 
 open Schedgen (* to create a dependency *)
 
index 3944eb1c3fd8835da8133d666cd0e1c8d4d0d35e..433510899ce11ee2eb7391880267a8ffb7db1d88 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selection.ml,v 1.7 2004/05/03 12:27:07 xleroy Exp $ *)
+(* $Id: selection.ml 6276 2004-05-03 12:27:07Z xleroy $ *)
 
 (* Instruction selection for the IA64 processor *)
 
index 7276ad0342b62249a5de3c89a537107e96468063..b3e49df2e125b3c5dd7abc26fc8cf32f60c47ffd 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: interf.ml,v 1.15 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: interf.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Construction of the interference graph.
    Annotate pseudoregs with interference lists and preference lists. *)
index 91e805e4da437e10c52c6c6b19ab2f6a0b17c816..f78f4059d36aca1e7f045652951d4cb3976fe3e8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: interf.mli,v 1.4 1999/11/17 18:56:33 xleroy Exp $ *)
+(* $Id: interf.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Construction of the interference graph.
    Annotate pseudoregs with interference lists and preference lists. *)
index b3281487e31d969677a2fb35e359e24613ea7a42..9a617fcd3a3317f40f98c2090336d8f56a16297c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: linearize.ml,v 1.25 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: linearize.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Transformation of Mach code into a list of pseudo-instructions. *)
 
index 926c3fa237dc3b2e048e4e361122093d80396505..b85010f9d5215c86d5c7f2244b4a4878ac3a3409 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: linearize.mli,v 1.14 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: linearize.mli 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Transformation of Mach code into a list of pseudo-instructions. *)
 
index f16fef536dc444815bcead8b4af4e62b4236f7e2..9407f229b29b3d56ccac5b9ef3de86d7f9168d0b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: liveness.ml,v 1.15 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: liveness.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Liveness analysis.
    Annotate mach code with the set of regs live at each point. *)
index bd791e183363c23db91732996f94684e88b04bc0..de2509e8f9fdfa7ffed69f056f0995466275eca3 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: liveness.mli,v 1.5 2000/04/21 08:10:33 weis Exp $ *)
+(* $Id: liveness.mli 3123 2000-04-21 08:13:22Z weis $ *)
 
 (* Liveness analysis.
    Annotate mach code with the set of regs live at each point. *)
index 67d0dc652a6f80b4ad17101de2980087f26081b5..07ac149287f885e137500c25f3f123d586b07b05 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: mach.ml,v 1.18 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: mach.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Representation of machine code by sequences of pseudoinstructions *)
 
index ad28f3a765dc3a31e0f700a005561c612d2928ed..30c510e878616281d12d2be45465f06a619d69cb 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: mach.mli,v 1.18 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: mach.mli 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Representation of machine code by sequences of pseudoinstructions *)
 
index 8027e36c8301989a14ba549be7ae0f43cbf9804a..411c9877f5a2f726e0c162e6757c8264d339aa01 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arch.ml,v 1.6 2002/11/29 15:03:36 xleroy Exp $ *)
+(* $Id: arch.ml 5304 2002-11-29 15:03:37Z xleroy $ *)
 
 (* Specific operations for the Mips processor *)
 
index a67d7fede781461ae0985fe5c39b0f1c501ec482..0899e2fcd0b32a30ea0ffe5d4fad9045c8c78c28 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit.mlp,v 1.18 2004/01/05 20:25:56 doligez Exp $ *)
+(* $Id: emit.mlp 9314 2009-07-15 12:14:39Z xleroy $ *)
 
 (* Emission of Mips assembly code *)
 
@@ -527,10 +527,9 @@ let emit_item = function
   | Cint n ->
       `        .word   {emit_nativeint n}\n`
   | Csingle f ->
-      `        .float  {emit_string f}\n`
+      emit_float32_directive ".word" f
   | Cdouble f ->
-      `        .align  0\n`; (* Prevent alignment on 8-byte boundary *)
-      `        .double {emit_string f}\n`
+      emit_float64_split_directive ".word" f
   | Csymbol_address s ->
       `        .word   {emit_symbol s}\n`
   | Clabel_address lbl ->
index 96221140a313b2b51ea8a7771f8237276fcc3059..964ade4668d8ef849f4c6591de93f47b3f71d642 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc.ml,v 1.7 2007/10/30 12:37:16 xleroy Exp $ *)
+(* $Id: proc.ml 8462 2007-10-30 12:37:16Z xleroy $ *)
 
 (* Description of the Mips processor *)
 
index de72414cd1f401af4213931d4bc6fe8d78c32e99..26a620b4450b671cb0fa01b29c1b18f67466fb5d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reload.ml,v 1.3 1999/11/17 18:56:45 xleroy Exp $ *)
+(* $Id: reload.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Reloading for the Mips *)
 
index 7061cd39d842de932628a699bfb1b328b06aca3d..273e20bd75757c11cfe45423dfd962d36e02b2bf 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scheduling.ml,v 1.2 1999/11/17 18:56:45 xleroy Exp $ *)
+(* $Id: scheduling.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 open Schedgen (* to create a dependency *)
 
index 690ef27166ba38a21856c4e1877019b185aac9ca..34be3c9065447b20ca8c564eb9cdc32db03a9c82 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selection.ml,v 1.4 1999/11/17 18:56:46 xleroy Exp $ *)
+(* $Id: selection.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Instruction selection for the Mips processor *)
 
index 4f5bb12cf603ff209e04497ab8fdd6a9045ec0b2..33081429c28e81bfe74e6961f8cc96c48b00a1cb 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arch.ml,v 1.12 2006/05/31 08:16:34 xleroy Exp $ *)
+(* $Id: arch.ml 7430 2006-05-31 08:16:34Z xleroy $ *)
 
 (* Specific operations for the PowerPC processor *)
 
index 5c2063d49ddad7846462d5f484079f3efdff05ed..4b3219937571476e09e8ea50c8f7692e034dae25 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit.mlp,v 1.26.4.1 2009/01/26 17:06:10 xleroy Exp $ *)
+(* $Id: emit.mlp 9475 2009-12-16 10:04:38Z xleroy $ *)
 
 (* Emission of PowerPC assembly code *)
 
@@ -835,7 +835,9 @@ let fundecl fundecl =
   call_gc_label := 0;
   float_literals := [];
   int_literals := [];
-  if Config.system = "rhapsody" && is_generic_function fundecl.fun_name
+  if Config.system = "rhapsody"
+  && not !Clflags.output_c_object
+  && is_generic_function fundecl.fun_name
   then (* PR#4690 *)
     `  .private_extern {emit_symbol fundecl.fun_name}\n`
   else
@@ -871,7 +873,10 @@ let fundecl fundecl =
     `  .align  3\n`;
     List.iter
       (fun (f, lbl) ->
-        `{emit_label lbl}:     .double 0d{emit_string f}\n`)
+        `{emit_label lbl}:`;
+        if ppc64
+        then emit_float64_directive ".quad" f
+        else emit_float64_split_directive ".long" f)
       !float_literals;
     List.iter
       (fun (n, lbl) ->
@@ -902,9 +907,11 @@ let emit_item = function
   | Cint n ->
       `        {emit_string datag}     {emit_nativeint n}\n`
   | Csingle f ->
-      `        .float  0d{emit_string f}\n`
+      emit_float32_directive ".long" f
   | Cdouble f ->
-      `        .double 0d{emit_string f}\n`
+      if ppc64
+      then emit_float64_directive ".quad" f
+      else emit_float64_split_directive ".long" f
   | Csymbol_address s ->
       `        {emit_string datag}     {emit_symbol s}\n`
   | Clabel_address lbl ->
index 5b540d9496cb1ac47858730629f7035f44a79723..510b9b1c37ef4fe97a581d78f30c7c724738a572 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc.ml,v 1.14 2007/10/30 12:37:16 xleroy Exp $ *)
+(* $Id: proc.ml 8462 2007-10-30 12:37:16Z xleroy $ *)
 
 (* Description of the Power PC *)
 
index e2ffd75cb2cd60f942b489887d220ebcd4a9b630..abcac6c645d2604f317ddd728f856afdb012b75d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reload.ml,v 1.3 1999/11/17 18:56:46 xleroy Exp $ *)
+(* $Id: reload.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Reloading for the PowerPC *)
 
index 7e76019717f92a42211b0d262bfb6ce68867d18a..4312457bd6ed3d864749006749a039dac99aa59a 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scheduling.ml,v 1.6 2004/06/19 16:13:33 xleroy Exp $ *)
+(* $Id: scheduling.ml 6423 2004-06-19 16:17:31Z xleroy $ *)
 
 (* Instruction scheduling for the Power PC *)
 
index 622e84c239aae1a5b235e42337640eb74b48c161..d39ee5184ca35dc295626cb88cc533b927f320f6 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selection.ml,v 1.8 2007/11/09 15:06:57 frisch Exp $ *)
+(* $Id: selection.ml 8499 2007-11-09 15:06:57Z frisch $ *)
 
 (* Instruction selection for the Power PC processor *)
 
index 73580836d95d9407a767e459dbd32e624b704393..0d0e1be7fb29c27aebbc9e3417988ba3ec16648e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printcmm.ml,v 1.25 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: printcmm.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Pretty-printing of C-- code *)
 
index 4da8751b482f67e0fbaa12ed80d7ba5b0b4f9d60..f07a31dbc5cd80a8db83876a38780007cdd6c586 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printcmm.mli,v 1.6 2000/04/21 08:10:34 weis Exp $ *)
+(* $Id: printcmm.mli 3123 2000-04-21 08:13:22Z weis $ *)
 
 (* Pretty-printing of C-- code *)
 
index 24207ee2cee98750c058aa0cf1f4c1fa0aa71b8d..941d64931d45363925c93e4a0429846604927709 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printlinear.ml,v 1.13 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: printlinear.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Pretty-printing of linearized machine code *)
 
index 514f11009920b1a619ceb68b0d073e7233c20895..dee1733f327f0cb05d83b754648295ade7fdd295 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printlinear.mli,v 1.5 2000/04/21 08:10:35 weis Exp $ *)
+(* $Id: printlinear.mli 3123 2000-04-21 08:13:22Z weis $ *)
 
 (* Pretty-printing of linearized machine code *)
 
index de93e380f8faa84ce306e170a422b7c5356edbc2..877221210ddbcaa7cb1c773cba310fd412c89231 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printmach.ml,v 1.23 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: printmach.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Pretty-printing of pseudo machine code *)
 
index 9dc483cd438d09c17442c1e215a01d31e97ff579..edbda322fbaa77cc33ce60dfd61fac4cf055720b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printmach.mli,v 1.6 2000/04/21 08:10:37 weis Exp $ *)
+(* $Id: printmach.mli 3123 2000-04-21 08:13:22Z weis $ *)
 
 (* Pretty-printing of pseudo machine code *)
 
index f15f256bc797c4384b8f735877f73e93fcd89de9..15086a44eb9e2724bec54d15d7fc58f24c9be511 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc.mli,v 1.16 1999/11/17 18:56:35 xleroy Exp $ *)
+(* $Id: proc.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Processor descriptions *)
 
index ab16c6152ed08f0180870ffab71f31e15a3a7083..3d996093c685141ba786b1c5f2ea96901245356e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reg.ml,v 1.10 2000/06/29 11:44:06 xleroy Exp $ *)
+(* $Id: reg.ml 3216 2000-06-29 11:44:06Z xleroy $ *)
 
 open Cmm
 
index 7d93612ca60a8208e11896d7845b21f92efd124d..b8ce2b64badac65c16d6e447fd35bee5a88f96c1 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reg.mli,v 1.7 1999/11/17 18:56:35 xleroy Exp $ *)
+(* $Id: reg.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Pseudo-registers *)
 
index 11c8c04791f8c883494780b292618988347fc2c7..154c4cc5a7bd79c17af4a068ec2cdcae86b2683f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reload.mli,v 1.6 1999/11/17 18:56:35 xleroy Exp $ *)
+(* $Id: reload.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Insert load/stores for pseudoregs that got assigned to stack locations. *)
 
index 693782d9805fa0039fc9587f96ad409914e95575..befc5c68492e2093b23e502da844fea097fb2d53 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reloadgen.ml,v 1.6 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: reloadgen.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Insert load/stores for pseudoregs that got assigned to stack locations. *)
 
index febb93678bd7d4efaae05a924716408cb553630b..80e90f79a7ae4d02ee1cbcd15fddcd92ac6e5049 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reloadgen.mli,v 1.4 1999/11/17 18:56:36 xleroy Exp $ *)
+(* $Id: reloadgen.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 class reload_generic : object
   method reload_operation :
index 33f1570af538d956ff8be45abcb62fb3d676f51e..d89b448ad49ea47ac4702d27b70fdbd904b1a30d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: schedgen.ml,v 1.12 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: schedgen.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Instruction scheduling *)
 
index 8c651548cde32acc9179e60ca3d71d790e256aa1..734506591767e475c91b0863bfa786e0eaf9710e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: schedgen.mli,v 1.6 1999/11/17 18:56:36 xleroy Exp $ *)
+(* $Id: schedgen.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Instruction scheduling *)
 
index aef1f4137d99f97874877afd2977767bb91329a0..62c55741506420f32da592874187530ddb133b0e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scheduling.mli,v 1.3 1999/11/17 18:56:36 xleroy Exp $ *)
+(* $Id: scheduling.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Instruction scheduling *)
 
index d170de48fbb29f18cb5091ff00173a091ebe2c13..705e501ae41cfa007c297a4ccffc7ed0e341f33d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selectgen.ml,v 1.32 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: selectgen.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Selection of pseudo-instructions, assignment of pseudo-registers,
    sequentialization. *)
index 2899d1ae0b6ff380b600510963ba534c44b64b2c..89edce672f49da83625b05532bfd8b4daa4533c6 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selectgen.mli,v 1.8 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: selectgen.mli 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Selection of pseudo-instructions, assignment of pseudo-registers,
    sequentialization. *)
index e7a164e1385744825e42e45efa4ca2638ed029ca..66abf607ca3ce54ce60f908b88c806320d0eac22 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selection.mli,v 1.6 1999/11/17 18:56:37 xleroy Exp $ *)
+(* $Id: selection.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Selection of pseudo-instructions, assignment of pseudo-registers,
    sequentialization. *)
index c8a00be262ea65d3b73f9aa8fae32075b822fa14..6bd9876f3a1c28431f69d9a59beacc4f831efe38 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arch.ml,v 1.8 2002/11/29 15:03:08 xleroy Exp $ *)
+(* $Id: arch.ml 5303 2002-11-29 15:03:08Z xleroy $ *)
 
 (* Specific operations for the Sparc processor *)
 
index cfecd1e683c474c8da458db81357ad0fc870ce16..c5cbe854d9821d768a7beab1f71a3483e594f89b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emit.mlp,v 1.24 2006/04/16 23:28:15 doligez Exp $ *)
+(* $Id: emit.mlp 9475 2009-12-16 10:04:38Z xleroy $ *)
 
 (* Emission of Sparc assembly code *)
 
@@ -195,7 +195,8 @@ let float_constants = ref ([] : (int * string) list)
 let emit_float_constant (lbl, cst) =
   rodata ();
   `    .align  8\n`;
-  `{emit_label lbl}:   .double 0r{emit_string cst}\n`
+  `{emit_label lbl}:`;
+  emit_float64_split_directive ".word" cst
 
 (* Emission of the profiling prelude *)
 let emit_profile () =
@@ -723,9 +724,9 @@ let emit_item = function
   | Cint n ->
       `        .word   {emit_nativeint n}\n`
   | Csingle f ->
-      `        .single 0r{emit_string f}\n`
+      emit_float32_directive ".word" f
   | Cdouble f ->
-      `        .double 0r{emit_string f}\n`
+      emit_float64_split_directive ".word" f
   | Csymbol_address s ->
       `        .word   {emit_symbol s}\n`
   | Clabel_address lbl ->
index 8127fc4553238bb343d7df31a813fd5b304a29df..f21ac97735ea9a0caa1bcbe049595bcff0225dae 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: proc.ml,v 1.8 2007/10/30 12:37:16 xleroy Exp $ *)
+(* $Id: proc.ml 8462 2007-10-30 12:37:16Z xleroy $ *)
 
 (* Description of the Sparc processor *)
 
index 9d3898a53d1bab3ebecedee70e925ca1e1e726c7..a3558a7f796c18f01e487dc891779e8659d74224 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: reload.ml,v 1.3 1999/11/17 18:56:47 xleroy Exp $ *)
+(* $Id: reload.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Reloading for the Sparc *)
 
index ca8827fd3b937a11e7ad3f1f926e516a95ded2ea..ebe9e7c20759c18627ad602923f6093421fd36a4 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scheduling.ml,v 1.5 2002/11/29 15:03:08 xleroy Exp $ *)
+(* $Id: scheduling.ml 5303 2002-11-29 15:03:08Z xleroy $ *)
 
 open Cmm
 open Mach
index 6af7972195a8e10a4a8133f69c087906876ad2d1..37573ae4e4be50e5e44603035d90a3b6877e747d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: selection.ml,v 1.8 2002/11/29 15:03:08 xleroy Exp $ *)
+(* $Id: selection.ml 5303 2002-11-29 15:03:08Z xleroy $ *)
 
 (* Instruction selection for the Sparc processor *)
 
index 2fba098fc83d493629ba9a1aff68a8eb69a872df..93b322271246800c3e28fb76f99a01489c231d95 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: spill.ml,v 1.19 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: spill.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Insertion of moves to suggest possible spilling / reloading points 
    before register allocation. *)
index dfd5f1ee3c3288f9052fd1102820516a82928a31..a9fcd436894b8636c60341a7238db9c838c28bb1 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: spill.mli,v 1.4 1999/11/17 18:56:38 xleroy Exp $ *)
+(* $Id: spill.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Insertion of moves to suggest possible spilling / reloading points 
    before register allocation. *)
index 74f2511cee3a60d94b83d83898701e1f6210b163..391568d6f7b33f6ae805578b88099e9abb68ed31 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: split.ml,v 1.10 2007/01/29 12:10:50 xleroy Exp $ *)
+(* $Id: split.ml 7812 2007-01-29 12:11:18Z xleroy $ *)
 
 (* Renaming of registers at reload points to split live ranges. *)
 
index 57c48d698770d44897533af4d604e605163327b3..2cb16fda13ee8d83693f7e8d83671fc02826e834 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: split.mli,v 1.4 1999/11/17 18:56:38 xleroy Exp $ *)
+(* $Id: split.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Renaming of registers at reload points to split live ranges. *)
 
index bc7cca2b16fcd2214460ed15f3266d4ef2fac2a9..ac03dea5bcddb2ef1322f930df1dbd6031ce5da8 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.59 2007/11/15 13:21:15 frisch Exp $
+# $Id: Makefile 8521 2007-11-15 13:21:15Z frisch $
 
 include ../config/Makefile
 
index c9b6061ede153c6f9c16b09c25ca635bee70b5ec..43f221cb61eee5f76351c88af74b4f5695b151ce 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.28 2007/11/15 13:21:15 frisch Exp $
+# $Id: Makefile.nt 8521 2007-11-15 13:21:15Z frisch $
 
 include ../config/Makefile
 
index 1aa3a86d54be3da036a8abb2999f09e090df34fd..98ce9139f216db27f5fe2cda5723c699952d7f88 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: alpha.S,v 1.29 2004/01/03 12:51:18 doligez Exp $ */
+/* $Id: alpha.S 6050 2004-01-03 12:51:20Z doligez $ */
 
 /* Asm part of the runtime system, Alpha processor */
 
index c9ce59d06d7b6d5c9771772c5d4592f6c57c8fe9..fe96110b54f524ab0a6bff54cbc96a6214233cbf 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: amd64.S,v 1.12.2.1 2008/11/07 10:34:16 xleroy Exp $ */
+/* $Id: amd64.S 9119 2008-11-07 10:34:16Z xleroy $ */
 
 /* Asm part of the runtime system, AMD64 processor */
 /* Must be preprocessed by cpp */
index c441a27578205306168cbd67612fc30db5e06ce1..caa4eb484337367c21ebf05c7c51d04915769661 100644 (file)
@@ -11,7 +11,7 @@
 ;
 ;*********************************************************************
 
-; $Id: amd64nt.asm,v 1.5 2007/03/01 10:26:51 xleroy Exp $
+; $Id: amd64nt.asm 7942 2007-03-01 10:26:51Z xleroy $
 
 ; Asm part of the runtime system, AMD64 processor, Intel syntax
 
index 985868eb0fb40814df65e439026a53d1a34dc42b..3a3a73237d02390a7b30bb6569fa64423c8e577f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: arm.S,v 1.16 2008/02/29 14:21:21 doligez Exp $ */
+/* $Id: arm.S 8823 2008-02-29 14:21:22Z doligez $ */
 
 /* Asm part of the runtime system, ARM processor */
 
index 61e8d360ed94eb823774a11523058e8981a2508a..a875822b6df9e46d7e10c09befd58fb61b194820 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: backtrace.c,v 1.4 2008/03/14 13:47:13 xleroy Exp $ */
+/* $Id: backtrace.c 8839 2008-03-14 13:47:24Z xleroy $ */
 
 /* Stack backtrace for uncaught exceptions */
 
index 9cc5db24633b8454b8472f24177116129be1be67..0b2544cce3d9f0959e44d2116bc540223651d11f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: fail.c,v 1.40 2008/09/18 11:23:28 xleroy Exp $ */
+/* $Id: fail.c 9030 2008-09-18 11:23:28Z xleroy $ */
 
 /* Raising exceptions from C. */
 
index 0c0a8be1bf189eaa13b3c70b8b6e0751858e61f2..e394ad478485fced4c2f13a31d2f316cc54ad354 100644 (file)
@@ -11,7 +11,7 @@
 ;*                                                                   *
 ;*********************************************************************
 
-; $Id: hppa.S,v 1.26 2006/04/16 23:28:15 doligez Exp $
+; $Id: hppa.S 7382 2006-04-16 23:28:22Z doligez $
 
 ; Asm part of the runtime system for the HP PA-RISC processor.
 ; Must be preprocessed by cpp
index 8aecc504393ab72e4119187beb786e6c0ee684de..95198e0a658bb63304221f321b3d521e5e422a32 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: i386.S,v 1.50 2008/08/01 08:04:57 xleroy Exp $ */
+/* $Id: i386.S 8962 2008-08-01 08:04:57Z xleroy $ */
 
 /* Asm part of the runtime system, Intel 386 processor */
 /* Must be preprocessed by cpp */
index 229ffc79c1cab53fde1c9f5ba207fc390c01139e..8f12891959c033fc464484ef19a47a396338177e 100644 (file)
@@ -11,7 +11,7 @@
 ;
 ;*********************************************************************
 
-; $Id: i386nt.asm,v 1.20 2007/01/29 12:10:52 xleroy Exp $
+; $Id: i386nt.asm 7812 2007-01-29 12:11:18Z xleroy $
 
 ; Asm part of the runtime system, Intel 386 processor, Intel syntax
 
index ad74a9f63bae7385eafafac5f5b9018e6a1ee3c8..ca64ed555b364535f8d7f5752f2b690d8cdc95cc 100644 (file)
@@ -10,9 +10,9 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: ia64.S,v 1.13 2004/01/03 12:51:19 doligez Exp $ */
+/* $Id: ia64.S 9341 2009-09-17 13:05:47Z xleroy $ */
 
-/* Asm part of the runtime system, Alpha processor */
+/* Asm part of the runtime system, IA64 processor */
 
 #undef BROKEN_POSTINCREMENT
 
@@ -68,15 +68,8 @@ caml_allocN:
         sub     r4 = r4, r2 ;;
         cmp.ltu p0, p6 = r4, r5
         (p6) br.ret.sptk b0 ;;
-        /* Stash return address at sp (in stack scratch area) */
-        mov     r3 = b0 ;;
-        st8     [sp] = r3
-        /* Call GC */
-        br.call.sptk b0 = caml_call_gc# ;;
-        /* Return to caller */
-        ld8     r3 = [sp] ;;
-        mov     b0 = r3 ;;
-        br.ret.sptk b0
+        /* Fall through caml_call_gc */
+        br.sptk.many    caml_call_gc#
 
         .endp   caml_allocN#
 
index 8e6e9c3d20779dd600782c370f879237c978e422..bf3cbfcb9b5c3f6831e5dfa8de759bf473d05594 100644 (file)
@@ -11,7 +11,7 @@
 |*                                                                     *
 |***********************************************************************
 
-| $Id: m68k.S,v 1.15 2004/01/03 12:51:19 doligez Exp $
+| $Id: m68k.S 6050 2004-01-03 12:51:20Z doligez $
 
 | Asm part of the runtime system, Motorola 68k processor
 
index b5db5e039e992028b311491d4595d9710b8b1bc2..2ce19ef2625e665cbf98ee476e3feeff0763c3c0 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: mips.s,v 1.12 2004/07/13 12:18:53 xleroy Exp $ */
+/* $Id: mips.s 6552 2004-07-13 12:19:15Z xleroy $ */
 
 /* Asm part of the runtime system, Mips processor, IRIX n32 conventions */
 
index b8afea6f64ebc8864fedcecf15d1014a598f3e2a..0f0abf86e386ce377e5435cb801273665e0ce6b8 100644 (file)
@@ -11,7 +11,7 @@
 #*                                                                   *
 #*********************************************************************
 
-# $Id: power-aix.S,v 1.15 2004/01/03 12:51:19 doligez Exp $
+# $Id: power-aix.S 6050 2004-01-03 12:51:20Z doligez $
 
         .csect  .text[PR]
 
index c890f46da6e26d1e0c856132a9170102156c894c..8a2f001171d913df977fa3192aba66e44ecf9962 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                   */
 /*********************************************************************/
 
-/* $Id: power-elf.S,v 1.18 2004/01/03 12:51:19 doligez Exp $ */
+/* $Id: power-elf.S 6050 2004-01-03 12:51:20Z doligez $ */
 
 #define Addrglobal(reg,glob) \
         addis   reg, 0, glob@ha; \
index b7cfab59ef84114debb15768b4b3f1d33221feb1..4826537919682be36786aa3590913f5f90db9bc2 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                   */
 /*********************************************************************/
 
-/* $Id: power-rhapsody.S,v 1.15 2007/01/29 12:10:52 xleroy Exp $ */
+/* $Id: power-rhapsody.S 7812 2007-01-29 12:11:18Z xleroy $ */
 
 #ifdef __ppc64__
 #define X(a,b) b
index b375cf43c2bddb94026f3214803dd02f2da717e3..7953a961f3998f3bf07b325f7ef0944005fc80c5 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: roots.c,v 1.45 2008/03/10 19:56:39 xleroy Exp $ */
+/* $Id: roots.c 8828 2008-03-10 19:56:39Z xleroy $ */
 
 /* To walk the memory roots for garbage collection */
 
index d0b6e9cfc1e752911a76e0ff5b6c7b91a2e68198..da4491d60dbfc18e5342fa97f5f5d43577c8ede5 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: signals_asm.c,v 1.6 2008/01/11 16:13:11 doligez Exp $ */
+/* $Id: signals_asm.c 8768 2008-01-11 16:13:18Z doligez $ */
 
 /* Signal handling, code specific to the native-code compiler */
 
index 0422c2d1e1d82a7161ca3b573b6249681672765e..102711d62fbbd664bc798393141d1377556d5d56 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: signals_osdep.h,v 1.11.4.2 2009/03/28 15:18:31 xleroy Exp $ */
+/* $Id: signals_osdep.h 9194 2009-03-28 15:18:31Z xleroy $ */
 
 /* Processor- and OS-dependent signal interface */
 
index 4ef6420f217ad7d9bd8d8aef395477e3c8dd0bad..d205c65e3b2272c21fc88dc4ead83ab01dac13bb 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sparc.S,v 1.26 2004/10/06 06:33:25 garrigue Exp $ */
+/* $Id: sparc.S 6631 2004-10-06 06:33:25Z garrigue $ */
 
 /* Asm part of the runtime system for the Sparc processor.  */
 /* Must be preprocessed by cpp */
index 82b4175826a12ced3bf0f184cc0c40b2cf8f1cf2..0b6324060f591a1ac117e9a84cea8d52e40e8658 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: stack.h,v 1.35 2007/11/06 15:16:55 frisch Exp $ */
+/* $Id: stack.h 8477 2007-11-06 15:16:56Z frisch $ */
 
 /* Machine-dependent interface with the asm code */
 
index b708c1e39cb5c4e8783bcf223cee48cabace62a5..7508901d2dbeb212a5bae3c6f6e63fe1b8e44d87 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: startup.c,v 1.36.2.1 2008/11/18 10:24:31 doligez Exp $ */
+/* $Id: startup.c 9131 2008-11-18 10:24:43Z doligez $ */
 
 /* Start-up code */
 
index a0a2356c9a04f866df6a87ee910f0701218afecc..5eeaef32ead571f82a2b0f6c1b95059dc270d545 100644 (file)
@@ -4,3 +4,4 @@ ocamlyacc
 camlheader
 myocamlbuild
 myocamlbuild.native
+libcamlrun.a
index 808d5b87f9a7d504617264bd59b130119b40fec7..ba7a52fd2c251035cf9dbf8ab2081b1a2d69e132 100755 (executable)
Binary files a/boot/ocamlc and b/boot/ocamlc differ
index 106160ccc6216d0c0702b745b590aaf76b04bdb4..b5289c880a947f552d7cf0d406eced6b822fedb3 100755 (executable)
Binary files a/boot/ocamldep and b/boot/ocamldep differ
index 15437fdb04ec376573d00e9d2fde463776e1d6d3..8bf7272ffc8d14e620308fa0814a4b8f4e2748f0 100755 (executable)
Binary files a/boot/ocamllex and b/boot/ocamllex differ
index fd428724211020f77024d346098fa5e2d98a6158..81415ad3ee80adcad447b10a8cf7dda77eab9034 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: boot-c-parts-windows.sh,v 1.3 2007/10/08 14:19:34 doligez Exp $
+# $Id: boot-c-parts-windows.sh 8416 2007-10-08 14:19:34Z doligez $
 cd `dirname $0`/..
 set -ex
 
index 9cb0262ab686367dd56bda8476123e9f217a3ac3..e62beba2fb287f2253cb28a3da7617e3a0416f46 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: boot-c-parts.sh,v 1.2 2007/10/08 14:19:34 doligez Exp $
+# $Id: boot-c-parts.sh 8416 2007-10-08 14:19:34Z doligez $
 cd `dirname $0`/..
 set -ex
 
index ee9108084f09bdf8521b5a02685b26f912202c5f..a976b65d751cdabe36d8b0b32d9221b6269e72dc 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: boot.sh,v 1.2 2007/10/08 14:19:34 doligez Exp $
+# $Id: boot.sh 8416 2007-10-08 14:19:34Z doligez $
 cd `dirname $0`/..
 set -ex
 TAGLINE='true: -use_stdlib'
index 10475dfb6afda77d7cf6bbb35a9b399f3a6250bd..1b62186349881be24a52f36188d7a93e5e6fbcba 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: camlp4-bootstrap.sh,v 1.3 2007/10/08 14:19:34 doligez Exp $
+# $Id: camlp4-bootstrap.sh 8416 2007-10-08 14:19:34Z doligez $
 set -e
 cd `dirname $0`/..
 
index 2ebf42d7c9a58f4572efd9eb83821d753e4c3b7a..4154b53c18cfdbe67c0e1039c11890a25d19bdc1 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: camlp4-byte-only.sh,v 1.3.4.1 2008/10/23 15:29:11 ertai Exp $
+# $Id: camlp4-byte-only.sh 9099 2008-10-23 15:29:11Z ertai $
 set -e
 cd `dirname $0`/..
 . build/targets.sh
index ce70333c9c62aa0330910039cdc29e7499a98c29..da19bf159461c1976bcb363b21e21c79049c4ec3 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: camlp4-native-only.sh,v 1.3.4.1 2008/10/23 15:29:11 ertai Exp $
+# $Id: camlp4-native-only.sh 9099 2008-10-23 15:29:11Z ertai $
 set -e
 cd `dirname $0`/..
 . build/targets.sh
index b158d19e6948ba956c5e917c72e7bb9fb5b4af7f..8c2eb319dc4b6c44bd8f228685b550137b6e7f38 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: camlp4-targets.sh,v 1.2 2007/10/08 14:19:34 doligez Exp $
+# $Id: camlp4-targets.sh 8416 2007-10-08 14:19:34Z doligez $
 CAMLP4_COMMON="\
   camlp4/Camlp4/Camlp4Ast.partial.ml \
   camlp4/boot/camlp4boot.byte"
index 145899e8930a191f1144fb49fbb60bb623a0f9e0..792847692a34388947ae0967a0ba43793789db56 100755 (executable)
@@ -12,7 +12,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: distclean.sh,v 1.7.4.1 2008/10/23 15:29:11 ertai Exp $
+# $Id: distclean.sh 9099 2008-10-23 15:29:11Z ertai $
 
 cd `dirname $0`/..
 set -ex
index c539141bab5127bd2df1701b9935bfb99e2db514..977fbcd029081440db34fe0d6bcb5b7b9fb64d5b 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: fastworld.sh,v 1.3.4.2 2009/06/02 09:37:47 doligez Exp $
+# $Id: fastworld.sh 9283 2009-06-02 09:37:47Z doligez $
 cd `dirname $0`
 set -e
 if [ -e ocamlbuild_mixed_mode ]; then
index 5093f31382c28ad3b959d0fc57fe421f3c0ada1d..e3b77003573846be60ebbfc5f7ddc8f12e454aeb 100755 (executable)
@@ -12,7 +12,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: install.sh,v 1.11.2.1 2009/06/04 11:32:46 doligez Exp $
+# $Id: install.sh 9289 2009-06-04 11:32:46Z doligez $
 
 set -e
 
index 41dc2ab8c65aa0e71f982469afc82236b008dd24..0d20911f317da4688631a907bcf59c551204ff2d 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: mkconfig.sh,v 1.3 2007/11/06 15:16:56 frisch Exp $
+# $Id: mkconfig.sh 8477 2007-11-06 15:16:56Z frisch $
 
 cd `dirname $0`/..
 
index f64e954f1c121d1bd1b9f9ce63f9b837a67d6ec6..c47ca5219c406419ff7984139940fd7e29f5ea4a 100755 (executable)
@@ -12,7 +12,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: mkmyocamlbuild_config.sh,v 1.10 2008/01/11 16:13:16 doligez Exp $
+# $Id: mkmyocamlbuild_config.sh 8768 2008-01-11 16:13:18Z doligez $
 
 cd `dirname $0`/..
 
index 0fa63b24163849060c306d4081bcd428dc8070d6..b7e7325b68f6f0bcb9521e69dd42c466733c297e 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: mkruntimedef.sh,v 1.2 2007/10/08 14:19:34 doligez Exp $
+# $Id: mkruntimedef.sh 8416 2007-10-08 14:19:34Z doligez $
 echo 'let builtin_exceptions = [|'; \
 sed -n -e 's|.*/\* \("[A-Za-z_]*"\) \*/$|  \1;|p' byterun/fail.h | \
 sed -e '$s/;$//'; \
index 6b2a3b0901a82f242f3d3458178646390aaaf1e0..728ba62d3087170f0ff0cd6509a7455320f6d4f6 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: myocamlbuild.sh,v 1.3 2007/10/08 14:19:34 doligez Exp $
+# $Id: myocamlbuild.sh 8416 2007-10-08 14:19:34Z doligez $
 cd `dirname $0`/..
 set -xe
 if [ ! -x _build/ocamlbuild/ocamlbuildlight.byte ]; then
index 84a2d913ea2c29592ff6a5ce120dfdfdee8b3106..b2c7607dc2c1a22eb3632bf4cfbcdd6bf364d3ec 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: ocamlbuild-byte-only.sh,v 1.3.4.1 2008/10/23 15:29:11 ertai Exp $
+# $Id: ocamlbuild-byte-only.sh 9099 2008-10-23 15:29:11Z ertai $
 set -e
 cd `dirname $0`/..
 . build/targets.sh
index c5669276c95f5754984708fa340f9033a3314c40..907cdd23eb88952c158c0ab292debfe36bc46966 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: ocamlbuild-native-only.sh,v 1.3.4.1 2008/10/23 15:29:11 ertai Exp $
+# $Id: ocamlbuild-native-only.sh 9099 2008-10-23 15:29:11Z ertai $
 set -e
 cd `dirname $0`/..
 . build/targets.sh
index bde15ca462d02c26aa9f3896f3a5d5aa574213cc..4517c80b0ade8f02fb7fa6b8b3863f998472eb0e 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: ocamlbuildlib-native-only.sh,v 1.2.4.1 2008/10/23 15:29:11 ertai Exp $
+# $Id: ocamlbuildlib-native-only.sh 9099 2008-10-23 15:29:11Z ertai $
 set -e
 cd `dirname $0`/..
 . build/targets.sh
index 1327998a7f7bd67d411b7a0c704a000fb8f26303..69d96c65edc4213842e4d158de0620cbe29abad9 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: otherlibs-targets.sh,v 1.4.4.1 2009/05/26 12:49:16 ertai Exp $
+# $Id: otherlibs-targets.sh 9281 2009-05-26 12:50:41Z ertai $
 OTHERLIBS_BYTE=""
 OTHERLIBS_NATIVE=""
 OTHERLIBS_UNIX_NATIVE=""
index 7240fff26477c44a96a96844e8540b7d05c7e3e2..40b34b57732b4fe5fba2d6e97e43aee17737dad6 100755 (executable)
@@ -12,7 +12,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: partial-install.sh,v 1.9 2008/01/11 16:13:16 doligez Exp $
+# $Id: partial-install.sh 8768 2008-01-11 16:13:18Z doligez $
 
 ######################################
 ######### Copied from build/install.sh
index 4154f4984e47a1bb7d0c3b919e1757028c3c8ce3..98bbbadf450bddbde79000435217dd2a88c8975c 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: targets.sh,v 1.5 2008/01/11 16:13:16 doligez Exp $
+# $Id: targets.sh 8768 2008-01-11 16:13:18Z doligez $
 
 . config/config.sh
 . build/otherlibs-targets.sh
index 579f297fa4f5e7ecafd3df58e4182d2bc047ccee..1b359da7fd2278e90fdb6a569de79d2499dcb1d7 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: world.all.sh,v 1.3 2007/10/08 14:19:34 doligez Exp $
+# $Id: world.all.sh 8416 2007-10-08 14:19:34Z doligez $
 set -e
 cd `dirname $0`/..
 . build/targets.sh
index 379a8104a1fd8980d9f6812352771a8c7fd97a20..d6cffd9359270dcfa09e40bb32776ed06d099f00 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: world.byte.sh,v 1.3 2007/10/08 14:19:34 doligez Exp $
+# $Id: world.byte.sh 8416 2007-10-08 14:19:34Z doligez $
 set -e
 cd `dirname $0`/..
 . build/targets.sh
index d806635258c02b4e6c2d727cd9d5e7085c9bc89f..3412cdf15cc91a350ffe637d2e531f6f0a8eaa12 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: world.native.sh,v 1.3 2007/10/08 14:19:34 doligez Exp $
+# $Id: world.native.sh 8416 2007-10-08 14:19:34Z doligez $
 set -e
 cd `dirname $0`/..
 . build/targets.sh
index 3df67cf856c5911b797edc37b171f5de7b093fed..dd73e32d3128181af27e1c4f855b6e8c7b3b24b9 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: world.sh,v 1.3.4.2 2009/06/02 09:37:47 doligez Exp $
+# $Id: world.sh 9283 2009-06-02 09:37:47Z doligez $
 cd `dirname $0`
 set -e
 if [ -e ocamlbuild_mixed_mode ]; then
index ffb2b46e2532e5c8459e4b4af4331969d793659e..625a0f61b6aeb8806ca36add756483c58b012aae 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bytegen.ml,v 1.72.2.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: bytegen.ml 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (*  bytegen.ml : translation of lambda terms to lists of instructions. *)
 
index b414e900a2ce74b4435dc0a135ac843489406030..29407c3fe2a436bc899b5dea501bfae8c0d9f3d4 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bytegen.mli,v 1.6 1999/11/17 18:56:59 xleroy Exp $ *)
+(* $Id: bytegen.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Generation of bytecode from lambda terms *)
 
index 5c5c155a5a5f11d8123d78b4da0dda8b70e33565..10391fc14ec0987e086bb83065ba377e4328f82c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bytelibrarian.ml,v 1.19 2006/05/11 15:50:53 xleroy Exp $ *)
+(* $Id: bytelibrarian.ml 7422 2006-05-11 15:50:53Z xleroy $ *)
 
 (* Build libraries of .cmo files *)
 
index c9f1431693209a04ee9a681f9e693606e4a475cf..2c70697657a73153a2f7a02fa44c98a42bf5901b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bytelibrarian.mli,v 1.6 2000/03/06 22:11:06 weis Exp $ *)
+(* $Id: bytelibrarian.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 (* Build libraries of .cmo files *)
 
index 63fd58509c7481380137c49766c9e03c766ff035..1d9a4f492f0ab953c3189c33ae78c573617f2f7b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bytelink.ml,v 1.95 2007/11/15 15:18:28 frisch Exp $ *)
+(* $Id: bytelink.ml 9500 2009-12-28 13:13:23Z doligez $ *)
 
 (* Link a set of .cmo files and produce a bytecode executable. *)
 
@@ -377,24 +377,53 @@ let output_data_string outchan data =
     end
   done
 
+(* Output a debug stub *)
+
+let output_cds_file outfile =
+  Misc.remove_file outfile;
+  let outchan =
+    open_out_gen [Open_wronly; Open_trunc; Open_creat; Open_binary]
+      0o777 outfile in
+  try
+    Bytesections.init_record outchan;
+    (* The map of global identifiers *)
+    Symtable.output_global_map outchan;
+    Bytesections.record outchan "SYMB";
+    (* Debug info *)
+    output_debug_info outchan;
+    Bytesections.record outchan "DBUG";
+    (* The table of contents and the trailer *)
+    Bytesections.write_toc_and_trailer outchan;
+    close_out outchan
+  with x ->
+    close_out outchan;
+    remove_file outfile;
+    raise x
+
 (* Output a bytecode executable as a C file *)
 
 let link_bytecode_as_c tolink outfile =
   let outchan = open_out outfile in
-  try
+  begin try
     (* The bytecode *)
-    output_string outchan "#include <caml/mlvalues.h>\n";
     output_string outchan "\
-CAMLextern void caml_startup_code(
-           code_t code, asize_t code_size,
-           char *data, asize_t data_size,
-           char *section_table, asize_t section_table_size,
+#ifdef __cplusplus\n\
+extern \"C\" {\n\
+#endif\n\
+#include <caml/mlvalues.h>\n\
+CAMLextern void caml_startup_code(\n\
+           code_t code, asize_t code_size,\n\
+           char *data, asize_t data_size,\n\
+           char *section_table, asize_t section_table_size,\n\
            char **argv);\n";
     output_string outchan "static int caml_code[] = {\n";
     Symtable.init();
     Consistbl.clear crc_interfaces;
-    let output_fun = output_code_string outchan
-    and currpos_fun () = 0 in
+    let currpos = ref 0 in
+    let output_fun code =
+      output_code_string outchan code;
+      currpos := !currpos + String.length code
+    and currpos_fun () = !currpos in
     List.iter (link_file output_fun currpos_fun) tolink;
     (* The final STOP instruction *)
     Printf.fprintf outchan "\n0x%x};\n\n" Opcodes.opSTOP;
@@ -415,25 +444,31 @@ CAMLextern void caml_startup_code(
     (* The table of primitives *)
     Symtable.output_primitive_table outchan;
     (* The entry point *)
-    output_string outchan "\n
-void caml_startup(char ** argv)
-{
-  caml_startup_code(caml_code, sizeof(caml_code),
-                    caml_data, sizeof(caml_data),
-                    caml_sections, sizeof(caml_sections),
-                    argv);
-}\n";
+    output_string outchan "\n\
+void caml_startup(char ** argv)\n\
+{\n\
+  caml_startup_code(caml_code, sizeof(caml_code),\n\
+                    caml_data, sizeof(caml_data),\n\
+                    caml_sections, sizeof(caml_sections),\n\
+                    argv);\n\
+}\n\
+#ifdef __cplusplus\n\
+}\n\
+#endif\n";
     close_out outchan
   with x ->
     close_out outchan;
     raise x
+  end;
+  if !Clflags.debug then
+    output_cds_file ((Filename.chop_extension outfile) ^ ".cds")
 
 (* Build a custom runtime *)
 
 let build_custom_runtime prim_name exec_name =
-  Ccomp.call_linker Ccomp.Exe exec_name 
+  Ccomp.call_linker Ccomp.Exe exec_name
     ([prim_name] @ List.rev !Clflags.ccobjs @ ["-lcamlrun"])
-    Config.bytecomp_c_libraries
+    (Clflags.std_include_flag "-I" ^ " " ^ Config.bytecomp_c_libraries)
 
 let append_bytecode_and_cleanup bytecode_name exec_name prim_name =
   let oc = open_out_gen [Open_wronly; Open_append; Open_binary] 0 exec_name in
@@ -472,7 +507,20 @@ let link objfiles output_name =
     try
       link_bytecode tolink bytecode_name false;
       let poc = open_out prim_name in
+      output_string poc "\
+        #ifdef __cplusplus\n\
+        extern \"C\" {\n\
+        #endif\n\
+        #ifdef _WIN64\n\
+        typedef __int64 value;\n\
+        #else\n\
+        typedef long value;\n\
+        #endif\n";
       Symtable.output_primitive_table poc;
+      output_string poc "\
+        #ifdef __cplusplus\n\
+        }\n\
+        #endif\n";
       close_out poc;
       let exec_name = fix_exec_name output_name in
       if not (build_custom_runtime prim_name exec_name)
index bb59279fcfea0de1a751f68e3362ce1b671a6c70..99befe1b854693de1fb4da3f62e9094a0e6f5cfd 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bytelink.mli,v 1.12 2006/05/11 15:50:53 xleroy Exp $ *)
+(* $Id: bytelink.mli 7422 2006-05-11 15:50:53Z xleroy $ *)
 
 (* Link .cmo files and produce a bytecode executable. *)
 
index 7915aede2ef443a58edc23d212721408ca58c794..dc53e4dfacb5eb2df0f0860a693a46bc9885f3bb 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bytepackager.ml,v 1.6.10.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: bytepackager.ml 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (* "Package" a set of .cmo files into one .cmo file having the
    original compilation units as sub-modules. *)
index 914cd59b8c913b2e349b2a4800e49116d0dae552..de5c08629deb9afe86d6baf3db12d6f6130974c4 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bytepackager.mli,v 1.1 2002/02/08 16:55:42 xleroy Exp $ *)
+(* $Id: bytepackager.mli 4367 2002-02-08 16:55:44Z xleroy $ *)
 
 (* "Package" a set of .cmo files into one .cmo file having the
    original compilation units as sub-modules. *)
index 1200a436ac38c6f77a95e2147f06787bd17c5108..407aeec8659a435342bd456db4a15a4f1374ddbd 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bytesections.ml,v 1.3 2004/02/22 15:07:50 xleroy Exp $ *)
+(* $Id: bytesections.ml 6130 2004-02-22 15:07:51Z xleroy $ *)
 
 (* Handling of sections in bytecode executable files *)
 
index 7d3d315513297a1d1abceb033eed48127cc67559..a58ea59cb590f13435d54f8f39f80fbf14edcb62 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bytesections.mli,v 1.3 2004/02/22 15:07:50 xleroy Exp $ *)
+(* $Id: bytesections.mli 6130 2004-02-22 15:07:51Z xleroy $ *)
 
 (* Handling of sections in bytecode executable files *)
 
index 46f222c9490a42394a0a3b6c66f56252e396e86e..6d78f11ebeb05bc1326c80b43324525b0d5a0bbf 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: cmo_format.mli,v 1.1 2006/05/11 15:50:53 xleroy Exp $ *)
+(* $Id: cmo_format.mli 7422 2006-05-11 15:50:53Z xleroy $ *)
 
 (* Symbol table information for .cmo and .cma files *)
 
index 65112a2132fcb18608c9611cf52b7ec9ca9b2833..57e18232cd44fc7a50461fb87e693574747e9470 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: dll.ml,v 1.13.14.1 2009/05/01 01:46:50 garrigue Exp $ *)
+(* $Id: dll.ml 9249 2009-05-01 01:46:50Z garrigue $ *)
 
 (* Handling of dynamically-linked libraries *)
 
index 46d162feb37a42755d4fcdc901e3e5fcd950437d..1af28c4012c34ab4a6bb8f063c04e1c6ac44776d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: dll.mli,v 1.6 2006/09/28 21:36:38 xleroy Exp $ *)
+(* $Id: dll.mli 7656 2006-09-28 21:36:38Z xleroy $ *)
 
 (* Handling of dynamically-linked libraries *)
 
index f607e7c08377f56739709d368f2123103de99276..755873d60cf4f6176da1fce36f674ef4e8f1154b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emitcode.ml,v 1.34 2008/07/24 05:35:22 frisch Exp $ *)
+(* $Id: emitcode.ml 8930 2008-07-24 05:35:22Z frisch $ *)
 
 (* Generation of bytecode + relocation information *)
 
index 5a09293dbed39afde88fbadc0e1c1b26a9ba9138..6c78f0463b1707827c1aa889f028a0f215fab538 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: emitcode.mli,v 1.15 2006/05/11 15:50:53 xleroy Exp $ *)
+(* $Id: emitcode.mli 7422 2006-05-11 15:50:53Z xleroy $ *)
 
 (* Generation of bytecode for .cmo files *)
 
index 2169ac74dbd92e0a879da8d4766457b246920154..59c1edba989a3d116df7cd9915c63fe95357c296 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: instruct.ml,v 1.22.20.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: instruct.ml 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 open Lambda
 
index ce97609fc40864e183944ce1f7ac785a1582cc8a..89427c4111c4e4d22d9ab36ee2b63d745ba180e3 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: instruct.mli,v 1.22.20.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: instruct.mli 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (* The type of the instructions of the abstract machine *)
 
index 121f889826dbeba0b8a07d11e7d6e31afe5c89de..10a7c2a637539617ab9979b2b7e37a3d11ac6d37 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lambda.ml,v 1.48 2008/08/01 16:57:10 mauny Exp $ *)
+(* $Id: lambda.ml 8974 2008-08-01 16:57:10Z mauny $ *)
 
 open Misc
 open Path
index 0476b874251bb0747398884281da45046da0df4d..68611e02b855f2a4ecd09eb3679e404f22dff886 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lambda.mli,v 1.46 2008/08/01 16:57:10 mauny Exp $ *)
+(* $Id: lambda.mli 8974 2008-08-01 16:57:10Z mauny $ *)
 
 (* The "lambda" intermediate code *)
 
index a9fbc46bd33f1afcc0aca31ed08ed5d0ef83fa62..478af3b11c3ca6a7d01a916b508a6510c9790fae 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: matching.ml,v 1.71 2008/08/01 16:57:10 mauny Exp $ *)
+(* $Id: matching.ml 8974 2008-08-01 16:57:10Z mauny $ *)
 
 (* Compilation of pattern matching *)
 
index 41b359636c79f4b4826bb0ea8d19013ffe08f45c..5e258565e9a5e3a80e0b89fa626afffd0fb4402d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: matching.mli,v 1.13 2008/08/01 16:57:10 mauny Exp $ *)
+(* $Id: matching.mli 8974 2008-08-01 16:57:10Z mauny $ *)
 
 (* Compilation of pattern-matching *)
 
index 08cf707b88773e031de276965b9d14b37a5e17f2..3e2cdeb814c23d2dce1d96835f2e0cd67d943dfc 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: meta.ml,v 1.13 2004/04/16 13:46:20 starynke Exp $ *)
+(* $Id: meta.ml 6224 2004-04-16 13:46:43Z starynke $ *)
 
 external global_data : unit -> Obj.t array = "caml_get_global_data"
 external realloc_global_data : int -> unit = "caml_realloc_global"
index 0cbe85ab03dbdde8ec5433f7b25be578e1db8694..a5bc011949288b2b5ff59219360a0596522e2437 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: meta.mli,v 1.13 2004/04/16 13:46:27 starynke Exp $ *)
+(* $Id: meta.mli 6224 2004-04-16 13:46:43Z starynke $ *)
 
 (* To control the runtime system and bytecode interpreter *)
 
index c385ed09356a7539386ed69706ec4f6897b51f8d..1f0a095c9dce80c65f772d9f4477518006a60c5d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printinstr.ml,v 1.23 2005/08/25 15:35:16 doligez Exp $ *)
+(* $Id: printinstr.ml 7031 2005-08-25 15:35:16Z doligez $ *)
 
 (* Pretty-print lists of instructions *)
 
index 04250d8ed5838ae12e8d7bd34c36484467081c50..4b1efd690ae9c085783b7699d0cc10d16b413b0b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printinstr.mli,v 1.5 2000/03/06 22:11:08 weis Exp $ *)
+(* $Id: printinstr.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 (* Pretty-print lists of instructions *)
 
index edb32d073d4cd6f30ab7ce4666e7de68adc424c3..0c7fde69629078a36e8b86f03780bc3e1c0c00f8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printlambda.ml,v 1.55 2008/08/01 16:57:10 mauny Exp $ *)
+(* $Id: printlambda.ml 8974 2008-08-01 16:57:10Z mauny $ *)
 
 open Format
 open Asttypes
index 8493e5994b384300eae8c1f4a7710dccbec3979c..4c0d5681a78d6467c5f1aa972d80230d50b533ff 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printlambda.mli,v 1.5 2000/03/06 22:11:10 weis Exp $ *)
+(* $Id: printlambda.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 open Lambda
 
index 38329db120cb020dda76be478860349a7aa787fb..f89d192ca826e494a5947985228188cb9d006449 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: runtimedef.mli,v 1.4 1999/11/17 18:57:01 xleroy Exp $ *)
+(* $Id: runtimedef.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Values and functions known and/or provided by the runtime system *)
 
index 3db3d489158a9b002f9c67bf5cb7f8948ee92cef..7f087650ee23c572cf71aecb0af15b4127ffe83d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: simplif.ml,v 1.25 2008/03/19 10:26:56 maranget Exp $ *)
+(* $Id: simplif.ml 8850 2008-03-19 10:26:56Z maranget $ *)
 
 (* Elimination of useless Llet(Alias) bindings.
    Also transform let-bound references into variables. *)
index 16b1562f93a6fef519ba97506b43d79e6c5cdae1..fd8eab7490a806e1719be52d5a7e3d16ce81c846 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: simplif.mli,v 1.3 1999/11/17 18:57:01 xleroy Exp $ *)
+(* $Id: simplif.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Elimination of useless Llet(Alias) bindings *)
 
index fd38b811c980f1a06f528a4cf99e62993b2203a8..244e58869d86cfa61aa789752081de2dbfeb3002 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: symtable.ml,v 1.39 2006/05/11 15:50:53 xleroy Exp $ *)
+(* $Id: symtable.ml 9347 2009-09-23 14:31:18Z xleroy $ *)
 
 (* To assign numbers to globals and primitives *)
 
@@ -114,14 +114,10 @@ open Printf
 
 let output_primitive_table outchan =
   let prim = all_primitives() in
-  fprintf outchan "\
-    #ifdef __cplusplus\n\
-    extern \"C\" {\n\
-    #endif\n";
   for i = 0 to Array.length prim - 1 do
-    fprintf outchan "extern long %s();\n" prim.(i)
+    fprintf outchan "extern value %s();\n" prim.(i)
   done;
-  fprintf outchan "typedef long (*primitive)();\n";
+  fprintf outchan "typedef value (*primitive)();\n";
   fprintf outchan "primitive caml_builtin_cprim[] = {\n";
   for i = 0 to Array.length prim - 1 do
     fprintf outchan "  %s,\n" prim.(i)
@@ -131,11 +127,7 @@ let output_primitive_table outchan =
   for i = 0 to Array.length prim - 1 do
     fprintf outchan "  \"%s\",\n" prim.(i)
   done;
-  fprintf outchan "  (char *) 0 };\n";
-  fprintf outchan "\
-    #ifdef __cplusplus\n\
-    }\n\
-    #endif\n"
+  fprintf outchan "  (char *) 0 };\n"
 
 (* Initialization for batch linking *)
 
index 5743a9b16a89353284212b088c7167b0b45bfc38..2b1583f228933c52b1274680707b0ca3fd7eeb23 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: symtable.mli,v 1.15 2006/05/11 15:50:53 xleroy Exp $ *)
+(* $Id: symtable.mli 7422 2006-05-11 15:50:53Z xleroy $ *)
 
 (* Assign locations and numbers to globals and primitives *)
 
index c883e188f36d975b0b4dcf34fa3a3d29975783f5..6aec67cc47e4b0f013d1743e431d6609ea6fd4cd 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: translclass.ml,v 1.43.4.1 2008/10/08 13:07:13 doligez Exp $ *)
+(* $Id: translclass.ml 9079 2008-10-08 13:09:39Z doligez $ *)
 
 open Misc
 open Asttypes
index ab813c10615adc292bde03a66c335fa52bb0fec1..135f8d86debdac4270b877eb6a485f627eacc978 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: translclass.mli,v 1.12 2006/04/05 02:28:12 garrigue Exp $ *)
+(* $Id: translclass.mli 7372 2006-04-05 02:28:13Z garrigue $ *)
 
 open Typedtree
 open Lambda
index d4be9aa9a83112c8b642d13d1bdec4db69d0e544..edf8da9399e68cdd256b55e9ace02edf422b1503 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: translcore.ml,v 1.110 2008/08/27 10:23:21 garrigue Exp $ *)
+(* $Id: translcore.ml 8992 2008-08-27 10:23:21Z garrigue $ *)
 
 (* Translation from typed abstract syntax to lambda terms,
    for the core language *)
index 761c9e81a12a0581934cdaca22da033d9d2037c5..9f8e1ac2f3350ba49f8a7f2a3e190a074b18d1a1 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: translcore.mli,v 1.19 2007/05/16 08:21:40 doligez Exp $ *)
+(* $Id: translcore.mli 8232 2007-05-16 08:21:41Z doligez $ *)
 
 (* Translation from typed abstract syntax to lambda terms,
    for the core language *)
index 4a7a97009b25461bb702c27970912aadf671a5c1..c05e18679c2e55100e9053313b9926defc9d10b9 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: translmod.ml,v 1.56 2008/07/24 05:35:22 frisch Exp $ *)
+(* $Id: translmod.ml 8930 2008-07-24 05:35:22Z frisch $ *)
 
 (* Translation from typed abstract syntax to lambda terms,
    for the module language *)
index b292c34cd68932709a55cebf741c17fadb6e4501..39eaa076cd09b6c9566252561caae9b7dcdb4206 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: translmod.mli,v 1.14 2008/07/24 05:35:22 frisch Exp $ *)
+(* $Id: translmod.mli 8930 2008-07-24 05:35:22Z frisch $ *)
 
 (* Translation from typed abstract syntax to lambda terms,
    for the module language *)
index 9133784fe76fb10c9833a8feed46c58b9a1dcca3..5d042346b5745f9330a9a4bd140a04558c47dfb8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: translobj.ml,v 1.9.26.1 2008/10/08 13:07:13 doligez Exp $ *)
+(* $Id: translobj.ml 9079 2008-10-08 13:09:39Z doligez $ *)
 
 open Misc
 open Primitive
index 7146d5ef731523822b7264b9d6e02e0bfbc2ba9c..7a0749b0d8cab06d4d50718c5368297bafdf8910 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: translobj.mli,v 1.6.26.1 2008/10/08 13:07:13 doligez Exp $ *)
+(* $Id: translobj.mli 9079 2008-10-08 13:09:39Z doligez $ *)
 
 open Lambda
 
index 366bb3e9fd335e2f545e55e4a4c9582f4dcefc2f..c7b90034cab289c1009da275baac3c868b73ec6d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typeopt.ml,v 1.13 2008/02/29 14:21:22 doligez Exp $ *)
+(* $Id: typeopt.ml 9334 2009-09-16 09:44:33Z xleroy $ *)
 
 (* Auxiliaries for type-based optimizations, e.g. array kinds *)
 
@@ -22,18 +22,17 @@ open Types
 open Typedtree
 open Lambda
 
+let scrape env ty =
+  (Ctype.repr (Ctype.expand_head_opt env (Ctype.correct_levels ty))).desc
+
 let has_base_type exp base_ty_path =
-  let exp_ty =
-    Ctype.expand_head_opt exp.exp_env (Ctype.correct_levels exp.exp_type) in
-  match Ctype.repr exp_ty with
-    {desc = Tconstr(p, _, _)} -> Path.same p base_ty_path
+  match scrape exp.exp_env exp.exp_type with
+  | Tconstr(p, _, _) -> Path.same p base_ty_path
   | _ -> false
 
 let maybe_pointer exp =
-  let exp_ty =
-    Ctype.expand_head_opt exp.exp_env (Ctype.correct_levels exp.exp_type) in
-  match (Ctype.repr exp_ty).desc with
-    Tconstr(p, args, abbrev) ->
+  match scrape exp.exp_env exp.exp_type with
+  | Tconstr(p, args, abbrev) ->
       not (Path.same p Predef.path_int) &&
       not (Path.same p Predef.path_char) &&
       begin try
@@ -50,9 +49,8 @@ let maybe_pointer exp =
   | _ -> true
 
 let array_element_kind env ty =
-  let ty = Ctype.repr (Ctype.expand_head_opt env ty) in
-  match ty.desc with
-    Tvar | Tunivar ->
+  match scrape env ty with
+  | Tvar | Tunivar ->
       Pgenarray
   | Tconstr(p, args, abbrev) ->
       if Path.same p Predef.path_int || Path.same p Predef.path_char then
@@ -85,9 +83,8 @@ let array_element_kind env ty =
       Paddrarray
 
 let array_kind_gen ty env =
-  let array_ty = Ctype.expand_head_opt env (Ctype.correct_levels ty) in
-  match (Ctype.repr array_ty).desc with
-    Tconstr(p, [elt_ty], _) | Tpoly({desc = Tconstr(p, [elt_ty], _)}, _)
+  match scrape env ty with
+  | Tconstr(p, [elt_ty], _) | Tpoly({desc = Tconstr(p, [elt_ty], _)}, _)
     when Path.same p Predef.path_array ->
       array_element_kind env elt_ty
   | _ ->
@@ -98,9 +95,9 @@ let array_kind exp = array_kind_gen exp.exp_type exp.exp_env
 
 let array_pattern_kind pat = array_kind_gen pat.pat_type pat.pat_env
 
-let bigarray_decode_type ty tbl dfl =
-  match (Ctype.repr ty).desc with
-    Tconstr(Pdot(Pident mod_id, type_name, _), [], _)
+let bigarray_decode_type env ty tbl dfl =
+  match scrape env ty with
+  | Tconstr(Pdot(Pident mod_id, type_name, _), [], _)
     when Ident.name mod_id = "Bigarray" ->
       begin try List.assoc type_name tbl with Not_found -> dfl end
   | _ ->
@@ -125,10 +122,9 @@ let layout_table =
    "fortran_layout", Pbigarray_fortran_layout]
 
 let bigarray_kind_and_layout exp =
-  let ty = Ctype.repr (Ctype.expand_head_opt exp.exp_env exp.exp_type) in
-  match ty.desc with
-    Tconstr(p, [caml_type; elt_type; layout_type], abbrev) ->
-      (bigarray_decode_type elt_type kind_table Pbigarray_unknown,
-       bigarray_decode_type layout_type layout_table Pbigarray_unknown_layout)
+  match scrape exp.exp_env exp.exp_type with
+  | Tconstr(p, [caml_type; elt_type; layout_type], abbrev) ->
+      (bigarray_decode_type exp.exp_env elt_type kind_table Pbigarray_unknown,
+       bigarray_decode_type exp.exp_env layout_type layout_table Pbigarray_unknown_layout)
   | _ ->
       (Pbigarray_unknown, Pbigarray_unknown_layout)
index d057be612b2084c268852b758017251e2af36d36..e7d3a48dd8063dd2beadb80fd89d03d6473ff032 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typeopt.mli,v 1.4 2000/02/28 15:45:50 xleroy Exp $ *)
+(* $Id: typeopt.mli 2873 2000-02-28 15:45:50Z xleroy $ *)
 
 (* Auxiliaries for type-based optimizations, e.g. array kinds *)
 
index 9020f408e2c6323cad684b77bd9c982aa4808043..b4714b0506ab109fdb26580e83f1499c59536543 100644 (file)
@@ -15,3 +15,5 @@ interp.a.lst
 *.[sd]obj
 *.lib
 .gdb_history
+*.so
+*.a
index 221466a17dcbf5ed3105ae95d2bd10f9ed471a48..47172726e76a898a395f8d78165144ff3ae31701 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.64.2.5 2009/05/25 12:25:25 doligez Exp $
+# $Id: Makefile 9280 2009-05-25 12:25:25Z doligez $
 
 include Makefile.common
 
index 9580b86b235872a186f9aa97e726532cf50be6b2..be957f04550d25409f310096e7ac3b2165d5928a 100755 (executable)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.common,v 1.6.2.1 2009/05/25 12:25:25 doligez Exp $
+# $Id: Makefile.common 9280 2009-05-25 12:25:25Z doligez $
 
 include ../config/Makefile
 
index 7691e23e15e2351870b6d938bdf2903be6410707..bc25e81968b898042f75aa7b91e100401df707ab 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.48.2.1 2008/11/26 13:26:53 xleroy Exp $
+# $Id: Makefile.nt 9142 2008-11-26 13:26:53Z xleroy $
 
 include Makefile.common
 
index 5eb8ec5cc9fa39a67e82b428452f3f5bf7793c48..1c1f11facfce67e37c96e1908613431f2742034f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: alloc.c,v 1.29 2007/02/09 13:31:15 doligez Exp $ */
+/* $Id: alloc.c 7849 2007-02-09 13:31:15Z doligez $ */
 
 /* 1. Allocation functions doing the same work as the macros in the
       case where [Setup_for_gc] and [Restore_after_gc] are no-ops.
index 5960539b2ef5118849c4755372c7298a34a83162..af81bee7d8cfc89ec3a75812f11ab74a5fa6d065 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: alloc.h,v 1.18 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: alloc.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 #ifndef CAML_ALLOC_H
 #define CAML_ALLOC_H
index 88f16229e4efe8e2d420099d8143ae4faed55afa..e6fe6f32cccc6626ba3db3c2fee515f8246ee1f7 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: array.c,v 1.26 2008/09/08 09:43:28 frisch Exp $ */
+/* $Id: array.c 8995 2008-09-08 09:43:28Z frisch $ */
 
 /* Operations on arrays */
 
index eb240fc32f825f5fc532d1d9cd11519e5b1ae64a..304fe44a81ad0458ee0f5266df0446548ffd3c80 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: backtrace.c,v 1.25 2008/03/14 13:47:24 xleroy Exp $ */
+/* $Id: backtrace.c 9300 2009-06-18 11:17:16Z xclerc $ */
 
 /* Stack backtrace for uncaught exceptions */
 
@@ -39,6 +39,7 @@ CAMLexport int caml_backtrace_active = 0;
 CAMLexport int caml_backtrace_pos = 0;
 CAMLexport code_t * caml_backtrace_buffer = NULL;
 CAMLexport value caml_backtrace_last_exn = Val_unit;
+CAMLexport char * caml_cds_file = NULL;
 #define BACKTRACE_BUFFER_SIZE 1024
 
 /* Location of fields in the Instruct.debug_event record */
@@ -135,7 +136,11 @@ static value read_debug_info(void)
   uint32 num_events, orig, i;
   value evl, l;
 
-  exec_name = caml_exe_name;
+  if (caml_cds_file != NULL) {
+    exec_name = caml_cds_file;
+  } else {
+    exec_name = caml_exe_name;
+  }
   fd = caml_attempt_open(&exec_name, &trail, 1);
   if (fd < 0) CAMLreturn(Val_false);
   caml_read_section_descriptors(fd, &trail);
index 25fbfb21f5a3ec81ab6f19b9379e51aa09f68cb3..f3327d0d35da8fe15528f2d5696a884c68743465 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: backtrace.h,v 1.8 2008/03/14 13:47:24 xleroy Exp $ */
+/* $Id: backtrace.h 9300 2009-06-18 11:17:16Z xclerc $ */
 
 #ifndef CAML_BACKTRACE_H
 #define CAML_BACKTRACE_H
@@ -22,6 +22,7 @@ CAMLextern int caml_backtrace_active;
 CAMLextern int caml_backtrace_pos;
 CAMLextern code_t * caml_backtrace_buffer;
 CAMLextern value caml_backtrace_last_exn;
+CAMLextern char * caml_cds_file;
 
 CAMLprim value caml_record_backtrace(value vflag);
 #ifndef NATIVE_CODE
index 2a5ea8160d03774ae6c553d54c8e93d74a0c8b63..c30716b3a7db4a5760538216ee5e1d928bd99162 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: callback.c,v 1.24 2006/09/11 12:12:24 doligez Exp $ */
+/* $Id: callback.c 7596 2006-09-11 12:12:24Z doligez $ */
 
 /* Callbacks from C to Caml */
 
index e7339473b46b13281f705a01c33eb59bd15e30d3..9937832bcc900ac9592b44e32315d8a7c23a97a7 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: callback.h,v 1.14 2006/09/11 12:12:24 doligez Exp $ */
+/* $Id: callback.h 7596 2006-09-11 12:12:24Z doligez $ */
 
 /* Callbacks from C to Caml */
 
index 710c09697cc4bb27894f2eb8465fa89f48821734..b10b6353139af1e02cd8dba5edaa82a506c29275 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: compact.c,v 1.26 2008/02/29 12:56:15 doligez Exp $ */
+/* $Id: compact.c 8822 2008-02-29 12:56:15Z doligez $ */
 
 #include <string.h>
 
index 424fe3e6230d0c0257345370260058177ced03e5..155e7ce88e2fd9749707d106473302fb654a5752 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: compact.h,v 1.7 2003/12/31 14:20:35 doligez Exp $ */
+/* $Id: compact.h 6044 2003-12-31 14:20:40Z doligez $ */
 
 #ifndef CAML_COMPACT_H
 #define CAML_COMPACT_H
index c49316f33570a8c3326faaa1d257c04fd332721b..a383724e8239526b1bffa5d57c8764bfb3b55806 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: compare.c,v 1.39 2008/01/11 16:13:16 doligez Exp $ */
+/* $Id: compare.c 8768 2008-01-11 16:13:18Z doligez $ */
 
 #include <string.h>
 #include <stdlib.h>
index 5f29b1f9840cf99e158e226d523f05c44edb2696..603d52bcb4a75126cee2b8b1275d3830c8a7a1e6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: compare.h,v 1.2 2003/12/31 14:20:35 doligez Exp $ */
+/* $Id: compare.h 6044 2003-12-31 14:20:40Z doligez $ */
 
 #ifndef CAML_COMPARE_H
 #define CAML_COMPARE_H
index 3c2d775cbd4ea4fe56a65a972efba0aec1781731..fdc87b7c6ce7936b61970f60402ee3a2c278f380 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: compatibility.h,v 1.17 2008/07/28 11:59:55 doligez Exp $ */
+/* $Id: compatibility.h 8953 2008-07-28 11:59:55Z doligez $ */
 
 /* definitions for compatibility with old identifiers */
 
index 265d92a474ade6d781a384129de815a2d8ad113b..4606261e1d4504bbdd887ee573905a6f70fcaa61 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: config.h,v 1.42.4.1 2008/11/02 14:30:05 xleroy Exp $ */
+/* $Id: config.h 9117 2008-11-02 14:30:05Z xleroy $ */
 
 #ifndef CAML_CONFIG_H
 #define CAML_CONFIG_H
index c83ed970429c5fb6773929d7b59ffcde8b3087ac..44bb553592f587dd14f91be802ec9584b27174ee 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: custom.c,v 1.15 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: custom.c 7064 2005-09-22 14:21:50Z xleroy $ */
 
 #include <string.h>
 
index a8fc63f42ea14240fb424f2e13e80ca4d1a2a355..cddc6e966eec6dac65376cc4ad0d291ecf456843 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: custom.h,v 1.13 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: custom.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 #ifndef CAML_CUSTOM_H
 #define CAML_CUSTOM_H
index dd201fe006a6e552f98704c3f4686a0b16cd3eb0..378158d02303da2e00a6d6fd07a9e7a5817f8ba6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: debugger.c,v 1.31 2008/07/29 08:31:41 xleroy Exp $ */
+/* $Id: debugger.c 8955 2008-07-29 08:31:41Z xleroy $ */
 
 /* Interface with the debugger */
 
index e030f9718c0442de8ee3ac9f03ac8a0f280ef6ed..124a59b368eaa7563fe790a1d2b91e0b42b4ceba 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: debugger.h,v 1.10 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: debugger.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 /* Interface with the debugger */
 
index ef8dcc07cad84dd45a873b8c29281e9441ae3c2b..cd6e8f6b7c58ed91917feb1dd2f1e3f8e59a61ba 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: dynlink.c,v 1.18 2008/04/22 12:24:10 frisch Exp $ */
+/* $Id: dynlink.c 8873 2008-04-22 12:24:10Z frisch $ */
 
 /* Dynamic loading of C primitives. */
 
index 6b4f3014fd942345cbf71b73b77b3ba81c5fa8b6..aed9c03eeef1904fcb1dd00e0a814e0608ccc6ba 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: dynlink.h,v 1.8 2004/02/22 15:07:51 xleroy Exp $ */
+/* $Id: dynlink.h 6130 2004-02-22 15:07:51Z xleroy $ */
 
 /* Dynamic loading of C primitives. */
 
index ac788cd3a00a20f5ea160e10288bc3046469146f..d126ea847707fb3389a1d9216a87b08f9a08e0ad 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: exec.h,v 1.14 2004/06/01 12:36:34 xleroy Exp $ */
+/* $Id: exec.h 6359 2004-06-01 12:36:34Z xleroy $ */
 
 /* exec.h : format of executable bytecode files */
 
index 24c583364a3285e897d7a7900dc2c8d89c834d37..0e7bc62e6c03632da60a0a53a7b913b335d7f19d 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: extern.c,v 1.64 2008/08/04 11:45:58 xleroy Exp $ */
+/* $Id: extern.c 8978 2008-08-04 11:45:58Z xleroy $ */
 
 /* Structured output */
 
index 11146f46d83221cfb3b96c84f39b7035aa62a31e..72af1f0ea2582826b826449ee23f698ae0774a1c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: fail.c,v 1.32 2008/09/18 11:23:28 xleroy Exp $ */
+/* $Id: fail.c 9030 2008-09-18 11:23:28Z xleroy $ */
 
 /* Raising exceptions from C. */
 
index ab7b1908dfe02cce4189b4dc7f88a84cd84dc495..438728f9a0ab9af0d9bacb3ecee4caba91c06b81 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: fail.h,v 1.27 2008/09/18 11:23:28 xleroy Exp $ */
+/* $Id: fail.h 9030 2008-09-18 11:23:28Z xleroy $ */
 
 #ifndef CAML_FAIL_H
 #define CAML_FAIL_H
index f352f28ae098deb1398f4b08500fb3197851be5f..c0042b76c466255ba6fbfecfa85e6083bbd55136 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: finalise.c,v 1.23.2.1 2009/05/18 09:37:46 doligez Exp $ */
+/* $Id: finalise.c 9259 2009-05-18 09:37:46Z doligez $ */
 
 /* Handling of finalised values. */
 
index 1ed4925d5d563eac9d84154fd8ec9cb576d235b2..cca82a1fa387a8cfd85567515ebd9a4481a4acba 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: finalise.h,v 1.5 2004/01/02 19:23:21 doligez Exp $ */
+/* $Id: finalise.h 6047 2004-01-02 19:23:29Z doligez $ */
 
 #ifndef CAML_FINALISE_H
 #define CAML_FINALISE_H
index cf732755ea6fc132a3d7f91195f7fed4210488bf..ac6281f25170b55586d85abaa2433ca5841a7863 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: fix_code.c,v 1.31 2004/05/26 11:10:51 garrigue Exp $ */
+/* $Id: fix_code.c 6331 2004-05-26 11:10:52Z garrigue $ */
 
 /* Handling of blocks of bytecode (endianness switch, threading). */
 
index c0ec39b869874ece2845853cde12405bb9f72d5b..3a841bb95cbad5489e234b957c8785434744d003 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: fix_code.h,v 1.17 2004/01/02 19:23:21 doligez Exp $ */
+/* $Id: fix_code.h 6047 2004-01-02 19:23:29Z doligez $ */
 
 /* Handling of blocks of bytecode (endianness switch, threading). */
 
index cdaff7613452df109c40ff9c9c90f72840f1a621..86f027ee50341fd416d60de9cf216e3e41256ebe 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: floats.c,v 1.50 2008/08/02 11:02:28 xleroy Exp $ */
+/* $Id: floats.c 8976 2008-08-02 11:02:28Z xleroy $ */
 
 /* The interface of this file is in "mlvalues.h" and "alloc.h" */
 
index ae9f4ce17918d5350b388bd288296897981609f2..4201dfd9c4fa51f06f18453004d28eccb994141e 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: freelist.c,v 1.20.4.1 2008/11/18 10:24:42 doligez Exp $ */
+/* $Id: freelist.c 9131 2008-11-18 10:24:43Z doligez $ */
 
 #define FREELIST_DEBUG 0
 #if FREELIST_DEBUG
index 1ec93e9184549a724fd660495c9d4a043312a35e..930f68949611e625a9f189c4f530da98a2192e1b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: freelist.h,v 1.13.4.1 2008/11/18 10:24:43 doligez Exp $ */
+/* $Id: freelist.h 9131 2008-11-18 10:24:43Z doligez $ */
 
 /* Free lists of heap blocks. */
 
index 6f77fc46d05f5bb2d870feb04049099438205cfd..7acaea8285bde91c1fc20397e5d3ffaabc3e51ae 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: gc.h,v 1.15 2004/07/19 13:20:06 xleroy Exp $ */
+/* $Id: gc.h 6557 2004-07-19 13:20:06Z xleroy $ */
 
 #ifndef CAML_GC_H
 #define CAML_GC_H
index 69114da66a115b445d5c93ef9434ab01cbbc657d..d38c704e89b6fc482538ab7fb61a54627f638d81 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: gc_ctrl.c,v 1.53.4.2 2008/11/20 18:33:13 doligez Exp $ */
+/* $Id: gc_ctrl.c 9409 2009-11-04 12:24:35Z doligez $ */
 
 #include "alloc.h"
 #include "compact.h"
@@ -41,7 +41,7 @@ intnat caml_stat_minor_collections = 0,
        caml_stat_compactions = 0,
        caml_stat_heap_chunks = 0;
 
-extern asize_t caml_major_heap_increment;  /* bytes; see major_gc.c */
+extern uintnat caml_major_heap_increment;  /* bytes; see major_gc.c */
 extern uintnat caml_percent_free;          /*        see major_gc.c */
 extern uintnat caml_percent_max;           /*        see compact.c */
 extern uintnat caml_allocation_policy;     /*        see freelist.c */
@@ -419,7 +419,7 @@ static void test_and_compact (void)
 
   fp = 100.0 * caml_fl_cur_size
        / (Wsize_bsize (caml_stat_heap_size) - caml_fl_cur_size);
-  if (fp > 1000000.0) fp = 1000000.0;
+  if (fp > 999999.0) fp = 999999.0;
   caml_gc_message (0x200, "Estimated overhead (lower bound) = %"
                           ARCH_INTNAT_PRINTF_FORMAT "u%%\n",
                    (uintnat) fp);
index 6c3d9ea805128c20ed10ed16b44d53b1e2ea838a..512f986f522103fc2665f3681990ac8eb557d828 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: gc_ctrl.h,v 1.16 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: gc_ctrl.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 #ifndef CAML_GC_CTRL_H
 #define CAML_GC_CTRL_H
index 3f60e95dd919f8f4c2cc18f026077942cf0181fb..38aac416982766ce44e8e771278cc2dbc3bb5af8 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: globroots.c,v 1.11.2.1 2009/03/28 15:26:37 xleroy Exp $ */
+/* $Id: globroots.c 9195 2009-03-28 15:26:37Z xleroy $ */
 
 /* Registration of global memory roots */
 
index faa230322bc4808d3d8dd4d7141d258b2fbdd8b4..3f1e6c4b72d4e58084acdf8ba40e0a5c7f3c6e03 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: globroots.h,v 1.5 2008/03/10 19:56:39 xleroy Exp $ */
+/* $Id: globroots.h 8828 2008-03-10 19:56:39Z xleroy $ */
 
 /* Registration of global memory roots */
 
index dc0d58dc8d5589703e23bfe8f83ba9023d4b15d8..c25ffa9800fdbed11001048a0cef26e250566d56 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: hash.c,v 1.26 2008/08/01 14:10:36 xleroy Exp $ */
+/* $Id: hash.c 8970 2008-08-01 14:10:36Z xleroy $ */
 
 /* The generic hashing primitive */
 
index fbff001330f9da80ac50e513f39409049dc1370e..b301c45549ef7ec7158a4e4eb4a6f438cee10479 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: instrtrace.c,v 1.22 2008/01/03 09:37:09 xleroy Exp $ */
+/* $Id: instrtrace.c 8743 2008-01-03 09:37:10Z xleroy $ */
 
 /* Trace the instructions executed */
 
index a9d1716cc32b27612e74a508973fe1aada3faa8c..1e7657bc9441b1690bdfc3e8436727af405c1a0f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: instrtrace.h,v 1.9 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: instrtrace.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 /* Trace the instructions executed */
 
index 1e6cda787c3f169ed4d96d7b8055ecb91a5e8586..c684dcf9cf1808dd2c280b76f0832e2ca584fa60 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: instruct.h,v 1.20 2004/05/26 11:10:51 garrigue Exp $ */
+/* $Id: instruct.h 6331 2004-05-26 11:10:52Z garrigue $ */
 
 /* The instruction set. */
 
index f788103cea6b51e0030859d47968ad917690dd79..a5a5024e4f56e4ba1cf542c55f0c50be3d3baaef 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: int64_emul.h,v 1.5.18.1 2009/03/28 18:34:19 xleroy Exp $ */
+/* $Id: int64_emul.h 9202 2009-03-28 18:34:19Z xleroy $ */
 
 /* Software emulation of 64-bit integer arithmetic, for C compilers
    that do not support it.  */
index 71a1634f5a069bfd88e17bda97ae9bca34efa5db..a0a4f25679138b6f057696548b8aecc05c49541a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: int64_format.h,v 1.2 2003/12/15 18:10:47 doligez Exp $ */
+/* $Id: int64_format.h 6021 2003-12-15 18:10:51Z doligez $ */
 
 /* printf-like formatting of 64-bit integers, in case the C library
    printf() function does not support them. */
index 9fe40cbffd9389f5e2f9df1cceacd488771b9ae5..3a437df3e721d799687a2394c5e1c07f5555636f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: int64_native.h,v 1.5.18.1 2009/03/28 18:34:19 xleroy Exp $ */
+/* $Id: int64_native.h 9202 2009-03-28 18:34:19Z xleroy $ */
 
 /* Wrapper macros around native 64-bit integer arithmetic,
    so that it has the same interface as the software emulation
index 8cb25e6c95dfb2f0942a9a2b1ee0aecfdd40f54e..78972f6a273b18cc3edbb5b5d3bb6b23408c06d3 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: intern.c,v 1.61 2008/01/11 16:13:16 doligez Exp $ */
+/* $Id: intern.c 8768 2008-01-11 16:13:18Z doligez $ */
 
 /* Structured input, compact format */
 
index 7e997871b6e90c90c0749fc7258a66693998e758..0a2f04388f1fd4705ef12d4fd6adcce94cd06f84 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: interp.c,v 1.97.2.1 2009/05/25 08:02:16 xleroy Exp $ */
+/* $Id: interp.c 9279 2009-05-25 08:03:14Z xleroy $ */
 
 /* The bytecode interpreter */
 #include <stdio.h>
index 299b091710e4cdf9027d589a64aea10e3b959e61..8b83903c2efbd8a411538bd7d5f8d3752fc3122c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: interp.h,v 1.13 2004/04/26 14:08:22 basile Exp $ */
+/* $Id: interp.h 6257 2004-04-26 14:08:22Z basile $ */
 
 /* The bytecode interpreter */
 
index 7d8eb4c007a32b1bc55c4bb0ca0c60b36fd5ccb3..de0ef684352417979bed322a701940afd949fdbe 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: intext.h,v 1.32 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: intext.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 /* Structured input/output */
 
index f6c9d70ccf2b9d3a4f6b7d5aca6ee8f13a51bafe..268c6561e988e95fa150307ae85fa652e1ecbfbe 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: ints.c,v 1.51.4.2 2009/03/28 18:43:08 xleroy Exp $ */
+/* $Id: ints.c 9203 2009-03-28 18:43:08Z xleroy $ */
 
 #include <stdio.h>
 #include <string.h>
index 04b974618f4354fb5626577a170cc156a06402f6..c72fc4d52d4dece43156658f84bdcdf7969abd9c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: io.c,v 1.77 2007/02/25 12:38:36 xleroy Exp $ */
+/* $Id: io.c 7919 2007-02-25 12:38:36Z xleroy $ */
 
 /* Buffered input/output. */
 
index e0c5b36722e86fda4c0c57e1e1023a832b5a2e57..e43d5ec32f0e445a2dd3c053ccc8ef748d5dfc51 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: io.h,v 1.32 2008/09/27 21:16:29 weis Exp $ */
+/* $Id: io.h 9041 2008-09-27 21:16:29Z weis $ */
 
 /* Buffered input/output */
 
index db134f5202b629cef988a3261d879ea5707e4c1a..4a6fd486bca286c84c5ef80d73f1efad5e2d4425 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: lexing.c,v 1.27 2004/01/01 16:42:36 doligez Exp $ */
+/* $Id: lexing.c 6045 2004-01-01 16:42:43Z doligez $ */
 
 /* The table-driven automaton for lexers generated by camllex. */
 
index 199b50852b236282e4ed378d6f35bd6232ce201b..ad7f5c5a030e628173b16f9d82b697c88ed00dee 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: main.c,v 1.37 2008/02/29 12:56:15 doligez Exp $ */
+/* $Id: main.c 8822 2008-02-29 12:56:15Z doligez $ */
 
 /* Main entry point (can be overridden by a user-provided main()
    function that calls caml_main() later). */
index c6aebf3fda7bb4d04f2c368a91059e585797201c..db9fa8a382d8a63007c4470a724e5b13bf6746bc 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: major_gc.c,v 1.62.2.1 2008/11/12 12:53:07 doligez Exp $ */
+/* $Id: major_gc.c 9409 2009-11-04 12:24:35Z doligez $ */
 
 #include <limits.h>
 
@@ -30,7 +30,7 @@
 #include "weak.h"
 
 uintnat caml_percent_free;
-intnat caml_major_heap_increment;
+uintnat caml_major_heap_increment;
 CAMLexport char *caml_heap_start;
 char *caml_gc_sweep_hp;
 int caml_gc_phase;        /* always Phase_mark, Phase_sweep, or Phase_idle */
index bb31a6a99e03002c7810c02e1c0198a99cb9af46..588ea5031727e0dd5e6c77b213a85196972562dd 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: major_gc.h,v 1.23 2008/01/11 11:55:36 doligez Exp $ */
+/* $Id: major_gc.h 8766 2008-01-11 11:55:36Z doligez $ */
 
 #ifndef CAML_MAJOR_GC_H
 #define CAML_MAJOR_GC_H
index 700b765b0fbc4076ffa546f5f5c3d23438c32af2..5d1f7e96d688e00a89033566dfc32e482bf73a86 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: md5.c,v 1.20 2006/04/16 23:28:21 doligez Exp $ */
+/* $Id: md5.c 7382 2006-04-16 23:28:22Z doligez $ */
 
 #include <string.h>
 #include "alloc.h"
index d3a72a38e1d7ed65699429981a3c067ccaa4c175..6eff13a966646fc8d295ccf667e3582d5e3e80c2 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: md5.h,v 1.13 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: md5.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 /* MD5 message digest */
 
index 3ab37a42c8e7b3da771e5ceb29f4812012024d5d..e609796f9997340c7961eabefb8d6821078a9d19 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: memory.c,v 1.46.4.1 2008/11/02 14:30:05 xleroy Exp $ */
+/* $Id: memory.c 9117 2008-11-02 14:30:05Z xleroy $ */
 
 #include <stdlib.h>
 #include <string.h>
index fd16351edf91a2426c8c01db830c4ceb0c387f54..1edab765e5e800e48df47774f1c9f3247dfa3624 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: memory.h,v 1.59.4.1 2008/11/02 14:30:05 xleroy Exp $ */
+/* $Id: memory.h 9117 2008-11-02 14:30:05Z xleroy $ */
 
 /* Allocation macros and functions */
 
index d3b0d94b05744282a01365040d8e245b6dd7cd23..d28aa37efb95942aada9f098681532341035b58d 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: meta.c,v 1.33 2008/01/31 09:13:19 frisch Exp $ */
+/* $Id: meta.c 8800 2008-01-31 09:13:19Z frisch $ */
 
 /* Primitives for the toplevel */
 
index f20411c4c3aa87cf5b7e424334a934266fac35de..84d51b209caabf710fb43a2a32301df0eb93dbf4 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: minor_gc.c,v 1.47 2008/07/28 12:03:55 doligez Exp $ */
+/* $Id: minor_gc.c 8954 2008-07-28 12:03:55Z doligez $ */
 
 #include <string.h>
 #include "config.h"
index e3e9d8ab92d8ba8bdef1acff43a90e0e030a7d74..c9751e0d6445f951bb8d7671ad1e9137d7e8ed68 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: minor_gc.h,v 1.18 2007/05/04 14:05:13 doligez Exp $ */
+/* $Id: minor_gc.h 8211 2007-05-04 14:05:13Z doligez $ */
 
 #ifndef CAML_MINOR_GC_H
 #define CAML_MINOR_GC_H
index be9e54b4b893b81db2102644922eb95577173c65..8c25b75ef4c7b926b93969806656e3366b7d0e61 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: misc.c,v 1.29 2008/02/29 12:56:15 doligez Exp $ */
+/* $Id: misc.c 8822 2008-02-29 12:56:15Z doligez $ */
 
 #include <stdio.h>
 #include "config.h"
index 8d82025bb6aea82a7bf450e8db0e93f827613351..336f7bb39e3cd3f63405c98469c17a0b19069cae 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: misc.h,v 1.33 2008/02/29 12:56:15 doligez Exp $ */
+/* $Id: misc.h 8822 2008-02-29 12:56:15Z doligez $ */
 
 /* Miscellaneous macros and variables. */
 
index 90635630e9a0cd6a4fe67a856322108471cc44c7..8f97458fd76d5cb68e9b9ee623260dc873b5fdf9 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: mlvalues.h,v 1.58 2008/08/01 14:10:36 xleroy Exp $ */
+/* $Id: mlvalues.h 8970 2008-08-01 14:10:36Z xleroy $ */
 
 #ifndef CAML_MLVALUES_H
 #define CAML_MLVALUES_H
index f2c4b374c20a1e7579e47be1751b064c75bb914f..5a5ae701efdf2f385c0f17373f2b83e929476ef0 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: obj.c,v 1.42 2008/01/29 13:11:15 doligez Exp $ */
+/* $Id: obj.c 9350 2009-09-24 09:12:51Z doligez $ */
 
 /* Operations on objects */
 
@@ -165,6 +165,10 @@ CAMLprim value caml_obj_truncate (value v, value newsize)
   return Val_unit;
 }
 
+CAMLprim value caml_obj_add_offset (value v, value offset)
+{
+  return v + Int32_val (offset);
+}
 
 /* The following functions are used in stdlib/lazy.ml.
    They are not written in O'Caml because they must be atomic with respect
index 494e188ba8529d596acc9ccdc8d8cd08befd6b54..3ad18e83a2ce61e3beb9cd6247ba5b029b574d45 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: osdeps.h,v 1.12 2008/04/22 12:24:10 frisch Exp $ */
+/* $Id: osdeps.h 8873 2008-04-22 12:24:10Z frisch $ */
 
 /* Operating system - specific stuff */
 
index 49050672ef9af3b042456adc31f66f7d9f61c7b1..1816d5bb2f08dc4d576ca4a84879011faad91ec1 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: parsing.c,v 1.21 2008/08/06 09:38:25 xleroy Exp $ */
+/* $Id: parsing.c 8983 2008-08-06 09:38:25Z xleroy $ */
 
 /* The PDA automaton for parsers generated by camlyacc */
 
index f4e76f398e7a79e9957284ff3ecefc35e6eb751f..0f4112ea90e983e0793157d43a74715810dde1cb 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: prims.h,v 1.10 2004/02/22 15:07:51 xleroy Exp $ */
+/* $Id: prims.h 6130 2004-02-22 15:07:51Z xleroy $ */
 
 /* Interface with C primitives. */
 
index b0003f1c5dcfa46055b3fd87f0cad4d450f54ce0..c2490f1cc45d171b2b870881454f3108dfc410d0 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: printexc.c,v 1.17 2007/01/29 12:11:15 xleroy Exp $ */
+/* $Id: printexc.c 7812 2007-01-29 12:11:18Z xleroy $ */
 
 /* Print an uncaught exception and abort */
 
index c050b27b66db8c9e88304a90ae89168cdb57c9aa..cc48f4b21246a2b4317c747ef4655191d307b2a6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: printexc.h,v 1.5 2004/01/01 16:42:37 doligez Exp $ */
+/* $Id: printexc.h 6045 2004-01-01 16:42:43Z doligez $ */
 
 #ifndef CAML_PRINTEXC_H
 #define CAML_PRINTEXC_H
index 26c0e01ac75f816a5e9f54e1cb359dce9c2f2314..eaacf1bb761cee3691cbdb7508632363883f7ad5 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: reverse.h,v 1.12 2003/12/15 18:10:48 doligez Exp $ */
+/* $Id: reverse.h 6021 2003-12-15 18:10:51Z doligez $ */
 
 /* Swap byte-order in 16, 32, and 64-bit integers or floats */
 
index dabb0016c4a322a613acde1dbc1a053b71150291..d5ae3cb74d82ad32a40dc2404a9da4d5750f9c28 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: roots.c,v 1.30 2008/03/10 19:56:39 xleroy Exp $ */
+/* $Id: roots.c 8828 2008-03-10 19:56:39Z xleroy $ */
 
 /* To walk the memory roots for garbage collection */
 
index ec6a206341974f902ef94a300dd20f18989a1308..4e02be2fc99fa741aed400c41f694c1b9928d222 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: roots.h,v 1.19 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: roots.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 #ifndef CAML_ROOTS_H
 #define CAML_ROOTS_H
index a723621812a18a5e0514989435e3cc79ee468c55..1c001200a7bb66c5178c979bd69b1ca183422e6e 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: signals.c,v 1.53 2007/02/23 09:29:45 xleroy Exp $ */
+/* $Id: signals.c 7904 2007-02-23 09:29:45Z xleroy $ */
 
 /* Signal handling, code common to the bytecode and native systems */
 
index ba6b7dcf2a38dc160a061970525dab6280f55352..96372b496b43b8c11cf70c20d8e63f3b8bd073f4 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: signals.h,v 1.27 2007/02/23 09:29:45 xleroy Exp $ */
+/* $Id: signals.h 7904 2007-02-23 09:29:45Z xleroy $ */
 
 #ifndef CAML_SIGNALS_H
 #define CAML_SIGNALS_H
index 44adbeafd8033e4c71f4c1ba4fb7efe08d4d0988..13a1d04f4f08bdeebc7cc86795bafdb33059143c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: signals_byt.c,v 1.1 2007/02/23 09:29:45 xleroy Exp $ */
+/* $Id: signals_byt.c 7904 2007-02-23 09:29:45Z xleroy $ */
 
 /* Signal handling, code specific to the bytecode interpreter */
 
index 7980c6b4c034667f7dd548ed776ff0fff9377910..d96c017472e6f0df8411e32b6d68ad4cfc4ec3ac 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: signals_machdep.h,v 1.3 2007/02/23 09:43:14 xleroy Exp $ */
+/* $Id: signals_machdep.h 7905 2007-02-23 09:43:14Z xleroy $ */
 
 /* Processor-specific operation: atomic "read and clear" */
 
index 8ebaa241a6fbc651ebd75a3f90731d07e8da1d13..de5622540b096a1c75e5775b1e4fe34af1617c13 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: stacks.c,v 1.22 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: stacks.c 7064 2005-09-22 14:21:50Z xleroy $ */
 
 /* To initialize and resize the stacks */
 
index a49173737f0ceca6999bc239c9954ef7c0b8a3f6..6e8a2f5ee7fc193fd40dc3c97a997269ab788c4c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: stacks.h,v 1.14 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: stacks.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 /* structure of the stacks */
 
index 55be64ec90ba60063ac57b891fb21765f4e20d1f..ecddfe406e7fcc5f60c4e45c6e4dbaf686664832 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: startup.c,v 1.70.2.1 2008/11/18 10:24:43 doligez Exp $ */
+/* $Id: startup.c 9300 2009-06-18 11:17:16Z xclerc $ */
 
 /* Start-up code */
 
@@ -439,12 +439,18 @@ CAMLexport void caml_startup_code(
            char **argv)
 {
   value res;
+  char* cds_file;
 
   caml_init_ieee_floats();
   caml_init_custom_operations();
 #ifdef DEBUG
   caml_verb_gc = 63;
 #endif
+  cds_file = getenv("CAML_DEBUG_FILE");
+  if (cds_file != NULL) {
+    caml_cds_file = caml_stat_alloc(strlen(cds_file) + 1);
+    strcpy(caml_cds_file, cds_file);
+  }
   parse_camlrunparam();
   caml_external_raise = NULL;
   /* Initialize the abstract machine */
@@ -454,8 +460,17 @@ CAMLexport void caml_startup_code(
   init_atoms();
   /* Initialize the interpreter */
   caml_interprete(NULL, 0);
+  /* Initialize the debugger, if needed */
+  caml_debugger_init();
   /* Load the code */
   caml_start_code = code;
+  caml_code_size = code_size;
+  if (caml_debugger_in_use) {
+    int len, i;
+    len = code_size / sizeof(opcode_t);
+    caml_saved_code = (unsigned char *) caml_stat_alloc(len);
+    for (i = 0; i < len; i++) caml_saved_code[i] = caml_start_code[i];
+  }
 #ifdef THREADED_CODE
   caml_thread_code(caml_start_code, code_size);
 #endif
@@ -469,10 +484,19 @@ CAMLexport void caml_startup_code(
   /* Record the sections (for caml_get_section_table in meta.c) */
   caml_section_table = section_table;
   caml_section_table_size = section_table_size;
-  /* Run the code */
+  /* Initialize system libraries */
   caml_init_exceptions();
   caml_sys_init("", argv);
-  res = caml_interprete(caml_start_code, code_size);
-  if (Is_exception_result(res))
-    caml_fatal_uncaught_exception(Extract_exception(res));
+  /* Execute the program */
+  caml_debugger(PROGRAM_START);
+  res = caml_interprete(caml_start_code, caml_code_size);
+  if (Is_exception_result(res)) {
+    caml_exn_bucket = Extract_exception(res);
+    if (caml_debugger_in_use) {
+      caml_extern_sp = &caml_exn_bucket; /* The debugger needs the
+                                            exception value.*/
+      caml_debugger(UNCAUGHT_EXC);
+    }
+    caml_fatal_uncaught_exception(caml_exn_bucket);
+  }
 }
index b103faa68b89c906577fa0b95a3f825b9c2fdb64..a3ffb8b65516f6e1614f9174e498ee63e42d5384 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: startup.h,v 1.5 2004/02/22 15:07:51 xleroy Exp $ */
+/* $Id: startup.h 6130 2004-02-22 15:07:51Z xleroy $ */
 
 #ifndef CAML_STARTUP_H
 #define CAML_STARTUP_H
index eda1db5b672f48616216857f5d35abb8cb4d98ca..c2fb7d9c7cf828d090c3ad748d63486f9cbb161a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: str.c,v 1.28 2007/01/30 09:52:08 xleroy Exp $ */
+/* $Id: str.c 7819 2007-01-30 09:52:08Z xleroy $ */
 
 /* Operations on strings */
 
index 446d54f936913bc22bf675a9cabd48d4b0575474..458d31729685d10cfe0ae329e8009b72719f2e53 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sys.c,v 1.83 2007/03/01 13:37:39 xleroy Exp $ */
+/* $Id: sys.c 7944 2007-03-01 13:37:39Z xleroy $ */
 
 /* Basic system calls */
 
index 1c7e2c80cc40fcc538ecac525823d13b4d667419..ef56d94a01f57bd5a9a9430a41b79ee5abffedb9 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sys.h,v 1.16 2007/02/25 12:38:36 xleroy Exp $ */
+/* $Id: sys.h 7919 2007-02-25 12:38:36Z xleroy $ */
 
 #ifndef CAML_SYS_H
 #define CAML_SYS_H
index 1525de3cba5d4010012e3774daccf4e6871cf2dd..ac982d6ec09b8168e91c1655cd0fc16d1d56f4a3 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: terminfo.c,v 1.23 2004/01/01 16:42:38 doligez Exp $ */
+/* $Id: terminfo.c 6045 2004-01-01 16:42:43Z doligez $ */
 
 /* Read and output terminal commands */
 
index 8df391dc7cd0f23cc1bf50110c9e083b4972459b..2c213fdb039f8503f70c37c42a5df7da1000982d 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: ui.h,v 1.5 2003/12/15 18:10:49 doligez Exp $ */
+/* $Id: ui.h 6021 2003-12-15 18:10:51Z doligez $ */
 
 /* Function declarations for non-Unix user interfaces */
 
index 457f88c35a73e11d5e1a2e7bdec9c569a9a6232d..77cb9e9d890f160b9c458eec2e3f66822c2723c1 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: unix.c,v 1.35.2.1 2008/12/03 12:39:44 xleroy Exp $ */
+/* $Id: unix.c 9147 2008-12-03 12:39:44Z xleroy $ */
 
 /* Unix-specific stuff */
 
index 09a10f9ca033cf49532d2692aa2194dad2695b6e..9661db617d7e24cf2c0db22e6abe387cb7a63aea 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: weak.c,v 1.29 2008/09/17 14:55:30 doligez Exp $ */
+/* $Id: weak.c 9028 2008-09-17 14:55:30Z doligez $ */
 
 /* Operations on weak arrays */
 
index 9b37a982b9937763ee78327ac8b3da2236704bde..5b4a02d01791cb48f313f455e3f09355702eb3fa 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: weak.h,v 1.7 2004/01/01 16:42:38 doligez Exp $ */
+/* $Id: weak.h 6045 2004-01-01 16:42:43Z doligez $ */
 
 /* Operations on weak arrays */
 
index 418104d0ac542f6e0cfdd6ef4b17936a033915cc..78bb8d67c2db8c5f1a414290ac37072497ce57c9 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: win32.c,v 1.36 2008/04/22 12:24:10 frisch Exp $ */
+/* $Id: win32.c 8873 2008-04-22 12:24:10Z frisch $ */
 
 /* Win32-specific stuff */
 
index 543c9f1485da09d3d572b6cdcba4a23fdb00b002..32d212bec4829f66c39bf7b8f210d1227d7a891e 100644 (file)
@@ -90,7 +90,7 @@ let may_define_unix = if windows then [] else ["-D UNIX"]
 
 let () =
   !options.ocaml_Flags ^= "-w Ale -warn-error Ale"^^
-                            (if getenv "DTYPES" "" <> "" then "-dtypes"
+                            (if getenv "DTYPES" "" <> "" then "-annot"
                              else "");
   !options.ocaml_P4     := camlp4boot_may_debug may_define_unix;
   !options.ocaml_P4_opt := camlp4boot_may_debug ("-D OPT" :: may_define_unix);
index f672be16b9539beda879f770fe9ca4e65a8ec16f..bf514217ac5716898d29e727c13fad9916a38c30 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile-templ,v 1.31 2007/10/30 12:37:16 xleroy Exp $
+# $Id: Makefile-templ 9313 2009-07-15 12:13:31Z xleroy $
 
 ### Compile-time configuration
 
@@ -78,10 +78,14 @@ SHARPBANGSCRIPTS=true
 # Under FreeBSD:
 #CPP=cpp -P
 
+### Magic declarations for ocamlbuild -- leave unchanged
+#ml let syslib x = "-l"^x;;
+#ml let mklib out files opts = Printf.sprintf "ar rc %s %s %s; ranlib %s" out opts files out;;
+
 ### How to invoke ranlib
-# BSD-style:
-#RANLIB=ranlib
-#RANLIBCMD=ranlib
+RANLIB=ranlib
+RANLIBCMD=ranlib
+
 # If ranlib is not needed:
 #RANLIB=ar rs
 #RANLIBCMD=
index a94f69326acc284c55ecb98f80421dcba6970aeb..5c08ee829651768c1d5ce55aa408ae90f9c93850 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.mingw,v 1.27.2.1 2008/11/09 09:44:24 xleroy Exp $
+# $Id: Makefile.mingw 9124 2008-11-09 09:44:24Z xleroy $
 
 # Configuration for Windows, Mingw compiler
 
index 044f4b7cac3bb879ab2c05fb78bbbfc0b6993b2d..284a478eedbacb8e2bd8a08c74844aef2a51bc53 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.msvc,v 1.30.2.1 2008/11/10 15:24:51 xleroy Exp $
+# $Id: Makefile.msvc 9126 2008-11-10 15:24:51Z xleroy $
 
 # Configuration for Windows, Visual C++ compiler
 
index d409347c3f023bce19f682f51b8588a548d5e561..e8bc54e955122c8cae9278230c6ba2df38a973ca 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.msvc64,v 1.13 2008/07/29 08:31:41 xleroy Exp $
+# $Id: Makefile.msvc64 8955 2008-07-29 08:31:41Z xleroy $
 
 # Configuration for Windows, Visual C++ compiler
 
index 160d33ec7287543b01f987b0bcc20124cd0766d5..b98e33da6e105372864a8ba65ac3f8e8cd49f959 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: align.c,v 1.7 2001/12/07 13:39:41 xleroy Exp $ */
+/* $Id: align.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <stdio.h>
 #include <signal.h>
index 7d141dd7ae6a7fbdb1915c8d2be2e6bf810ed34b..10aaa764f9bd0d8a8d2fc50c637796e5010a46cf 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: async_io.c,v 1.8 2003/02/11 14:05:36 xleroy Exp $ */
+/* $Id: async_io.c 5393 2003-02-11 14:05:36Z xleroy $ */
 
 #include <stdio.h>
 #include <fcntl.h>
index 537c4f7ba83cdf7eb184b2828edf36cd72ee781b..a16f397867cb3e9a689f54b0962481217936d1bc 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bytecopy.c,v 1.7 2001/12/07 13:39:43 xleroy Exp $ */
+/* $Id: bytecopy.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 char buffer[27];
 
index 9cf6956e92e6ac068ea83a64b374456b2a0e0d1b..76c021b7438f1077cedfced3685e2ef7e67dba76 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: dblalign.c,v 1.9 2001/12/07 13:39:43 xleroy Exp $ */
+/* $Id: dblalign.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <stdio.h>
 #include <signal.h>
index fb579c5ec0cd78d08017c5ed8e19305ac5672f98..c4ddf86172f853eb37e7db44b822e352d5ce18fe 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: divmod.c,v 1.3 2003/12/30 23:59:47 doligez Exp $ */
+/* $Id: divmod.c 6043 2003-12-31 00:00:57Z doligez $ */
 
 /* Test semantics of division and modulus for negative arguments */
 
index 63ade0a53d328fad853ac9562f49c77bc41f8421..e0f6653a7266647405067820be349de8c5cee2ff 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: elf.c,v 1.4 2001/12/07 13:39:43 xleroy Exp $ */
+/* $Id: elf.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <stdio.h>
 
index fad4b9d89476327a714a5fa033a45cb36eb68c75..d3b622a059ec7612d1b335ff27760e996450c46e 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: endian.c,v 1.8 2001/12/07 13:39:43 xleroy Exp $ */
+/* $Id: endian.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include "m.h"
 
index 6a1ee6877fe462c9938eed0d8483876cfc6f9f19..547d5e4aa22d752449625824b4d9a1aaa8ed56de 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getgroups.c,v 1.8 2001/12/07 13:39:43 xleroy Exp $ */
+/* $Id: getgroups.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <sys/types.h>
 #include <limits.h>
index 60c34e251fa0713cd800ed12e4f9f48090c0b787..c11bb0198732fa9fdb959c88e58427af3acbfc7e 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: gethostbyaddr.c,v 1.2 2002/05/06 08:29:52 xleroy Exp $ */
+/* $Id: gethostbyaddr.c 4771 2002-05-06 08:29:52Z xleroy $ */
 
 #ifndef _REENTRANT
 /* This helps detection on Digital Unix... */
index f1830aa7365e481ea3cc7bc81ec166bcbe083082..270905f228adee6ef19675bfdced50122151441a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: gethostbyname.c,v 1.2 2002/05/06 08:29:52 xleroy Exp $ */
+/* $Id: gethostbyname.c 4771 2002-05-06 08:29:52Z xleroy $ */
 
 #ifndef _REENTRANT
 /* This helps detection on Digital Unix... */
index 20d3a1602f2404761b568b9b5eba8a9344ba40e5..41d62017b16ecb0bfe3103657595494329f0f7d2 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: ia32sse2.c,v 1.2 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: ia32sse2.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 /* Test whether IA32 assembler supports SSE2 instructions */
 
index 5f83e68c38c3abcd1e5308e3488c607a77be968b..482fad101de9bd1e49c2d7dc3df2497da73010fc 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: int64align.c,v 1.2 2001/12/07 13:39:43 xleroy Exp $ */
+/* $Id: int64align.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <stdio.h>
 #include <signal.h>
index 40abd085facb2744469efb7ee50f6ed895f1384a..fd77588d5c151a47c906c9e0721b5688958a3fa6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: longlong.c,v 1.4 2002/05/25 08:33:26 xleroy Exp $ */
+/* $Id: longlong.c 4833 2002-05-25 08:33:26Z xleroy $ */
 
 #include <stdio.h>
 #include <string.h>
index 209b4906c82e066339613c9c4d10cfef78b5543f..2499f537a71c60a74e9b9b2a088c7dc2b9c611e1 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: schar.c,v 1.8 2001/12/07 13:39:44 xleroy Exp $ */
+/* $Id: schar.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 char foo[]="\377";
 
index 9b28c6261831470641b8a1931ed20645504b4123..ef913aa58f4e91b9a46ad56bdcc24d7a83364e9d 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: schar2.c,v 1.8 2001/12/07 13:39:44 xleroy Exp $ */
+/* $Id: schar2.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 signed char foo[]="\377";
 
index 5ab79d7cc0f4d0ebd886335474802c28e40eefe2..e27d482091246c1c611b4300844291eda2269207 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sighandler.c,v 1.7 2001/12/07 13:39:44 xleroy Exp $ */
+/* $Id: sighandler.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <signal.h>
 
index ffafd521ec0d15246da85e0f30f61a11e7897848..7f51be85313269c0664b816b071c6b174105a74a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: signals.c,v 1.7 2001/12/07 13:39:44 xleroy Exp $ */
+/* $Id: signals.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 /* To determine the semantics of signal handlers
    (System V: signal is reset to default behavior on entrance to the handler
index 5ed0a3d22546f9eba40a9fb3af880e0cb2760004..b6014ce7dce5c285ffe22e1b54a9c0fe99308402 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sizes.c,v 1.9 2001/12/07 13:39:44 xleroy Exp $ */
+/* $Id: sizes.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <stdio.h>
 
index 2ef87130747fe3e702e2fb26972e06fb0884e302..15c74ab03b69d1f3407249fc36f05da2aa5ac0b2 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: stackov.c,v 1.5 2008/01/11 16:13:16 doligez Exp $ */
+/* $Id: stackov.c 8768 2008-01-11 16:13:18Z doligez $ */
 
 #include <stdio.h>
 #include <signal.h>
index f89fb8636cdaedd650efe9edabdfe55c9f4d5fbe..d56ab81706d435d605bdc46687cbc414b986ce9a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: m-nt.h,v 1.12 2006/05/09 16:01:26 xleroy Exp $ */
+/* $Id: m-nt.h 7408 2006-05-09 16:02:09Z xleroy $ */
 
 /* Machine configuration, Intel x86 processors, Win32,
    Visual C++ or Mingw compiler */
index 71848b9867e7e3b3640eadac874a85f9f31db750..8245ba180f7f4d00dde09d8281695edd9e5e3479 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: m-templ.h,v 1.15 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: m-templ.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 /* Processor dependencies */
 
index 368ea7eaee664b4732cdb12eb47142737c0df8e1..1017e933b666ffb97332b562ebe4fc84a27a22a3 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: s-nt.h,v 1.12 2002/06/18 13:00:55 xleroy Exp $ */
+/* $Id: s-nt.h 4933 2002-06-18 13:01:53Z xleroy $ */
 
 /* Operating system dependencies, Intel x86 processors, Windows NT */
 
index edc3860e9293df3fbff8757bee4d1dcbe321dd88..0e473e986db92b6ec6a8e6c197483645d6ea6e9a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: s-templ.h,v 1.22 2004/05/18 08:50:22 xleroy Exp $ */
+/* $Id: s-templ.h 6304 2004-05-18 08:50:22Z xleroy $ */
 
 /* Operating system and standard library dependencies. */
 
index 166ceafb0543cdabea0ba96e27d05b16619210b0..1797b0c2bb30a52a89f2c9e02f62cd9dd57cdfcf 100755 (executable)
--- a/configure
+++ b/configure
@@ -13,7 +13,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: configure,v 1.266.2.5 2009/05/20 15:33:09 weis Exp $
+# $Id: configure 9414 2009-11-17 13:28:44Z weis $
 
 configure_options="$*"
 prefix=/usr/local
@@ -95,6 +95,8 @@ while : ; do
         pthread_wanted=no;;
     -no-tk|--no-tk)
         tk_wanted=no;;
+    -partialld|--partialld)
+        partialld="$2"; shift;;
     -tkdefs*|--tkdefs*)
         tk_defs=$2; shift;;
     -tklibs*|--tklibs*)
@@ -303,14 +305,16 @@ case "$bytecc,$host" in
   gcc*,*-*-cygwin*)
     bytecccompopts="-fno-defer-pop $gcc_warnings -U_WIN32"
     dllccompopts="-D_WIN32 -DCAML_DLL"
-    flexlink="flexlink -chain cygwin -merge-manifest"
-    flexdir=`$flexlink -where | dos2unix`
-    if test -z "$flexdir"; then
-      echo "flexlink not found: native shared libraries won't be available"
-      withsharedlibs=no
-    else
-      iflexdir="-I\"$flexdir\""
-      mkexe="$flexlink -exe"
+    if test $withsharedlibs = yes; then
+      flexlink="flexlink -chain cygwin -merge-manifest"
+      flexdir=`$flexlink -where | dos2unix`
+      if test -z "$flexdir"; then
+        echo "flexlink not found: native shared libraries won't be available"
+        withsharedlibs=no
+      else
+        iflexdir="-I\"$flexdir\""
+        mkexe="$flexlink -exe"
+      fi
     fi
     exe=".exe"
     ostype="Cygwin";;
index f71fcbef394e35b1cecb723ed37020df201c3372..8aa21ba629411e4d7652c01d65ff752151cac895 100644 (file)
@@ -121,13 +121,13 @@ loadprinter.cmx: ../typing/types.cmx ../bytecomp/symtable.cmx printval.cmx \
     ../parsing/longident.cmx ../typing/ident.cmx ../typing/env.cmx \
     dynlink.cmx ../typing/ctype.cmx ../utils/config.cmx loadprinter.cmi 
 main.cmo: unix_tools.cmi ../otherlibs/unix/unix.cmi time_travel.cmi \
-    show_information.cmi question.cmi program_management.cmi parameters.cmi \
-    ../utils/misc.cmi input_handling.cmi frames.cmi exec.cmi \
+    show_information.cmi question.cmi program_management.cmi primitives.cmi \
+    parameters.cmi ../utils/misc.cmi input_handling.cmi frames.cmi exec.cmi \
     ../typing/env.cmi debugger_config.cmi ../utils/config.cmi \
     command_line.cmi ../utils/clflags.cmi checkpoints.cmi 
 main.cmx: unix_tools.cmx ../otherlibs/unix/unix.cmx time_travel.cmx \
-    show_information.cmx question.cmx program_management.cmx parameters.cmx \
-    ../utils/misc.cmx input_handling.cmx frames.cmx exec.cmx \
+    show_information.cmx question.cmx program_management.cmx primitives.cmx \
+    parameters.cmx ../utils/misc.cmx input_handling.cmx frames.cmx exec.cmx \
     ../typing/env.cmx debugger_config.cmx ../utils/config.cmx \
     command_line.cmx ../utils/clflags.cmx checkpoints.cmx 
 parameters.cmo: primitives.cmi envaux.cmi debugger_config.cmi \
@@ -172,10 +172,10 @@ program_management.cmx: unix_tools.cmx ../otherlibs/unix/unix.cmx \
     debugger_config.cmx breakpoints.cmx program_management.cmi 
 question.cmo: primitives.cmi lexer.cmi input_handling.cmi question.cmi 
 question.cmx: primitives.cmx lexer.cmx input_handling.cmx question.cmi 
-show_information.cmo: symbols.cmi show_source.cmi printval.cmi \
+show_information.cmo: symbols.cmi source.cmi show_source.cmi printval.cmi \
     ../utils/misc.cmi ../bytecomp/instruct.cmi frames.cmi events.cmi \
     debugcom.cmi checkpoints.cmi breakpoints.cmi show_information.cmi 
-show_information.cmx: symbols.cmx show_source.cmx printval.cmx \
+show_information.cmx: symbols.cmx source.cmx show_source.cmx printval.cmx \
     ../utils/misc.cmx ../bytecomp/instruct.cmx frames.cmx events.cmx \
     debugcom.cmx checkpoints.cmx breakpoints.cmx show_information.cmi 
 show_source.cmo: source.cmi primitives.cmi parameters.cmi \
@@ -188,12 +188,12 @@ source.cmo: primitives.cmi ../utils/misc.cmi debugger_config.cmi \
     ../utils/config.cmi source.cmi 
 source.cmx: primitives.cmx ../utils/misc.cmx debugger_config.cmx \
     ../utils/config.cmx source.cmi 
-symbols.cmo: ../bytecomp/symtable.cmi ../bytecomp/instruct.cmi events.cmi \
-    debugger_config.cmi debugcom.cmi checkpoints.cmi \
-    ../bytecomp/bytesections.cmi symbols.cmi 
-symbols.cmx: ../bytecomp/symtable.cmx ../bytecomp/instruct.cmx events.cmx \
-    debugger_config.cmx debugcom.cmx checkpoints.cmx \
-    ../bytecomp/bytesections.cmx symbols.cmi 
+symbols.cmo: ../bytecomp/symtable.cmi program_loading.cmi \
+    ../bytecomp/instruct.cmi events.cmi debugger_config.cmi debugcom.cmi \
+    checkpoints.cmi ../bytecomp/bytesections.cmi symbols.cmi 
+symbols.cmx: ../bytecomp/symtable.cmx program_loading.cmx \
+    ../bytecomp/instruct.cmx events.cmx debugger_config.cmx debugcom.cmx \
+    checkpoints.cmx ../bytecomp/bytesections.cmx symbols.cmi 
 time_travel.cmo: trap_barrier.cmi symbols.cmi question.cmi \
     program_loading.cmi primitives.cmi ../utils/misc.cmi int64ops.cmi \
     ../bytecomp/instruct.cmi input_handling.cmi exec.cmi events.cmi \
index bc57cde27bd37bf941f9025880e617fd34fa8b55..cd623dcf56d6644369beaec9eddab4d6fdfdc075 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.33 2008/07/29 08:31:41 xleroy Exp $
+# $Id: Makefile 8955 2008-07-29 08:31:41Z xleroy $
 
 UNIXDIR=../otherlibs/unix
 include Makefile.shared
index 523eb657629450df8060ad38867a89eb7525fe3e..d179ac547df2aa4d9ab069116e5e85355fce1969 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.1 2008/07/29 08:31:41 xleroy Exp $
+# $Id: Makefile.nt 8955 2008-07-29 08:31:41Z xleroy $
 
 UNIXDIR=../otherlibs/win32unix
 include Makefile.shared
index 1e97af4569e3fda30c740985954ef8d3e6317ec5..2856dcbdd942ed2ccbde9382b0daa88f67a300ab 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.shared,v 1.1 2008/07/29 08:31:41 xleroy Exp $
+# $Id: Makefile.shared 9300 2009-06-18 11:17:16Z xclerc $
 
 include ../config/Makefile
 
@@ -60,11 +60,11 @@ OBJS=\
        pos.cmo \
        checkpoints.cmo \
        events.cmo \
+       program_loading.cmo \
        symbols.cmo \
        breakpoints.cmo \
        trap_barrier.cmo \
        history.cmo \
-       program_loading.cmo \
        printval.cmo \
        show_source.cmo \
        time_travel.cmo \
@@ -72,7 +72,7 @@ OBJS=\
        frames.cmo \
        eval.cmo \
        show_information.cmo \
-        loadprinter.cmo \
+       loadprinter.cmo \
        parser.cmo \
        command_line.cmo \
        main.cmo
index 2c8d7253ac2c9d2c5899d65e2aaa59ecad848a2c..f47101f841231dd191659b06f9169c5d99dde9ae 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: breakpoints.ml,v 1.13.18.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: breakpoints.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (******************************* Breakpoints ***************************)
 
index f3be8ec54adcd4e93b5590ce7bc8530d2a3d0c9c..a4a1dc118971eaf9282022a07064d6651690095b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: breakpoints.mli,v 1.2 1999/11/17 18:57:22 xleroy Exp $ *)
+(* $Id: breakpoints.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (******************************* Breakpoints ***************************)
 
index 2f0fe622a9f194e6dec7ed9fda5376be350d4b1d..28aa76cb37166325ba41c3a4560c9141e12d1d4b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: checkpoints.ml,v 1.4 2002/10/29 17:53:23 doligez Exp $ *)
+(* $Id: checkpoints.ml 5200 2002-10-29 17:53:24Z doligez $ *)
 
 (*************************** Checkpoints *******************************)
 
index cbd576a2184ea7e409c3a534f5311f0a714849a6..e489875d8f9e6a77b0fd9ea894f20b7d771804b3 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: checkpoints.mli,v 1.4 2002/10/29 17:53:23 doligez Exp $ *)
+(* $Id: checkpoints.mli 5200 2002-10-29 17:53:24Z doligez $ *)
 
 (***************************** Checkpoints *****************************)
 
index 280fbc01a5bfad621212b029a184f269bb55f52f..74db2092cf0c41181143ddc5bd8fef180ea1631b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: command_line.ml,v 1.25.2.2 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: command_line.ml 9299 2009-06-17 08:15:39Z xclerc $ *)
 
 (************************ Reading and executing commands ***************)
 
@@ -705,26 +705,30 @@ let instr_last ppf lexbuf =
 
 let instr_list ppf lexbuf =
   let (mo, beg, e) = list_arguments_eol Lexer.lexeme lexbuf in
-    let (curr_mod, point) =
+    let (curr_mod, line, column) =
       try
         selected_point ()
       with
       | Not_found ->
-          ("", -1)
+          ("", -1, -1)
     in
       let mdle = convert_module (module_of_longident mo) in
       let pos = Lexing.dummy_pos in
+      let buffer =
+        try get_buffer pos mdle with
+        | Not_found -> error ("No source file for " ^ mdle ^ ".") in
+      let point =
+        if column <> -1 then
+          (point_of_coord buffer line 1) + column
+        else
+          -1 in
         let beginning =
           match beg with
-          | None when (mo <> None) || (point = -1) ->
+          | None when (mo <> None) || (line = -1) ->
               1
           | None ->
-              let buffer =
-                try get_buffer pos mdle with
-                | Not_found -> error ("No source file for " ^ mdle ^ ".")
-              in
               begin try
-                max 1 ((snd (line_of_pos buffer point)) - 10)
+                max 1 (line - 10)
               with Out_of_range ->
                 1
               end
@@ -861,11 +865,19 @@ let info_events ppf lexbuf =
     print_endline "   Address  Characters        Kind      Repr.";
     List.iter
       (function ev ->
-         Printf.printf
+        let start_char, end_char =
+          try
+            let buffer = get_buffer (Events.get_pos ev) ev.ev_module in
+            (snd (start_and_cnum buffer ev.ev_loc.Location.loc_start)),
+            (snd (start_and_cnum buffer ev.ev_loc.Location.loc_end))
+          with _ ->
+            ev.ev_loc.Location.loc_start.Lexing.pos_cnum,
+            ev.ev_loc.Location.loc_end.Lexing.pos_cnum in
+        Printf.printf
            "%10d %6d-%-6d  %10s %10s\n"
            ev.ev_pos
-           ev.ev_loc.Location.loc_start.Lexing.pos_cnum
-           ev.ev_loc.Location.loc_end.Lexing.pos_cnum
+           start_char
+           end_char
            ((match ev.ev_kind with
                Event_before   -> "before"
              | Event_after _  -> "after"
index aca2ffc76d6a1a5472a5615f7637d833b84060f6..24d720eb7713f7a219bac6c1186a82c9986d28fc 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: command_line.mli,v 1.4 2000/03/07 18:22:14 weis Exp $ *)
+(* $Id: command_line.mli 2919 2000-03-07 18:22:19Z weis $ *)
 
 (************************ Reading and executing commands ***************)
 
index b4bf427e00353fd3623f4eb3c96e23015dd44add..5d595ca0211329f230f53e9a9486ba047ef40ea1 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: debugcom.ml,v 1.13 2008/07/29 08:31:41 xleroy Exp $ *)
+(* $Id: debugcom.ml 8955 2008-07-29 08:31:41Z xleroy $ *)
 
 (* Low-level communication with the debuggee *)
 
index ac26e45fa198b63d1e4063ccd43a15d913ab8f2a..179595c2ec4d54e0fc9baff082ae82405a5d2aba 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: debugcom.mli,v 1.8 2002/10/29 17:53:23 doligez Exp $ *)
+(* $Id: debugcom.mli 5200 2002-10-29 17:53:24Z doligez $ *)
 
 (* Low-level communication with the debuggee *)
 
index d8ed23ded9fd71bed6cebb63e7d3e195d60d4c74..acfadfed7aa5f06bfc3fb3a68909f1f1eab5c361 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: debugger_config.ml,v 1.11.2.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: debugger_config.ml 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (**************************** Configuration file ***********************)
 
index befdba63b116a87653a0fdbe815648205371f28d..0d3b663da368f5de6d65e4f36ed9fd5f49fe1983 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: debugger_config.mli,v 1.5.28.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: debugger_config.mli 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (********************** Configuration file *****************************)
 
index 9dec9333efdbd398fa9b87a97da069f2334d89ef..03895885d786b3b35f252b5d83cbac30a10ac893 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: dynlink.ml,v 1.2.14.1 2009/04/02 09:21:20 xclerc Exp $ *)
+(* $Id: dynlink.ml 9222 2009-04-02 09:21:20Z xclerc $ *)
 
 (* Dynamic loading of .cmo files *)
 
index bccfab7472ad7aa6dfc106439f3c62789955aae3..31604dc53c4738ad34d7be71d498a8d4c3f9a099 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: dynlink.mli,v 1.1.14.1 2009/04/02 09:21:20 xclerc Exp $ *)
+(* $Id: dynlink.mli 9222 2009-04-02 09:21:20Z xclerc $ *)
 
 (** Dynamic loading of object files. *)
 
index d048bb1daeb2bd0c492e745f72f6bc85afbb02c0..b0ca5a5339cf5ce167e1f955c69616107495ec1b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: envaux.ml,v 1.7.38.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: envaux.ml 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 open Misc
 open Types
index b8bfe75fd3a68401087453eaf65624818076159e..3b9d77156b483ad0347abc936c2fa73950c4c454 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: envaux.mli,v 1.5 2000/03/06 22:11:20 weis Exp $ *)
+(* $Id: envaux.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 open Format
 
index 9e0a82dda2633991a8530bb9f61a0a822f69857e..cd52cd08062cf0559f8a35cc4e19f6b1efbb35ae 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: eval.ml,v 1.30.4.5 2009/04/19 08:42:43 xleroy Exp $ *)
+(* $Id: eval.ml 9236 2009-04-19 08:42:43Z xleroy $ *)
 
 open Misc
 open Path
index 8e809253a07e1e3c676c104f5a852626d2fff230..f9888488be0537178669ceececc39255369922d7 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: eval.mli,v 1.6 2000/03/06 22:11:21 weis Exp $ *)
+(* $Id: eval.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 open Types
 open Parser_aux
index de623554cf8bed1f1a6ab81104fac614a73ad0b2..c2988f046afaa9ef015f36ef41c94224e814d85f 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: events.ml,v 1.6.18.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: events.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (********************************* Events ******************************)
 
index 63ad64e11abf55c6f2234bc7c9563c6b2a611bbb..f12dd40132f094ee66c48ac979e26f6c3c33e42e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: events.mli,v 1.4 2005/08/25 15:35:16 doligez Exp $ *)
+(* $Id: events.mli 7031 2005-08-25 15:35:16Z doligez $ *)
 
 open Instruct
 
index 2cf667e945f57f42c42df43a1e133bb7786d625d..6390f2a53354a4690c3d47c5d506498c3ef07181 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: exec.ml,v 1.5 2008/07/29 08:31:41 xleroy Exp $ *)
+(* $Id: exec.ml 8955 2008-07-29 08:31:41Z xleroy $ *)
 
 (* Handling of keyboard interrupts *)
 
index 679fab576a8fbedf7401db418703971e362733b0..c6c3ab4f09f97479fb70b8c802987d70bc287ed1 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: exec.mli,v 1.4 1999/11/17 18:57:24 xleroy Exp $ *)
+(* $Id: exec.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Handling of keyboard interrupts *)
 
index 3a43530fbdc2d63a61d2998e6e73b72a0fc12e85..fa36eff9f53eabfe35a43ebdeb0232d48d328a97 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: frames.ml,v 1.10.18.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: frames.ml 9299 2009-06-17 08:15:39Z xclerc $ *)
 
 (***************************** Frames **********************************)
 
@@ -33,7 +33,9 @@ let selected_point () =
     None ->
       raise Not_found
   | Some ev ->
-      (ev.ev_module, (Events.get_pos ev).Lexing.pos_cnum)
+      (ev.ev_module,
+       (Events.get_pos ev).Lexing.pos_lnum,
+       (Events.get_pos ev).Lexing.pos_cnum - (Events.get_pos ev).Lexing.pos_bol)
 
 let selected_event_is_before () =
   match !selected_event with
index dd09b4f13acb93f4e7bcce84fda16996a14d1329..7767d126ea39ed507a04af712ee4e99ea346da1b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: frames.mli,v 1.3 1999/11/17 18:57:24 xleroy Exp $ *)
+(* $Id: frames.mli 9299 2009-06-17 08:15:39Z xclerc $ *)
 
 (****************************** Frames *********************************)
 
@@ -24,9 +24,9 @@ val current_frame : int ref
 (* Event at selected position. *)
 val selected_event : debug_event option ref
 
-(* Selected position in source. *)
+(* Selected position in source (module, line, column). *)
 (* Raise `Not_found' if not on an event. *)
-val selected_point : unit -> string * int
+val selected_point : unit -> string * int * int
 
 val selected_event_is_before : unit -> bool
 
index ab9f54a15bea0bf7c6f1d6b96353c169d3400d7c..b273b949ea1d7199bf0e347da28c0b2986ca7634 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: history.ml,v 1.5.28.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: history.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 open Int64ops
 open Checkpoints
index 9d805a1210fa9ffd1bb5dfed36faf9cdec0c52d0..2c217b779b87c62f7d971b124964f933b37617a1 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: history.mli,v 1.4 2002/10/29 17:53:24 doligez Exp $ *)
+(* $Id: history.mli 5200 2002-10-29 17:53:24Z doligez $ *)
 
 val empty_history : unit -> unit
 
index 480819b755fbd51074516b44fb51dddbb31b822c..b9b9b450e08d673c2872002988e248f0a5d2467b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: input_handling.ml,v 1.5.14.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: input_handling.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (**************************** Input control ****************************)
 
index e0b450ebd539352167c643ef1396cb45ad752fc9..227ae833eb40b7200c98f199900794e215b50e2f 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: input_handling.mli,v 1.3 2006/12/09 13:49:10 ertai Exp $ *)
+(* $Id: input_handling.mli 7767 2006-12-09 13:49:10Z ertai $ *)
 
 (***************************** Input control ***************************)
 
index d549aca798155cab473e74e765b7a92d60080637..667d6c072a1b040b0896c52ff940cfb3a321ab42 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: int64ops.ml,v 1.1 2002/10/29 17:53:24 doligez Exp $ *)
+(* $Id: int64ops.ml 5200 2002-10-29 17:53:24Z doligez $ *)
 
 (****************** arithmetic operators for Int64 *********************)
 
index 4808590e435c010d941e5de23a7b5f04cae4d33a..b6edfbc3d21411912f3b0ac11553aca1e42c8a89 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: int64ops.mli,v 1.1 2002/10/29 17:53:24 doligez Exp $ *)
+(* $Id: int64ops.mli 5200 2002-10-29 17:53:24Z doligez $ *)
 
 (****************** arithmetic operators for Int64 *********************)
 
index df7cfad22700a3ab0fb8b474f4accef3edcf18a8..cc04aca8f9299cae096d428c7d7a8605811e37a0 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexer.mli,v 1.1 2004/06/13 12:46:11 xleroy Exp $ *)
+(* $Id: lexer.mli 6394 2004-06-13 12:46:11Z xleroy $ *)
 
 val line: Lexing.lexbuf -> string
 val lexeme: Lexing.lexbuf -> Parser.token
index 4737986be62ee1e46132c1d852b09ab4c543f714..b1b0246bd0f06e148b82ad4232082fffe1215905 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexer.mll,v 1.8.28.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: lexer.mll 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 {
 
index bb861e0ef0136f7fb6801e15deec223ca814907c..7ed5e44dcf07ed6d5a256cc3ccef736ea14c6c98 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: loadprinter.ml,v 1.19.20.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: loadprinter.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (* Loading and installation of user-defined printer functions *)
 
index 21972fb827e4f4495a5788fbe7f0eb2db4d024fa..ffc94a583b9061fc772b44e3f290f6d38050cc18 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: loadprinter.mli,v 1.4 2000/03/07 18:22:15 weis Exp $ *)
+(* $Id: loadprinter.mli 2919 2000-03-07 18:22:19Z weis $ *)
 
 (* Loading and installation of user-defined printer functions *)
 
index 8b6f3c211b1038717bc4e50ca71bea5dca6d87ca..02eb1822f3954735fde2c1e618f9347ebdb44da7 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: main.ml,v 1.21.2.2 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: main.ml 9310 2009-07-08 14:30:05Z xclerc $ *)
 
 open Input_handling
 open Question
@@ -24,6 +24,7 @@ open Program_management
 open Frames
 open Show_information
 open Format
+open Primitives
 
 let line_buffer = Lexing.from_function read_user_input
 
@@ -107,7 +108,39 @@ let rec protect ppf restart loop =
       kill_program ();
       raise x
 
-let toplevel_loop () = protect Format.std_formatter loop loop
+let execute_file_if_any () =
+  let buffer = Buffer.create 128 in
+  begin
+    try
+      let base = ".ocamldebug" in
+      let file =
+        if Sys.file_exists base then
+          base
+        else
+          Filename.concat (Sys.getenv "HOME") base in
+      let ch = open_in file in
+      fprintf Format.std_formatter "Executing file %s@." file;
+      while true do
+        let line = string_trim (input_line ch) in
+        if line <> ""  && line.[0] <> '#' then begin
+          Buffer.add_string buffer line;
+          Buffer.add_char buffer '\n'
+        end
+      done;
+    with _ -> ()
+  end;
+  let len = Buffer.length buffer in
+  if len > 0 then
+    let commands = Buffer.sub buffer 0 (pred len) in
+    line_loop Format.std_formatter (Lexing.from_string commands)
+
+let toplevel_loop () =
+  interactif := false;
+  current_prompt := "";
+  execute_file_if_any ();
+  interactif := true;
+  current_prompt := debugger_prompt;
+  protect Format.std_formatter loop loop
 
 (* Parsing of command-line arguments *)
 
@@ -167,7 +200,6 @@ let main () =
         arguments := !arguments ^ " " ^ (Filename.quote Sys.argv.(j))
       done
     end;
-    current_prompt := debugger_prompt;
     printf "\tObjective Caml Debugger version %s@.@." Config.version;
     Config.load_path := !default_load_path;
     Clflags.recursive_types := true;    (* Allow recursive types. *)
index 80dfb4cab55de1830b6d0bed445839c35fae7211..482c97093e4bcbb7e05639790239dfeb8c195197 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: parameters.ml,v 1.3.28.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: parameters.ml 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (* Miscellaneous parameters *)
 
index f392677e9121c5ea34d6586949a50616579683b2..e65d8dd27e8d9b640d09915c702817d9318db2f6 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: parameters.mli,v 1.2.40.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: parameters.mli 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (* Miscellaneous parameters *)
 
index 40531b9201a83cf9ad8c420fb59bb7a15b8f2480..f32e0fe30396063a807d049f7ddc7a60aa64e679 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: parser.mly,v 1.7.28.4 2009/05/23 14:42:57 xclerc Exp $ */
+/* $Id: parser.mly 9275 2009-05-23 14:42:57Z xclerc $ */
 
 %{
 
index 74da5529a48a8ed4cd5d02e76bfd5fb53bc2f1e1..4fca52e91963d1c76be3e0566f4f560a0cc3f781 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: parser_aux.mli,v 1.4.40.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: parser_aux.mli 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (*open Globals*)
 
index ccec2cd0e78cd2ff36ba8efac51de127b84bf88b..bc6ad849cccbb91c4e3013fa9ef3132bbde3b538 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: pattern_matching.ml,v 1.4 2000/12/28 13:03:41 weis Exp $ *)
+(* $Id: pattern_matching.ml 3359 2000-12-28 13:07:42Z weis $ *)
 
 (************************ Simple pattern matching **********************)
 
index c60a6fc724b17e4843704dc054b6d01339c9cade..b386219029ffc3ecdd90963064a8d245af4891a5 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: pattern_matching.mli,v 1.2 1999/11/17 18:57:26 xleroy Exp $ *)
+(* $Id: pattern_matching.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (************************ Simple pattern matching **********************)
 
index 5e1bc277b9f8af9688f6a21d0919f8e83709ba83..f790ab6ed22ceedc0f2dc5e5599909b5380071da 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: pos.ml,v 1.3 2006/12/09 13:49:10 ertai Exp $ *)
+(* $Id: pos.ml 7767 2006-12-09 13:49:10Z ertai $ *)
 
 open Instruct;;
 open Lexing;;
index 9cfbdd4764c9b9bb5c17ede44b03851c82c6cd18..ee0832722f28e8aaa41064df64ffa0a305653b27 100644 (file)
@@ -10,6 +10,6 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: pos.mli,v 1.1 2003/11/21 16:10:57 doligez Exp $ *)
+(* $Id: pos.mli 5966 2003-11-21 16:10:57Z doligez $ *)
 
 val get_desc : Instruct.debug_event -> string;;
index 96dbb03a3077f15941e3ac9d11993de26071ec85..2040c7e422dead5d9cf96f06b341b28f732e9c3e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: primitives.ml,v 1.6.28.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: primitives.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (*********************** Basic functions and types *********************)
 
index adf0ce95cbfe692fec8cf7b2d416c10d17cd7012..60d15901a9aceb2799e84f25a587cca7a23dd84a 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: primitives.mli,v 1.2.40.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: primitives.mli 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (********************* Basic functions and types ***********************)
 
index e984b415914a8e088636fc29cdc8ef7096d8bfee..17dd7c63a93ad15c698494895353dec24bc7318f 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printval.ml,v 1.21.28.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: printval.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (* To print values *)
 
index 1488162a2fe1cd45f309bfc075bea2eff122d973..38e48eb6f59849a1d8041ea9b1d7239aaba8b405 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printval.mli,v 1.10 2001/07/03 11:04:09 xleroy Exp $ *)
+(* $Id: printval.mli 3566 2001-07-03 11:04:10Z xleroy $ *)
 
 open Format
 
index 4d5d368c26561babb0924ee7b25d0fd7e48080b6..54b5a45f975060dcaef99d4f07588dc5fc28a92e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: program_loading.ml,v 1.8.2.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: program_loading.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (* Program loading *)
 
index c858ecf5203a0db477a7abb1660972d71ce196b4..48847ea1d34c8cbb115b9999a12e96f7e219e761 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: program_loading.mli,v 1.3 1999/11/17 18:57:27 xleroy Exp $ *)
+(* $Id: program_loading.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (*** Debugging. ***)
 
index 660ef292fe6a7bf54de2b8396427551ecf262801..7cc864cf0c90d4903c1e5e6f1d1e7fefad1c33f1 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: program_management.ml,v 1.13.2.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: program_management.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (* Manage the loading of the program *)
 
index e2a4e92ca3dd10f4c27edbca5da6989a56417fa6..2ec0209e48b4ebca121bff4cec863e12e93e2bdf 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: program_management.mli,v 1.2 1999/11/17 18:57:27 xleroy Exp $ *)
+(* $Id: program_management.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (*** Program loading and initializations. ***)
 
index 165fbf35850f6ac98c139bd5799793ad55fdd48f..0c9ee2d00bf5a25bf249c6310192a3e986a84ce9 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: show_information.ml,v 1.13.18.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: show_information.ml 9299 2009-06-17 08:15:39Z xclerc $ *)
 
 open Instruct
 open Format
@@ -20,6 +20,7 @@ open Checkpoints
 open Events
 open Symbols
 open Frames
+open Source
 open Show_source
 open Breakpoints
 
@@ -68,9 +69,15 @@ let show_current_event ppf =
 (* Display short information about one frame. *)
 
 let show_one_frame framenum ppf event =
+  let pos = Events.get_pos event in
+  let cnum =
+    try
+      let buffer = get_buffer pos event.ev_module in
+      snd (start_and_cnum buffer pos)
+    with _ -> pos.Lexing.pos_cnum in
   fprintf ppf "#%i  Pc : %i  %s char %i@."
          framenum event.ev_pos event.ev_module
-         (Events.get_pos event).Lexing.pos_cnum
+         cnum
 
 (* Display information about the current frame. *)
 (* --- `select frame' must have succeded before calling this function. *)
index 711d7b4d2bcce34304e489fd8378dd2f146d1d95..e7ef20e291a1f768dbfaf123a1a5dd45f2d1e7c5 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: show_information.mli,v 1.3 2000/03/06 22:11:25 weis Exp $ *)
+(* $Id: show_information.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 open Format;;
 
index 1189b5061c5224f9590f0bff1156993a376862e8..263caff1ad3509530ddfb8134343b2db9c43c43e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: show_source.ml,v 1.14.14.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: show_source.ml 9299 2009-06-17 08:15:39Z xclerc $ *)
 
 open Debugger_config
 open Instruct
@@ -45,13 +45,16 @@ let show_point ev selected =
   let before = (ev.ev_kind = Event_before) in
   if !emacs && selected then
     begin try
+      let buffer = get_buffer (Events.get_pos ev) mdle in
       let source = source_of_module ev.ev_loc.Location.loc_start mdle in
       printf "\026\026M%s:%i:%i" source
-             ev.ev_loc.Location.loc_start.Lexing.pos_cnum
-             ev.ev_loc.Location.loc_end.Lexing.pos_cnum;
+        (snd (start_and_cnum buffer ev.ev_loc.Location.loc_start))
+        (snd (start_and_cnum buffer ev.ev_loc.Location.loc_end));
       printf "%s\n" (if before then ":before" else ":after")
     with
-      Not_found    -> (* get_buffer *)
+      Out_of_range -> (* point_of_coord *)
+        prerr_endline "Position out of range."
+    | Not_found    -> (* Events.get_pos || get_buffer *)
         prerr_endline ("No source file for " ^ mdle ^ ".");
         show_no_point ()
     end
@@ -59,11 +62,10 @@ let show_point ev selected =
     begin try
       let pos = Events.get_pos ev in
       let buffer = get_buffer pos mdle in
-      let point = pos.Lexing.pos_cnum in
-      let (start, line_number) = line_of_pos buffer point in
-      ignore(print_line buffer line_number start point before)
+      let start, point = start_and_cnum buffer pos in
+      ignore(print_line buffer pos.Lexing.pos_lnum start point before)
     with
-      Out_of_range -> (* line_of_pos *)
+      Out_of_range -> (* point_of_coord *)
         prerr_endline "Position out of range."
     | Not_found    -> (* Events.get_pos || get_buffer *)
         prerr_endline ("No source file for " ^ mdle ^ ".")
index c3760f7c9a21e3150b4bdcc215c0fd6e5cdb5597..0d4106feb4d8d388f75ed24007046a14ec731dfc 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: show_source.mli,v 1.5 2006/12/09 13:49:10 ertai Exp $ *)
+(* $Id: show_source.mli 7767 2006-12-09 13:49:10Z ertai $ *)
 
 (* Print the line containing the point *)
 val show_point : Instruct.debug_event -> bool -> unit;;
index 644fe845c9703c6470bd0796c0b24fa44db4b741..1d8600c27c4729373a8d0f441af2021c67d4f253 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: source.ml,v 1.8.14.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: source.ml 9299 2009-06-17 08:15:39Z xclerc $ *)
 
 (************************ Source management ****************************)
 
@@ -185,3 +185,8 @@ let pos_of_line buffer line =
 (* --- The first line and column are line 1 and column 1. *)
 let point_of_coord buffer line column =
   fst (pos_of_line buffer line) + (pred column)
+
+let start_and_cnum buffer pos =
+  let line_number = pos.Lexing.pos_lnum in
+  let start = point_of_coord buffer line_number 1 in
+  start, start + (pos.Lexing.pos_cnum - pos.Lexing.pos_bol)
index 9cf01c048cb79588b057dbfd7e9551291da13fca..5250313b80a5995ec836cf83dfecd66790d04a9d 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: source.mli,v 1.3 2006/12/09 13:49:10 ertai Exp $ *)
+(* $Id: source.mli 9299 2009-06-17 08:15:39Z xclerc $ *)
 
 (************************ Source management ****************************)
 
@@ -56,3 +56,6 @@ val pos_of_line : buffer -> int -> position
 (* Convert a coordinate (line / column) into a position. *)
 (* --- The first line and column are line 1 and column 1. *)
 val point_of_coord : buffer -> int -> int -> int
+
+(* Return the offsets of both line start and cnum for the passed position. *)
+val start_and_cnum : buffer -> Lexing.position -> (int * int)
index 4b22d8952f9cecafc712a4e87201e63a2639a8b8..b3dda25bb93f0c00b15afcb58b799a2955eb33f6 100644 (file)
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: symbols.ml,v 1.18.18.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: symbols.ml 9300 2009-06-18 11:17:16Z xclerc $ *)
 
 (* Handling of symbol tables (globals and events) *)
 
 open Instruct
 open Debugger_config (* Toplevel *)
+open Program_loading
 
 let modules =
   ref ([] : string list)
@@ -61,6 +62,12 @@ let read_symbols' bytecode_file =
     List.iter (relocate_event orig) evl;
     eventlists := evl :: !eventlists
   done;
+  begin try
+    ignore (Bytesections.seek_section ic "CODE")
+  with Not_found ->
+    (* The file contains only debugging info, loading mode is forced to "manual" *)
+    set_launching_function (List.assoc "manual" loading_modes)
+  end;
   close_in_noerr ic;
   !eventlists
 
index 6d53aa1ad02165aea8b11276247380567b5e1c31..f1ec054449add85550e93db6b18582c0e3ccce94 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: symbols.mli,v 1.7 2005/08/25 15:35:16 doligez Exp $ *)
+(* $Id: symbols.mli 7031 2005-08-25 15:35:16Z doligez $ *)
 
 (* Modules used by the program. *)
 val modules : string list ref
index 0d0202468311ee8cbc96b34b82a7bdd791459fa1..855c7ecad274f5e49531603353aa3de7e989335e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: time_travel.ml,v 1.21.14.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: time_travel.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (**************************** Time travel ******************************)
 
index b37c99c9103958539711ba0d702ce7c1c9491a27..c5d81154fabfd1a9ce2c909b6f6005c60666c51b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: time_travel.mli,v 1.6 2006/11/20 10:29:45 ertai Exp $ *)
+(* $Id: time_travel.mli 7745 2006-11-20 10:29:45Z ertai $ *)
 
 (**************************** Time travel ******************************)
 
index 59954f20ac2851ac73260aa5440fdb1bac2d3075..ecdfe893df7d2742a7af309f68c097c0950076e6 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: trap_barrier.ml,v 1.3 1999/11/17 18:57:29 xleroy Exp $ *)
+(* $Id: trap_barrier.ml 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (************************** Trap barrier *******************************)
 
index 00a2ab2f9bbb49b7b22468a3e8e353a1c9a00423..e72a9f7cd01d825a67df850f1886a74819b8c433 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: trap_barrier.mli,v 1.2 1999/11/17 18:57:29 xleroy Exp $ *)
+(* $Id: trap_barrier.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (************************* Trap barrier ********************************)
 
index c9f233bb96eb9f641f60a3444dc80daebe467165..a95dcc69ab6de8c2f03c69359e3f4137ed9e2c1c 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: unix_tools.ml,v 1.9.2.1 2009/04/02 09:44:21 xclerc Exp $ *)
+(* $Id: unix_tools.ml 9226 2009-04-02 09:44:21Z xclerc $ *)
 
 (****************** Tools for Unix *************************************)
 
index bf2a955790b44d517ff8cac05f1e440f0623763d..3a702b9d188adc49004b010806440912c1c638c8 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: unix_tools.mli,v 1.4 2002/11/02 22:36:45 doligez Exp $ *)
+(* $Id: unix_tools.mli 5232 2002-11-02 22:36:46Z doligez $ *)
 
 (**************************** Tools for Unix ***************************)
 
index c2e7074b0340ed5642194010e825839e433fc916..8e14272f2fd8e104ba72ff2bb0771f6e5672d5b9 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: compile.ml,v 1.61 2008/10/06 13:53:54 doligez Exp $ *)
+(* $Id: compile.ml 9074 2008-10-06 13:53:54Z doligez $ *)
 
 (* The batch compiler *)
 
index 07286e0f77742f631f08db237e58b49d3f0bddf2..de9ebb2697b4b64df1d566872494d2588f9b1a54 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: compile.mli,v 1.8 2004/06/13 12:46:41 xleroy Exp $ *)
+(* $Id: compile.mli 6395 2004-06-13 12:46:41Z xleroy $ *)
 
 (* Compile a .ml or .mli file *)
 
index 0481b9cb469b0fca8723ad1956faa4b4f75d4b07..e7cd26483e82a4d9a58a41051c839ad00d99b157 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: errors.ml,v 1.27 2007/12/04 13:38:58 doligez Exp $ *)
+(* $Id: errors.ml 8705 2007-12-04 13:38:58Z doligez $ *)
 
 (* WARNING: if you change something in this file, you must look at
    opterrors.ml and ocamldoc/odoc_analyse.ml
index c8004280de1844d29b7c69a6590e5cb753c3c1db..7abc0d720dfcbebaa08b801ed79d49bf4c0f5612 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: errors.mli,v 1.5 2000/03/06 22:11:31 weis Exp $ *)
+(* $Id: errors.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 (* Error report *)
 open Format
index 7496845242c6220fd167a716a1e15f0043a3da07..50e10eeecef4a595cef633e48af34b7e71f3a0bf 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: main.ml,v 1.71.2.2 2009/01/14 13:19:32 doligez Exp $ *)
+(* $Id: main.ml 9164 2009-01-14 13:19:32Z doligez $ *)
 
 open Config
 open Clflags
index e91c60c65c85034dba28d7a4f8432e718a86a94e..f7f414f7cf7e129e467f8e32f096100114dfaa92 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: main.mli,v 1.1 2000/01/07 16:03:04 doligez Exp $ *)
+(* $Id: main.mli 2740 2000-01-07 16:03:04Z doligez $ *)
 
 (*
   this "empty" file is here to speed up garbage collection in ocamlc.opt
index 7e1c23eb94a40868b858c63fd3035f909a7ef6fc..5eb8adae243b113413c3785e788144e0df5fd174 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: main_args.ml,v 1.50 2007/05/16 08:21:40 doligez Exp $ *)
+(* $Id: main_args.ml 8232 2007-05-16 08:21:41Z doligez $ *)
 
 module Make_options (F :
    sig
index f9a08c37a45d4725a186619ee93fb71a076708ab..20f394b16ff998d7913996382cd6bb3569111486 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: main_args.mli,v 1.27 2007/05/16 08:21:40 doligez Exp $ *)
+(* $Id: main_args.mli 8232 2007-05-16 08:21:41Z doligez $ *)
 
 module Make_options (F :
     sig
index c502c109a3071fc409af26512659f26427e56d55..acbf223cc5d8110f0b37a54daefc02dc2e5ff299 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: optcompile.ml,v 1.56.2.2 2008/10/17 14:01:35 doligez Exp $ *)
+(* $Id: optcompile.ml 9094 2008-10-17 14:01:35Z doligez $ *)
 
 (* The batch compiler *)
 
index 7f6f037ebd8700c7aeb1c1c75fc31235a68c8db4..47eb065637a8a774d9149fe00a20939a0b65380e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: optcompile.mli,v 1.8 2004/06/13 12:46:41 xleroy Exp $ *)
+(* $Id: optcompile.mli 6395 2004-06-13 12:46:41Z xleroy $ *)
 
 (* Compile a .ml or .mli file *)
 
index cea33b0a7b1c45ebd815acb46f8518073c863b14..ba83ab3ce12854d01da12c0d885b4b6f9695dc8e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: opterrors.ml,v 1.20 2007/12/04 13:38:58 doligez Exp $ *)
+(* $Id: opterrors.ml 8705 2007-12-04 13:38:58Z doligez $ *)
 
 (* WARNING: if you change something in this file, you must look at
    errors.ml to see if you need to make the same changes there.
index 296ec689514a0a7516d9bb1ab550892bdd6d95e9..44ea1dd313f9e6f11d9b4bf45beca480a653afc7 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: opterrors.mli,v 1.5 2000/03/07 05:02:32 garrigue Exp $ *)
+(* $Id: opterrors.mli 2910 2000-03-07 05:02:33Z garrigue $ *)
 
 (* Error report *)
 
index 04fd6a4a59eab30498d069535b727570b54e9c36..193ba4aed120f4c253ae391f18876effc7fb8589 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: optmain.ml,v 1.98.2.1 2008/10/15 08:48:51 xleroy Exp $ *)
+(* $Id: optmain.ml 9084 2008-10-15 08:48:51Z xleroy $ *)
 
 open Config
 open Clflags
index 8bd6aee5e6079aaeeaf09ea6bcadbe5a92978c6d..08ca44ff0f036f06bfad9b8a1b40cb41416d3aab 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: optmain.mli,v 1.1 2000/01/07 16:03:04 doligez Exp $ *)
+(* $Id: optmain.mli 2740 2000-01-07 16:03:04Z doligez $ *)
 
 (*
   this "empty" file is here to speed up garbage collection in ocamlopt.opt
index acdc08bda7a10bead6f16f8540980226429bee47..1ce335b5de637135127a150f0d20f0510f6b1a22 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: pparse.ml,v 1.3 2004/06/16 16:58:46 doligez Exp $ *)
+(* $Id: pparse.ml 6415 2004-06-16 16:58:46Z doligez $ *)
 
 open Format
 
index f8ff8fda1d12ee1f87679330bea73caebc89a879..db2e56127df248f34da47c51f555a779d9e75a2f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: pparse.mli,v 1.1 2002/02/08 10:14:31 ddr Exp $ *)
+(* $Id: pparse.mli 4365 2002-02-08 10:14:31Z ddr $ *)
 
 open Format
 
index d67e2aac3d0911ddced654482204cbeabd4899d7..1df717eb56387eeb24f932d332500a725fd3362c 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.17 2004/08/20 17:04:35 doligez Exp $
+# $Id: Makefile 6612 2004-08-20 17:04:35Z doligez $
 
 include ../config/Makefile
 
index 42a66d153e23507dffb44e03ec441169db239b01..a1e4782a9cfea194904508074e7a4b4bdb87a729 100644 (file)
@@ -1,4 +1,4 @@
-        O'Caml emacs mode, snapshot of $Date: 2008/01/11 16:13:16 $
+        O'Caml emacs mode, snapshot of $Date: 2008-01-11 17:13:18 +0100 (Fri, 11 Jan 2008) $
 
 The files in this archive define a caml-mode for emacs, for editing
 Objective Caml and Objective Label programs, as well as an
index d1ab815f6ce053440ed2193f24b4ca7eada5c4f2..0071cf0d01e1c01700f18e2f2b03cc6808c5222a 100644 (file)
@@ -10,7 +10,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: caml-compat.el,v 1.3 2004/08/20 17:04:35 doligez Exp $ *)
+;(* $Id: caml-compat.el 6612 2004-08-20 17:04:35Z doligez $ *)
 
 ;; function definitions for old versions of emacs
 
index c45d767f04968af2087ae0c4291d1a8892bb2ec7..c7eacfd1294c94136a00cc7859a1475a16f55a3a 100644 (file)
@@ -10,7 +10,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: caml-emacs.el,v 1.7 2004/08/20 17:04:35 doligez Exp $ *)
+;(* $Id: caml-emacs.el 6612 2004-08-20 17:04:35Z doligez $ *)
 
 ;; for caml-help.el
 (defalias 'caml-info-other-window 'info-other-window)
index f226e1c94dcf0e68e31d4756eb13cbaccbf1d6c6..4fbcd7cb5852f4c66ca3f89601d91082bbf86a7e 100644 (file)
@@ -10,7 +10,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: caml-font-old.el,v 1.2 2008/01/11 16:13:16 doligez Exp $ *)
+;(* $Id: caml-font-old.el 8768 2008-01-11 16:13:18Z doligez $ *)
 
 ;; useful colors
 
index 84fc420699289332000ea7264834df1f87b62bab..29fde073ac23cf7fd36abf140c36205a5873e328 100644 (file)
@@ -10,7 +10,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: caml-help.el,v 1.17 2004/08/20 17:04:35 doligez Exp $ *)
+;(* $Id: caml-help.el 6612 2004-08-20 17:04:35Z doligez $ *)
 
 ;; caml-info.el --- contextual completion and help to caml-mode
 
index eda9548b410665d6d6788336a215f0e5a132d3b5..8c973ff64293d9b09efd2a8dd728b2475f980e18 100644 (file)
@@ -10,7 +10,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: caml-hilit.el,v 1.9 2004/08/20 17:04:35 doligez Exp $ *)
+;(* $Id: caml-hilit.el 6612 2004-08-20 17:04:35Z doligez $ *)
 
 ; Highlighting patterns for hilit19 under caml-mode
 
index 67237a31e8c30d91c640a413a526f9ff0e44bb97..38ffe0f342097533f254d09edf2e14ecfaf0f8c1 100644 (file)
@@ -10,7 +10,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: caml-types.el,v 1.38 2008/07/29 15:49:31 doligez Exp $ *)
+;(* $Id: caml-types.el 9364 2009-10-02 12:31:37Z doligez $ *)
 
 ; An emacs-lisp complement to the "-annot" option of ocamlc and ocamlopt.
 
@@ -256,9 +256,9 @@ See `caml-types-location-re' for annotation file format.
           (let* ((loc-re (concat caml-types-position-re " "
                                  caml-types-position-re))
                  (end-re (concat caml-types-position-re " --"))
-                 (def-re (concat "def \\([^ ]\\)* " loc-re))
-                 (def-end-re (concat "def \\([^ ]\\)* " end-re))
-                 (internal-re (concat "int_ref \\([^ ]\\)* " loc-re))
+                 (def-re (concat "def \\([^ ]*\\) " loc-re))
+                 (def-end-re (concat "def \\([^ ]*\\) " end-re))
+                 (internal-re (concat "int_ref \\([^ ]*\\) " loc-re))
                  (external-re "ext_ref \\(.*\\)"))
             (cond
              ((string-match def-re kind)
@@ -359,7 +359,7 @@ See `caml-types-location-re' for annotation file format.
                            (expand-file-name "_build" project-dir)))))
          (if (equal project-dir (parent-dir project-dir))
              (error (concat "No annotation file. "
-                            "You should compile with option \"-dtypes\".")))
+                            "You should compile with option \"-annot\".")))
          (setq project-dir (parent-dir project-dir)))
        type-path))))
 
index d662c0d279b4ea75f45c12d6bebe643699baac2f..9a9d84542bef1688341b24c51a652644f6012ef9 100644 (file)
@@ -10,7 +10,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: caml-xemacs.el,v 1.7 2005/03/24 17:20:53 doligez Exp $ *)
+;(* $Id: caml-xemacs.el 6824 2005-03-24 17:20:54Z doligez $ *)
 
 (require 'overlay)
 
index 1f6d86bc136b5ba6c8d00adf40d03973e1b1b06b..a7155b2144bf548d14a8e41cb084c1b5aeb75f28 100644 (file)
@@ -10,7 +10,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: caml.el,v 1.44.2.2 2008/12/03 16:16:43 doligez Exp $ *)
+;(* $Id: caml.el 9150 2008-12-03 16:16:43Z doligez $ *)
 
 ;;; caml.el --- O'Caml code editing commands for Emacs
 
index 528f682550baaeb4a62c20fc202caa8f6af2bbd2..261e66a8caba320f7af1bfb33f2e850943a083b3 100644 (file)
@@ -10,7 +10,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: camldebug.el,v 1.11 2005/10/26 13:23:12 doligez Exp $ *)
+;(* $Id: camldebug.el 7169 2005-10-26 13:23:12Z doligez $ *)
 
 ;;; Run camldebug under Emacs
 ;;; Derived from gdb.el.
index b32c940bf7c33aefefb5b4419afb9a56d210aa6b..1a60a6e7d68104fe9f85e08f6a5e1e56ffe13beb 100644 (file)
@@ -10,7 +10,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: inf-caml.el,v 1.11 2004/08/20 17:04:35 doligez Exp $ *)
+;(* $Id: inf-caml.el 6612 2004-08-20 17:04:35Z doligez $ *)
 
 ;;; inf-caml.el --- run the Caml toplevel in an Emacs buffer
 
index 9d7db13bd30f60b1ceed7168ac6b1557637b9c24..55edab33876c52717c148099978ea4235c8cc2ab 100644 (file)
@@ -12,7 +12,7 @@
 ;(*                                                                     *)
 ;(***********************************************************************)
 
-;(* $Id: ocamltags.in,v 1.6 2004/08/20 17:04:35 doligez Exp $ *)
+;(* $Id: ocamltags.in 6612 2004-08-20 17:04:35Z doligez $ *)
 
 ;; Copyright (C) 1998 Ian Zimmerman <itz@transbay.net>
 ;;  This program is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@
 ;;  but WITHOUT ANY WARRANTY; without even the implied warranty of
 ;;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 ;;  General Public License for more details.
-;; $Id: ocamltags.in,v 1.6 2004/08/20 17:04:35 doligez Exp $
+;; $Id: ocamltags.in 6612 2004-08-20 17:04:35Z doligez $
 
 (require 'caml)
 
index 0d08549617b9698cd3f06be8212074260c6ca134..25f328286e5932f0e832790566279e39b2fd658a 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.19 2004/11/29 14:49:24 doligez Exp $
+# $Id: Makefile 6708 2004-11-29 14:49:24Z doligez $
 
 # The lexer generator
 CAMLC=../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot
index fa7abb25f92b474880b88e78378f98698bfe8e8a..7efed1f5b82968e558fcbfa0181fd9ef27cf64eb 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.9 2003/01/06 14:57:22 xleroy Exp $
+# $Id: Makefile.nt 5372 2003-01-06 14:57:22Z xleroy $
 
 # The lexer generator
 
index f6fe4a3b2e592bf2684b4a8a4ef3f6db1a73bb5a..7d7fbadd0b725c07f231f882c295f24951687ea4 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: compact.ml,v 1.7 2002/10/28 16:46:49 maranget Exp $ *)
+(* $Id: compact.ml 5193 2002-10-28 16:46:50Z maranget $ *)
 
 (* Compaction of an automata *)
 
index 3023db9494408e05194db1679dacabaf52ea1f45..b91cf13e626a7ffb81a52a2346edfe1530a8b5b5 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: compact.mli,v 1.4 2002/10/28 16:46:49 maranget Exp $ *)
+(* $Id: compact.mli 5193 2002-10-28 16:46:50Z maranget $ *)
 
 (* Compaction of an automata *)
 type lex_tables =
index 8a7515c9242f2f8b3e6c7ff19501427e8fbc6db5..0b1b2b115225a6641d3dbb6e5377c6a6b59b9e72 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: cset.ml,v 1.3 2004/04/29 11:12:49 maranget Exp $ *)
+(* $Id: cset.ml 6269 2004-04-29 11:12:49Z maranget $ *)
 
 
 exception Bad
index 48496037b04b2c856233367f6e7f51b35f879b78..3fafeba4638bd9e5d6b5c4bbf4c566f4da6eb018 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: cset.mli,v 1.3 2004/04/29 11:12:49 maranget Exp $ *)
+(* $Id: cset.mli 6269 2004-04-29 11:12:49Z maranget $ *)
 
 (* Set of characters encoded as list of intervals *)
 
index dfc3eca17dd41753120eb6e19c9f291769b8ae02..0a5dd2573a2a1a5cab310c7e5c8db2f3a2d278a6 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexer.mli,v 1.6 2004/04/21 23:26:05 doligez Exp $ *)
+(* $Id: lexer.mli 6244 2004-04-21 23:26:06Z doligez $ *)
 
 val main: Lexing.lexbuf -> Parser.token
 
index c039d917aace3e3a1874bd3ae3b13e25faf89713..46569beb9fa4030911376277aa6430f62f016497 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexer.mll,v 1.22 2006/01/04 16:55:49 doligez Exp $ *)
+(* $Id: lexer.mll 7307 2006-01-04 16:55:50Z doligez $ *)
 
 (* The lexical analyzer for lexer definitions. Bootstrapped! *)
 
index 93f3a113cb91cfecc87a52aadedade70e8fc9bd6..2e1ff8e6d71332b2a6a63be13bb3192e1b20c8ae 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexgen.ml,v 1.21 2008/03/07 15:24:48 maranget Exp $ *)
+(* $Id: lexgen.ml 8827 2008-03-07 15:24:48Z maranget $ *)
 
 (* Compiling a lexer definition *)
 
index 37e53b4cc49184b8820263f9d81fdbf92fa3eb8d..3e43a0491305b4825ec82960eb01ea6e0238fb8f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexgen.mli,v 1.6 2007/01/29 16:44:16 maranget Exp $ *)
+(* $Id: lexgen.mli 7815 2007-01-29 16:44:16Z maranget $ *)
 
 
 (* raised when there are too many bindings (>= 254 memory cells) *)
index e33da6f24693b7be8c84bf07e02d62f3271c53e2..199ba8611dc101f68f44549d5454a61ebafcdc43 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: main.ml,v 1.22 2004/08/20 17:04:35 doligez Exp $ *)
+(* $Id: main.ml 6612 2004-08-20 17:04:35Z doligez $ *)
 
 (* The lexer generator. Command-line parsing. *)
 
index e37d18114dd6656b7cbbd81c2036d617a821ce2d..e41c8f23e4e647919338b20ef29c26d316ce3752 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: output.ml,v 1.26 2007/01/29 16:44:16 maranget Exp $ *)
+(* $Id: output.ml 7815 2007-01-29 16:44:16Z maranget $ *)
 
 (* Output the DFA tables and its entry points *)
 
index 2c763e986c14ddd866a80addc756076ae7925ecd..46ef258b02a9b09e5d17edd41152e1655fe85661 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: output.mli,v 1.8 2002/12/09 10:44:46 maranget Exp $ *)
+(* $Id: output.mli 5323 2002-12-09 10:44:46Z maranget $ *)
 
 (* Output the DFA tables and its entry points *)
 
index f8e9315db161494605e1b1d59bf7aae1b0f4c4cb..7675c7a795069231954e4d92b4890a0abd56933f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: outputbis.ml,v 1.6 2007/01/29 16:44:16 maranget Exp $ *)
+(* $Id: outputbis.ml 7815 2007-01-29 16:44:16Z maranget $ *)
 
 (* Output the DFA tables and its entry points *)
 
index 01192a5e05726d29288f3e68f6705125dc2b874b..9c6004136e410effa90ba670fc26cd74cfed1b58 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: outputbis.mli,v 1.3 2002/12/09 10:44:46 maranget Exp $ *)
+(* $Id: outputbis.mli 5323 2002-12-09 10:44:46Z maranget $ *)
 val output_lexdef :
   string ->
   in_channel ->
index cbe5a1f10a384217449b210c7e6af0052901c9c4..b821c7a71f73209f0a6193d1c42042a6e783f44d 100644 (file)
@@ -10,7 +10,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: parser.mly,v 1.23 2007/01/29 16:44:16 maranget Exp $ */
+/* $Id: parser.mly 7815 2007-01-29 16:44:16Z maranget $ */
 
 /* The grammar for lexer definitions */
 
index 2f4910781bd6422e78bda4ab99e3176d02cb94f6..356c56121544f936e8babccc6f3ef4d9c0fc558d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: syntax.ml,v 1.9 2007/01/29 16:44:16 maranget Exp $ *)
+(* $Id: syntax.ml 7815 2007-01-29 16:44:16Z maranget $ *)
 
 (* This apparently useless implmentation file is in fact required
    by the pa_ocamllex syntax extension *)
index ab90f632c8e1c213bf5009d249ca1fc939de87a4..19dbdcd1fd501b571916f802ac342a765755ebb1 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: syntax.mli,v 1.9 2007/01/29 16:44:16 maranget Exp $ *)
+(* $Id: syntax.mli 7815 2007-01-29 16:44:16Z maranget $ *)
 
 (* The shallow abstract syntax *)
 
index 7c6a15739ed50cd8e337c24ae446bcd5fd9c10f6..ebd058d14f44879b8f8960a2cda124234bdd7aaf 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.3 2002/04/24 09:09:35 xleroy Exp $
+# $Id: Makefile 4733 2002-04-24 09:09:35Z xleroy $
 
 include ../config/Makefile
 
index 8087d74720536dcec3a16de297136e4ddd9ebc74..ac760510ebca4adaa25fc3a7ddf94c810eda8fcb 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocaml.m,v 1.10.2.1 2009/01/13 15:17:09 doligez Exp $
+\" $Id: ocaml.m 9162 2009-01-13 15:17:09Z doligez $
 
 .TH OCAML 1
 
index a7fae5d38c8a03f05a3cfb40b297482cff52a299..c1fda29a8f3b3ab9bc0c7a37edec3f3c18976702 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamlc.m,v 1.12.2.1 2008/10/29 12:38:52 doligez Exp $
+\" $Id: ocamlc.m 9111 2008-10-29 12:38:52Z doligez $
 
 .TH OCAMLC 1
 
index 1b3cc52a949a3583da5478cfbb5b6063380804cb..a7b6a574d90b14c068a8314702fc10b5ae9ac2b9 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamlcp.m,v 1.4 2008/09/15 14:05:30 doligez Exp $
+\" $Id: ocamlcp.m 9025 2008-09-15 14:05:30Z doligez $
 
 .TH OCAMLCP 1
 
index 1e81e896b9376cde958a34a7ff95e2f637933f01..b2e90343c4443cf62e1af25b27c41d50c76876c2 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamldebug.m,v 1.2 2008/09/15 14:05:30 doligez Exp $
+\" $Id: ocamldebug.m 9025 2008-09-15 14:05:30Z doligez $
 
 .TH OCAMLDEBUG 1
 
index 884ceb15e04119e4ed9569e30c2696ab14ee313c..d6571abff5e267263b2c807c1e0c418415f82d0a 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamldep.m,v 1.6 2008/09/15 14:12:56 doligez Exp $
+\" $Id: ocamldep.m 9026 2008-09-15 14:12:56Z doligez $
 
 .TH OCAMLDEP 1
 
index df807c7d3012f2d0e132ecc5a6af018165a39037..576eade500e3cfc019bfe1ce0e91544c4f45265d 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamldoc.m,v 1.5.2.1 2009/05/27 14:35:27 doligez Exp $
+\" $Id: ocamldoc.m 9282 2009-05-27 14:35:27Z doligez $
 
 .TH OCAMLDOC 1
 
index 128dc56c32a34c7201cc5f8c22832d27f8698b8b..35151211157ec8829c685e6626e9bd31ff2d8209 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamllex.m,v 1.5 2008/09/15 14:12:56 doligez Exp $
+\" $Id: ocamllex.m 9026 2008-09-15 14:12:56Z doligez $
 .TH OCAMLLEX 1
 
 .SH NAME
index 7112d5257a403b4c12e3434e714f63be50c73b36..c70503baa3d8b6b95deecf0b4487c38bf3b51d50 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamlmktop.m,v 1.3 2008/09/15 14:12:56 doligez Exp $
+\" $Id: ocamlmktop.m 9026 2008-09-15 14:12:56Z doligez $
 .TH OCAMLMKTOP 1
 
 .SH NAME
index cdebf3d161720979cf3eefed8e484d0e3239fbfa..cdf5412a412f3e451ac9321eaa8b03f9ced8144a 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamlopt.m,v 1.10.2.1 2008/10/29 12:38:52 doligez Exp $
+\" $Id: ocamlopt.m 9111 2008-10-29 12:38:52Z doligez $
 .TH OCAMLOPT 1
 
 .SH NAME
index 7b0fa104cbccdc1559751da885113ac070b95c29..c66ebedecf5099c46996c1d3f47fe802f6e340c0 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamlprof.m,v 1.6 2008/09/15 14:25:42 doligez Exp $
+\" $Id: ocamlprof.m 9027 2008-09-15 14:25:42Z doligez $
 .TH OCAMLPROF 1
 
 .SH NAME
index a4c52de45d2e5b2073028324f07326893817740e..238ea5592d7e5339e42e71caf5d9f0045af4ae77 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamlrun.m,v 1.6.2.1 2008/11/18 10:41:17 doligez Exp $
+\" $Id: ocamlrun.m 9133 2008-11-18 10:41:17Z doligez $
 .TH OCAMLRUN 1
 
 .SH NAME
index 463891a0749046f6d3cad7cae2f95b016fa40607..af0cb6fb285c090ba93184f66f0b758ffaabb2db 100644 (file)
@@ -1,4 +1,4 @@
-\" $Id: ocamlyacc.m,v 1.4 2008/09/15 14:12:56 doligez Exp $
+\" $Id: ocamlyacc.m 9026 2008-09-15 14:12:56Z doligez $
 .TH OCAMLYACC 1
 
 .SH NAME
index 360dc56c1de5ffca71cbf199ca097e170e97ea20..c27f0ac8d99974d4480f38f2e61a22da3adacb08 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: myocamlbuild.ml,v 1.23.2.7 2009/06/04 11:33:21 doligez Exp $ *)
+(* $Id: myocamlbuild.ml 9290 2009-06-04 11:33:21Z doligez $ *)
 
 open Ocamlbuild_plugin
 open Command
index ce82607f6f4743c429ff52ebb73789d7b74c6fd6..28b2261776b938bb9a42ce2797a2fff18d596a0b 100644 (file)
@@ -53,6 +53,7 @@ val ext_asm : string
 val ext_dll : string
 val o : string
 val a : string
+val so : string
 val toolchain : string
 val ccomptype : string
 val extralibs : string
index 215d1127547ab784b91fa61a6bb91a98832a4bdf..d0d8028ae06a4703b013f0f3063c233a771aff76 100644 (file)
@@ -1,6 +1,6 @@
 # OCamlbuild tags file
 true: debug
-<*.ml> or <*.mli>: warn_A, warn_error_A, warn_e, dtypes
+<*.ml> or <*.mli>: warn_A, warn_error_A, warn_e, annot
 "discard_printf.ml": rectypes
 "ocamlbuildlib.cma" or "ocamlbuildlightlib.cma": linkall
 <*.byte> or <*.native> or <*.top>: use_unix
index 40f4022a944019ea61f7191117648918d027d130..2653116ecad20dbcb400fe6dbbb1abd0d96a764d 100644 (file)
@@ -278,7 +278,7 @@ let execute_many ?(quiet=false) ?(pretend=false) cmds =
                 | Some _ -> false :: acc_res, acc_exn
               end ([], None) konts
             in match opt_exn with
-            | Some(exn) -> Some(res, exn)
+            | Some(exn) -> Some(List.rev res, exn)
             | None -> None
           else
             My_unix.execute_many ~ticker ?max_jobs ~display konts
index e5ad0a2297333d2de0f7ede8acb3bb3d8f753723..32b917b592ae6de4a00955d1f2a5eb8a9b370e07 100644 (file)
@@ -305,7 +305,8 @@ rule "ocaml C stubs: c -> o"
   begin fun env _build ->
     let c = env "%.c" in
     let o = env x_o in
-    let cc = Cmd(S[!Options.ocamlc; T(tags_of_pathname c++"c"++"compile"); A"-c"; Px c]) in
+    let comp = if Tags.mem "native" (tags_of_pathname c) then !Options.ocamlopt else !Options.ocamlc in
+    let cc = Cmd(S[comp; T(tags_of_pathname c++"c"++"compile"); A"-c"; Px c]) in
     if Pathname.dirname o = Pathname.current_dir_name then cc
     else Seq[cc; mv (Pathname.basename o) o]
   end;;
@@ -416,6 +417,8 @@ flag ["ocaml"; "compile"; "thread"] (A "-thread");;
 flag ["ocaml"; "doc"; "thread"] (S[A"-I"; A"+threads"]);;
 flag ["ocaml"; "link"; "thread"; "native"; "program"] (S[A "threads.cmxa"; A "-thread"]);;
 flag ["ocaml"; "link"; "thread"; "byte"; "program"] (S[A "threads.cma"; A "-thread"]);;
+flag ["ocaml"; "link"; "thread"; "native"; "toplevel"] (S[A "threads.cmxa"; A "-thread"]);;
+flag ["ocaml"; "link"; "thread"; "byte"; "toplevel"] (S[A "threads.cma"; A "-thread"]);;
 flag ["ocaml"; "compile"; "nopervasives"] (A"-nopervasives");;
 flag ["ocaml"; "compile"; "nolabels"] (A"-nolabels");;
 
index d42c884b7819b71e762179024c7eb43998ee9730..bbfe60e315450c6c5dc07113b5f9e8d9cc9296be 100644 (file)
@@ -123,7 +123,10 @@ let ocaml_lib ?(extern=false) ?(byte=true) ?(native=true) ?dir ?tag_name libpath
   end;
   match dir with
   | None -> ()
-  | Some dir -> flag ["ocaml"; tag_name; "compile"] (S[A"-I"; P dir])
+  | Some dir ->
+      List.iter
+        (fun x -> flag ["ocaml"; tag_name; x] (S[A"-I"; P dir]))
+        ["compile"; "doc"; "infer_interface"]
 
 let cmi_of = Pathname.update_extensions "cmi"
 
index 7fdec39f9eb4676b13853b2a636e00bdee1ed2a5..30ba657b35c429a5c440b4e75ae02e875aaca86c 100644 (file)
@@ -166,7 +166,7 @@ slide "The tags, our way to specify exceptions", 'fragile=singleslide' do
   end
   code_tags do
     : "funny.ml":           rectypes
-      ~<**/*.ml*>~:           warn_A, warn_error_A, debug, dtypes
+      ~<**/*.ml*>~:           warn_A, warn_error_A, debug, annot
       "foo.ml" or "bar.ml": warn_v, warn_error_v
       "vendor.ml":          -warn_A, -warn_error_A
       <main.{byte,native}>: use_unix
index 930ba17c249dea46585c42d4d3c287cfd6244377..2aadca1735778257364ee5afc3db45e1b6359b06 100644 (file)
@@ -31,6 +31,7 @@ type env = Pathname.t -> Pathname.t
 type builder = Pathname.t list list -> (Pathname.t, exn) Ocamlbuild_pack.My_std.Outcome.t list
 type action = env -> builder -> Command.t
 let rule = Rule.rule
+let clear_rules = Rule.clear_rules
 let dep = Command.dep
 let copy_rule = Rule.copy_rule
 let ocaml_lib = Ocamlbuild_pack.Ocaml_utils.ocaml_lib
index 1e4efff4f80f428872a2083e0f3d4f0a208ea812..c562d42886ce364fcb38ce4cabe47e2943e70074 100644 (file)
@@ -61,6 +61,7 @@ let stdout_isatty () =
   Unix.isatty Unix.stdout
 
 let execute_many =
+  let exit i = raise (My_std.Exit_with_code i) in
   let exit = function
     | Ocamlbuild_executor.Subcommand_failed -> exit Exit_codes.rc_executor_subcommand_failed
     | Ocamlbuild_executor.Subcommand_got_signal -> exit Exit_codes.rc_executor_subcommand_got_signal
index 7e9bd5b37ac0609844ade82f2ece86cbc50e2712..11839c61fdbf08b557ae7d41497e3ebf3befa527 100644 (file)
@@ -76,9 +76,10 @@ let program_to_execute = ref false
 let must_clean = ref false
 let show_documentation = ref false
 let recursive = ref false
-let ext_lib = ref "a"
-let ext_obj = ref "o"
-let ext_dll = ref "so"
+let ext_lib = ref Ocamlbuild_Myocamlbuild_config.a
+let ext_obj = ref Ocamlbuild_Myocamlbuild_config.o
+let ext_dll = ref Ocamlbuild_Myocamlbuild_config.so
+let exe = ref Ocamlbuild_Myocamlbuild_config.exe
 
 let targets_internal = ref []
 let ocaml_libs_internal = ref []
index 97d76af0872e1dff9364a17453e0ff2861784df3..8465ee77109326fd37265225cffc0afc1386b1bb 100644 (file)
@@ -30,7 +30,7 @@ module Make(U:sig end) =
 
     let we_have_a_config_file = sys_file_exists plugin_config_file
     let we_need_a_plugin      = !Options.plugin && sys_file_exists plugin_file
-    let we_have_a_plugin      = sys_file_exists (!Options.build_dir/plugin)
+    let we_have_a_plugin      = sys_file_exists ((!Options.build_dir/plugin)^(!Options.exe))
     let we_have_a_config_file_interface = sys_file_exists plugin_config_file_interface
 
     let up_to_date_or_copy fn =
@@ -56,6 +56,12 @@ module Make(U:sig end) =
         () (* Up to date *)
            (* FIXME: remove ocamlbuild_config.ml in _build/ if removed in parent *)
       else begin
+        if !Options.native_plugin
+            && not (sys_file_exists ((!Ocamlbuild_where.libdir)/"ocamlbuildlib.cmxa")) then
+          begin
+            Options.native_plugin := false;
+            eprintf "Warning: Won't be able to compile a native plugin"
+          end;
         let plugin_config =
           if we_have_a_config_file then
             if we_have_a_config_file_interface then
@@ -83,10 +89,10 @@ module Make(U:sig end) =
         let cmd =
           Cmd(S[compiler; A"-I"; P dir; libs; more_options;
                 P(dir/ocamlbuildlib); plugin_config; P plugin_file;
-                P(dir/ocamlbuild); A"-o"; Px plugin])
+                P(dir/ocamlbuild); A"-o"; Px (plugin^(!Options.exe))])
         in
         Shell.chdir !Options.build_dir;
-        Shell.rm_f plugin;
+        Shell.rm_f (plugin^(!Options.exe));
         Command.execute cmd
       end
 
@@ -96,7 +102,8 @@ module Make(U:sig end) =
           rebuild_plugin_if_needed ();
           Shell.chdir Pathname.pwd;
           if not !Options.just_plugin then
-            let spec = S[!Options.ocamlrun; P(!Options.build_dir/plugin);
+            let runner = if !Options.native_plugin then N else !Options.ocamlrun in
+            let spec = S[runner; P(!Options.build_dir/plugin^(!Options.exe));
                          A"-no-plugin"; atomize (List.tl (Array.to_list Sys.argv))] in
             let () = Log.finish () in
             raise (Exit_silently_with_code (sys_command (Command.string_of_command_spec spec)))
index bf217e7d5e6692ef8e6a1cc51ae00b8e4428c30d..ac0f0c8bda25d5a224456cc83d151d21bfbbc764 100644 (file)
@@ -227,7 +227,7 @@ let call builder r =
   then thunk ()
   else List.iter (fun x -> Resource.Cache.suspend_resource x action.command thunk r.prods) r.prods
 
-let (get_rules, add_rule) =
+let (get_rules, add_rule, clear_rules) =
   let rules = ref [] in
   (fun () -> !rules),
   begin fun pos r ->
@@ -248,7 +248,8 @@ let (get_rules, add_rule) =
             List.fold_right begin fun x acc ->
               if x.name = s then r :: x :: acc else x :: acc
             end !rules []
-  end
+  end,
+  (fun () -> rules := [])
 
 let rule name ?(tags=[]) ?(prods=[]) ?(deps=[]) ?prod ?dep ?stamp ?(insert = `bottom) code =
   let res_add import xs xopt =
index 9be718e2b1d30482c90e683f5f333b9a83d844dd..16af0f6fefe6ce50a4570016059df5cfb20e2239 100644 (file)
@@ -73,6 +73,7 @@ val print_rule_name : Format.formatter -> 'a gen_rule -> unit
 val print_rule_contents : 'a rule_printer
 
 val get_rules : unit -> rule_scheme list
+val clear_rules : unit -> unit
 
 val call : builder -> rule -> unit
 
index 4304d749ff532370370e44c9a6e54d853d4070d8..40923b699cc7c58e861cef02b259b6676337461e 100644 (file)
@@ -397,6 +397,7 @@ module type OPTIONS = sig
   val ext_obj : string ref
   val ext_lib : string ref
   val ext_dll : string ref
+  val exe : string ref
 end
 
 module type ARCH = sig
@@ -520,6 +521,9 @@ module type PLUGIN = sig
     ?insert:[`top | `before of string | `after of string | `bottom] ->
     string -> string -> unit
 
+  (** Empties the list of rules of the ocamlbuild engine. *)
+  val clear_rules : unit -> unit
+
   (** [dep tags deps] Will build [deps] when all [tags] will be activated. *)
   val dep : Tags.elt list -> Pathname.t list -> unit
 
index 720ee641a5ed3e32478972bec94a989efa3a3494..0372a09821c264636b8ee451fd7ad935e84c5fa8 100644 (file)
@@ -14,3 +14,4 @@ stdlib_man
 test_stdlib
 test_latex
 test
+*.a
index 66f9fddcb4c02f19917d96942e0296288621e550..a252bfb153451f52e1d36a19af46764863dadd66 100644 (file)
@@ -9,7 +9,7 @@
 #(*                                                                     *)
 #(***********************************************************************)
 
-# $Id: Makefile,v 1.66.4.1 2009/04/09 13:56:38 guesdon Exp $
+# $Id: Makefile 9229 2009-04-09 13:56:38Z guesdon $
 
 include ../config/Makefile
 
index ec7504ddb3eee149f94bb845601c01433bf1be31..d11dcccce09389de2a2e02203f40786a7ad39792 100644 (file)
@@ -9,7 +9,7 @@
 #(*                                                                     *)
 #(***********************************************************************)
 
-# $Id: Makefile.nt,v 1.27.4.2 2009/05/20 12:07:05 doligez Exp $
+# $Id: Makefile.nt 9272 2009-05-20 12:07:05Z doligez $
 
 include ../config/Makefile
 
index 97c70f3f47d4cdc9a12d5756f4d9dedb8c833f9e..996aa019367d05b2cfc7e3fcbeb271e4c7b68e14 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc.ml,v 1.9.14.1 2009/04/09 13:56:38 guesdon Exp $ *)
+(* $Id: odoc.ml 9371 2009-10-16 12:40:04Z doligez $ *)
 
 (** Main module for bytecode. *)
 
@@ -81,11 +81,11 @@ let _ =
           prerr_endline (Odoc_messages.load_file_error file "Not_found");
           exit 1
       | Sys_error s
-      |        Failure s ->
+      | Failure s ->
           prerr_endline (Odoc_messages.load_file_error file s);
           exit 1
 
-let _ = print_DEBUG "Fin du chargement dynamique éventuel"
+let _ = print_DEBUG "Fin du chargement dynamique eventuel"
 
 let default_html_generator = new Odoc_html.html
 let default_latex_generator = new Odoc_latex.latex
@@ -147,4 +147,4 @@ let _ =
     exit 0
 
 
-(* eof $Id: odoc.ml,v 1.9.14.1 2009/04/09 13:56:38 guesdon Exp $ *)
+(* eof $Id: odoc.ml 9371 2009-10-16 12:40:04Z doligez $ *)
index 24cb064fc71c2d93ee47c45186708dd923945912..d266190f55d36194bf1b75265f8bb3c6aa0405c2 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_analyse.ml,v 1.15 2007/12/04 13:38:58 doligez Exp $ *)
+(* $Id: odoc_analyse.ml 8705 2007-12-04 13:38:58Z doligez $ *)
 
 (** Analysis of source files. This module is strongly inspired from
     driver/main.ml :-) *)
index d7f20fb9634f3bf9cc77ba021726b941acdc6e6a..d99f677ee256691640c25a10ac17e37e7ca99988 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_analyse.mli,v 1.4 2004/08/20 17:04:35 doligez Exp $ *)
+(* $Id: odoc_analyse.mli 6612 2004-08-20 17:04:35Z doligez $ *)
 
 (** Analysis of source files. *)
 
index d9ba9324c5008d1659258cee8ef800ba96a10fb0..4f98c065ecf3d4c6b9c2ea654f5144c6500d1022 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* cvsid $Id: odoc_args.ml,v 1.22.2.1 2009/04/09 13:56:38 guesdon Exp $ *)
+(* cvsid $Id: odoc_args.ml 9229 2009-04-09 13:56:38Z guesdon $ *)
 
 (** Command-line arguments. *)
 
index f2fd6b3927afab975a27ae8beecdcaf727de1f5f..0f0947f7c94b3837ba699ecf5f165f7e3d498342 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_args.mli,v 1.17.2.1 2009/04/09 13:56:38 guesdon Exp $ *)
+(* $Id: odoc_args.mli 9229 2009-04-09 13:56:38Z guesdon $ *)
 
 (** Analysis of the command line arguments. *)
 
index c44f204d981eb8a79cec24c3907217af14282168..8870fe015da1738d60d99dfb0acfa2bde641a6d3 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_ast.ml,v 1.32 2008/07/25 13:28:23 guesdon Exp $ *)
+(* $Id: odoc_ast.ml 9371 2009-10-16 12:40:04Z doligez $ *)
 
 (** Analysis of implementation files. *)
 open Misc
@@ -332,7 +332,7 @@ module Analyser =
                       in
                       (new_param, func_body2)
                   | _ ->
-                      print_DEBUG3 "Pas le bon filtre pour le paramètre optionnel avec valeur par défaut.";
+                      print_DEBUG3 "Pas le bon filtre pour le parametre optionnel avec valeur par defaut.";
                       (parameter, func_body)
                  )
                 )
@@ -477,7 +477,7 @@ module Analyser =
                                   in
                                   (new_param, body2)
                               | _ ->
-                                  print_DEBUG3 "Pas le bon filtre pour le paramètre optionnel avec valeur par défaut.";
+                                  print_DEBUG3 "Pas le bon filtre pour le parametre optionnel avec valeur par defaut.";
                                   (parameter, body)
                              )
                             )
index b68b7774aab381109ab415e95939cd7508e5c792..9b5196ac90698900a6ff2f164c8ec8b9796d64c6 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_ast.mli,v 1.4 2003/11/24 10:39:29 starynke Exp $ *)
+(* $Id: odoc_ast.mli 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** The module for analysing the typed abstract syntax tree and source code and creating modules, classes, ..., elements.*)
 
index c2848b8b0a5d2e7adb239c6c9313fa593ddbc543..49c507f79ef815e953c19d685ff84907aba5f419 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_class.ml,v 1.5 2004/03/26 15:57:02 guesdon Exp $ *)
+(* $Id: odoc_class.ml 6174 2004-03-26 15:57:03Z guesdon $ *)
 
 (** Representation and manipulation of classes and class types.*)
 
@@ -250,4 +250,4 @@ let class_type_parameter_text_by_name clt label =
           None
 
         
-(* eof $Id: odoc_class.ml,v 1.5 2004/03/26 15:57:02 guesdon Exp $ *)
+(* eof $Id: odoc_class.ml 6174 2004-03-26 15:57:03Z guesdon $ *)
index ad22bb640cb1241c91e78afb306b32e79a628af8..4986bff284b527de4a7444fc34302dd0059cc769 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_comments.ml,v 1.6 2006/09/20 11:14:36 doligez Exp $ *)
+(* $Id: odoc_comments.ml 7619 2006-09-20 11:14:37Z doligez $ *)
 
 (** Analysis of comments. *)
 
index 6a51b88fc03c4782ace0c5b93df5739466af6e3e..6e1a37689152e5382b545b8fe78cc0bc64dacb3a 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_comments.mli,v 1.5 2006/09/20 11:14:36 doligez Exp $ *)
+(* $Id: odoc_comments.mli 7619 2006-09-20 11:14:37Z doligez $ *)
 
 (** Analysis of comments. *)
 
index 92846af1aef0e83bb2ec20dd799b0da5a81b17c1..d26d91c4e236556ebabc08c4334a78930522dfeb 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_comments_global.ml,v 1.2 2003/11/24 10:39:30 starynke Exp $ *)
+(* $Id: odoc_comments_global.ml 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** The global variables used by the special comment parser.*)
 
@@ -45,4 +45,4 @@ let init () =
   return_value := None ;
   customs := [] 
 
-(* eof $Id: odoc_comments_global.ml,v 1.2 2003/11/24 10:39:30 starynke Exp $ *)
+(* eof $Id: odoc_comments_global.ml 5973 2003-11-24 10:44:07Z starynke $ *)
index c29d074fa411d691a82020d4ea17865d1be407a8..736d8d837996914cc159a2aa0c2afa8556450cf6 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_comments_global.mli,v 1.2 2003/11/24 10:39:30 starynke Exp $ *)
+(* $Id: odoc_comments_global.mli 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** The global variables used by the special comment parser.*)
 
index f854b8d9267d7c7087dc58852a06aac777601d04..038b1caa82ad7340eb4bd7b070497aba74fc7463 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_config.ml,v 1.2 2007/10/08 14:19:34 doligez Exp $ *)
+(* $Id: odoc_config.ml 8416 2007-10-08 14:19:34Z doligez $ *)
 
 let custom_generators_path =
   Filename.concat Config.standard_library
index eaadd9097a043f49f57cf175dba3582a50fc6c5f..f67a611788e878f5b73a72122cf199b14fdd7b9c 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_config.mli,v 1.2 2007/10/08 14:19:34 doligez Exp $ *)
+(* $Id: odoc_config.mli 8416 2007-10-08 14:19:34Z doligez $ *)
 
 (** Ocamldoc configuration contants. *)
 
index 979b9ad0ab18abaab28295d3279283b97d827fff..07bf335d47fe9631408ebe899b70c2b6ff48cf14 100644 (file)
@@ -9,5 +9,5 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_control.ml,v 1.2 2003/11/24 10:39:30 starynke Exp $ *)
+(* $Id: odoc_control.ml 5973 2003-11-24 10:44:07Z starynke $ *)
 
index 9b7974db4f38aaf4cc529c2133eecab93a63c69b..a0244a175048e3e258b2907c70df0ada2e1bbd7a 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_cross.ml,v 1.18 2007/10/09 10:29:36 weis Exp $ *)
+(* $Id: odoc_cross.ml 8418 2007-10-09 10:29:37Z weis $ *)
 
 (** Cross referencing. *)
 
index f70170a8cc404552414fd2d2b213c096565ab31e..35e70b6abe9fed3b0331ef63d3a7ccc9741fc607 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_cross.mli,v 1.3 2006/09/20 11:14:36 doligez Exp $ *)
+(* $Id: odoc_cross.mli 7619 2006-09-20 11:14:37Z doligez $ *)
 
 (** Cross-referencing. *)
 
index cbe82409ae202f4e1f5f7874be26d8e18e339bd7..4daf0f95951e085eb90087461d61ade8832ed19c 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_dag2html.ml,v 1.4 2004/12/03 14:42:09 guesdon Exp $ *)
+(* $Id: odoc_dag2html.ml 6723 2004-12-03 14:42:09Z guesdon $ *)
 
 (** The types and functions to create a html table representing a dag. Thanks to Daniel De Rauglaudre. *)
 
index a1bbf49f762960879794b0e0097fd71693238c04..1886d8306a3e46e644cea21782dbb9c14ee8ffe3 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_dag2html.mli,v 1.3 2003/11/24 10:39:31 starynke Exp $ *)
+(* $Id: odoc_dag2html.mli 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** The types and functions to create a html table representing a dag. 
    Thanks to Daniel de Rauglaudre. *)
index f975cbdc54384784ef9aeb46c0146c236370d3ad..2ef7a88b4ad2f67ec10ae5857cad69796208253b 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_dep.ml,v 1.7 2007/10/09 10:29:36 weis Exp $ *)
+(* $Id: odoc_dep.ml 8418 2007-10-09 10:29:37Z weis $ *)
 
 (** Top modules dependencies. *)
 
index d442fcd4374b024b8fba7d2a8a8cdfda8b61b0e3..e6c73fad1c789a93c693599c29105123f18bc26c 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_dot.ml,v 1.7 2006/09/20 11:14:36 doligez Exp $ *)
+(* $Id: odoc_dot.ml 7619 2006-09-20 11:14:37Z doligez $ *)
 
 (** Definition of a class which outputs a dot file showing
    top modules dependencies.*)
index 6845ce2ce34b5730d806ef779d4ac3bf468ccea0..bc81855e64cec8ce7c971329a8d61efb02de96f1 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_env.ml,v 1.7 2004/06/12 08:55:46 xleroy Exp $ *)
+(* $Id: odoc_env.ml 6386 2004-06-12 08:55:49Z xleroy $ *)
 
 (** Environment for finding complete names from relative names. *)
 
@@ -242,4 +242,4 @@ let subst_class_type env t =
   in
   iter t
 
-(* eof $Id: odoc_env.ml,v 1.7 2004/06/12 08:55:46 xleroy Exp $ *)
+(* eof $Id: odoc_env.ml 6386 2004-06-12 08:55:49Z xleroy $ *)
index 4e2cbe9e5b1f5731cc06b51ccf4464050e2f95b5..ae96a97654a0e99bccaca249d4ef256fe12ac007 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_env.mli,v 1.3 2003/11/24 10:39:31 starynke Exp $ *)
+(* $Id: odoc_env.mli 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** Environment for finding complete names from relative names. *)
 
index 015915aaabbaf7ac26b4d8e665262f8120701773..e6bf02d62aaac381990f82d128a2a1dbc88a3e1c 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_exception.ml,v 1.3 2003/11/24 10:39:31 starynke Exp $ *)
+(* $Id: odoc_exception.ml 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** Representation and manipulation of exceptions. *)
 
index de5fdd8ba75ad61a56409a008a250d2824b232ae..45d7906e852b7b2b43f4adc815737e6bf8a91ba7 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_global.ml,v 1.3 2003/11/24 10:41:03 starynke Exp $ *)
+(* $Id: odoc_global.ml 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** Global variables. *)
 
index 1c8c21946d8214dea7527bf1d1b27537c06a7af9..4889056b000053d65ce0c467f319caf2e7f7c184 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_global.mli,v 1.2 2003/11/24 10:41:03 starynke Exp $ *)
+(* $Id: odoc_global.mli 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** Global variables. *)
 
index 21294cb0a0cbb056f9f1fc95e37e9ffce73d2d90..3467af84dbd1990c016dd6db9792c6826f0cfcca 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_html.ml,v 1.64.2.1 2008/11/10 13:03:55 guesdon Exp $ *)
+(* $Id: odoc_html.ml 9125 2008-11-10 13:03:55Z guesdon $ *)
 
 (** Generation of html documentation.*)
 
index 55f20259e3754bf29164fa0f18e5bcb82ddce159..3eddaff3b8813a31c17395537f2a987ae04d1a9e 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_info.ml,v 1.24 2007/10/08 14:19:34 doligez Exp $ *)
+(* $Id: odoc_info.ml 8416 2007-10-08 14:19:34Z doligez $ *)
 
 (** Interface for analysing documented OCaml source files and to the collected information. *)
 
index 375f4754c7a3bab63cbb3779c5c2ddf37013376e..2fca47f21c40b98fa30783ef4b64dca9da39f502 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_info.mli,v 1.45 2008/07/25 13:28:23 guesdon Exp $ *)
+(* $Id: odoc_info.mli 8932 2008-07-25 13:28:23Z guesdon $ *)
 
 (** Interface to the information collected in source files. *)
 
index 915b4cb0f154e29d64d16240f1720f0b7b03b5eb..5582ce982df761d58f4b6ee1e21fe99db1501371 100644 (file)
@@ -9,5 +9,5 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_inherit.ml,v 1.2 2003/11/24 10:41:04 starynke Exp $ *)
+(* $Id: odoc_inherit.ml 5973 2003-11-24 10:44:07Z starynke $ *)
 
index 58571c267e1739328dfce948258968de835aef73..bf04755404dea5d1717b2116e374f573578e2f46 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_latex.ml,v 1.41 2007/10/09 10:29:36 weis Exp $ *)
+(* $Id: odoc_latex.ml 8418 2007-10-09 10:29:37Z weis $ *)
 
 (** Generation of LaTeX documentation. *)
 
index 6b791c8787e8f394d9a20c55968fe4b7696f3ed8..578751da73a04f3a1eae3ed9a64a70b5f3568752 100644 (file)
@@ -11,7 +11,7 @@
 
 (** The content of the LaTeX style to generate when generating LaTeX code. *)
 
-(* $Id: odoc_latex_style.ml,v 1.5 2004/06/11 14:25:50 guesdon Exp $ *)
+(* $Id: odoc_latex_style.ml 6378 2004-06-11 14:25:50Z guesdon $ *)
 
 let content ="
 %% Support macros for LaTeX documentation generated by ocamldoc.
index 034767d00ca10f15b5b3c112d69548d81ecd5883..d477299456ea9cce10334c0e4991ba3c3f44602c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_lexer.mll,v 1.5 2008/07/23 11:14:22 guesdon Exp $ *)
+(* $Id: odoc_lexer.mll 8928 2008-07-23 11:14:22Z guesdon $ *)
 
 (** The lexer for special comments. *)
 
index 2e495b184eb9b7094d5b3956045fffa95828b5b2..028fd7a7e1d62d344ecc69c4d458309891d027ea 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_man.ml,v 1.28.2.1 2008/10/29 11:58:35 guesdon Exp $ *)
+(* $Id: odoc_man.ml 9109 2008-10-29 11:58:35Z guesdon $ *)
 
 (** The man pages generator. *)
 open Odoc_info
index 15838d413b6b34a1c2b6f16f330f8202c2983984..bbf8de10d971fbec71afbeb3250dcfd43077100e 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_merge.ml,v 1.13 2007/10/09 10:29:36 weis Exp $ *)
+(* $Id: odoc_merge.ml 8418 2007-10-09 10:29:37Z weis $ *)
 
 (** Merge of information from [.ml] and [.mli] for a module.*)
 
index 904d62c77db7a5f7f46d71b1e5b642bff47455f9..aaf42c19399d17fc2f2709c0f32f6e0cc6a70790 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_merge.mli,v 1.3 2003/11/24 10:41:05 starynke Exp $ *)
+(* $Id: odoc_merge.mli 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** Merge of information from [.ml] and [.mli] for a module.*)
 
index cadca59ad1a9b5be99be35eb7440371bbf115b6b..c634bdb278f594bc6392fcdda0b17d1d49457b40 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_messages.ml,v 1.32.2.1 2009/04/09 13:56:38 guesdon Exp $ *)
+(* $Id: odoc_messages.ml 9229 2009-04-09 13:56:38Z guesdon $ *)
 
 (** The messages of the application. *)
 
index c66341514a5989045e14129bff5ae19bc43aed5a..0c6510a7dcad004fdb62c3b9396cf06d9377204a 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_misc.ml,v 1.21 2006/07/06 07:19:06 pouillar Exp $ *)
+(* $Id: odoc_misc.ml 7470 2006-07-06 07:19:06Z pouillar $ *)
 
 let no_blanks s =
   let len = String.length s in
index 83f94ef571f645328fe48977cc0cd1c0ed52b578..06b66fc3c5fcad8da5b39cb84a3346f4f5f18bff 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_misc.mli,v 1.13 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: odoc_misc.mli 7307 2006-01-04 16:55:50Z doligez $ *)
 
 (** Miscelaneous functions *)
 
index a96965161eb0ce8e2e413917cbc6ca253ed2f3ab..caeffeb49b4669665d9d377818ac5bb13eaaedf8 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_module.ml,v 1.12 2006/09/20 11:14:37 doligez Exp $ *)
+(* $Id: odoc_module.ml 7619 2006-09-20 11:14:37Z doligez $ *)
 
 (** Representation and manipulation of modules and module types. *)
 
index a84597471ca3ae13071f93dcf5ebcf7d5b04af40..049dea586f42a6937851f5c5f748fbdeeef871a4 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_name.ml,v 1.10.14.1 2009/03/12 18:21:08 doligez Exp $ *)
+(* $Id: odoc_name.ml 9185 2009-03-12 18:21:08Z doligez $ *)
 
 (** Representation of element names. *)
 
index 539dfbaa81ccf4e77e5364b4dfc3cb53cc56f126..58eeff45ec331957f2addd326bc3042e3b34380b 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_name.mli,v 1.4 2004/03/26 09:09:50 guesdon Exp $ *)
+(* $Id: odoc_name.mli 6173 2004-03-26 09:09:50Z guesdon $ *)
 
 (** Representation of element names. *)
 
index e7c5c77ca58bc5553145fbdc8e1ed8a2acdbf2e3..e2279508d4077c0a2047a0658485360c5895cd07 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_ocamlhtml.mll,v 1.10.4.1 2008/11/10 13:03:55 guesdon Exp $ *)
+(* $Id: odoc_ocamlhtml.mll 9125 2008-11-10 13:03:55Z guesdon $ *)
 
 (** Generation of html code to display OCaml code. *)
 open Lexing
index 51c442a851d55ecc236e861b147e46fd2e6f7146..2d2af1f7f8db4afcb0c891f17c3c21332221fbfa 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_parameter.ml,v 1.8 2004/04/02 15:10:57 guesdon Exp $ *)
+(* $Id: odoc_parameter.ml 6185 2004-04-02 15:10:58Z guesdon $ *)
 
 (** Representation and manipulation of method / function / class parameters. *)
 
index 550ded053cd710a175d4bd441c76156a43102eb2..d885e2a5e4a05f46236bde2fc906e9601d466386 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_parser.mly,v 1.3 2003/11/24 10:43:11 starynke Exp $ *)
+(* $Id: odoc_parser.mly 5973 2003-11-24 10:44:07Z starynke $ *)
 
 open Odoc_types
 open Odoc_comments_global
index 5be5cfebaba674cf6a8643699d0fa71d1f1242da..116d22b9fe5a2efd91c40d42364c9fa0c2443a11 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_print.ml,v 1.3 2004/05/18 13:28:00 garrigue Exp $ *)
+(* $Id: odoc_print.ml 6307 2004-05-18 13:28:00Z garrigue $ *)
 
 open Format
 
index e825b6e4adcd5352166d17418a784a65c1e46c73..69e7526f3eeecbf62c059f6fa9c90055f2e34f1d 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_print.mli,v 1.2 2004/03/26 09:09:50 guesdon Exp $ *)
+(* $Id: odoc_print.mli 6173 2004-03-26 09:09:50Z guesdon $ *)
 
 (** Printing functions. *)
 
index 1b669e157028f73b715fb1e351bae2a7bfb1ae37..d7d694f8ab0423fb1372f9044057f0c377cb99a7 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_scan.ml,v 1.3 2003/11/24 10:43:11 starynke Exp $ *)
+(* $Id: odoc_scan.ml 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** Scanning of modules and elements.
 
index e863fcb2610039a5ca7d5dfda6fe5b00cc38c88e..c5d7eff17e4967fa076581481ff5c275b1ab6a13 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_search.ml,v 1.7 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: odoc_search.ml 7307 2006-01-04 16:55:50Z doligez $ *)
 
 (** Research of elements through modules. *)
 
@@ -632,4 +632,4 @@ let find_section mods regexp =
     Res_section (_,t) -> t
   | _ -> assert false
 
-(* eof $Id: odoc_search.ml,v 1.7 2006/01/04 16:55:50 doligez Exp $ *)
+(* eof $Id: odoc_search.ml 7307 2006-01-04 16:55:50Z doligez $ *)
index 4254af07b9b62443ca423f1a624564873ec48264..9b4f2f5e80679bd6739972ac1b897ef7c4c2224e 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_search.mli,v 1.4 2003/11/24 10:43:12 starynke Exp $ *)
+(* $Id: odoc_search.mli 5973 2003-11-24 10:44:07Z starynke $ *)
 
 (** Research of elements through modules. *)
 
index fe16fee2550aa0902e2666c47a01381ba6e2cdb3..799678a40606d1247cc18309d557040541fc394b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_see_lexer.mll,v 1.3 2003/11/24 10:43:12 starynke Exp $ *)
+(* $Id: odoc_see_lexer.mll 5973 2003-11-24 10:44:07Z starynke $ *)
 
 let print_DEBUG2 s = print_string s ; print_newline ()
 
index 329e23b40b7067c7c29246de2b1a734772fa89e0..a9b3f34f1c86baea471726a0135bef96538d5a30 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_sig.ml,v 1.41 2008/07/23 08:55:36 guesdon Exp $ *)
+(* $Id: odoc_sig.ml 8927 2008-07-23 08:55:36Z guesdon $ *)
 
 (** Analysis of interface files. *)
 
index 9802e92855a59690fd9a88f994eb0cf8697726bd..d1518a810ed7c7d980fe3c6cf00418cc66f06759 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_sig.mli,v 1.6 2004/11/03 09:31:19 guesdon Exp $ *)
+(* $Id: odoc_sig.mli 6661 2004-11-03 09:31:19Z guesdon $ *)
 
 (** The module for analysing a signature and source code and creating modules, classes, ..., elements.*)
 
index 2aad6fb3df8a4ca75a7bc2fd68697523add5cbc9..6ca8cccb59740f828086fe527aefd05c321d8273 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_str.ml,v 1.13 2008/07/23 08:55:36 guesdon Exp $ *)
+(* $Id: odoc_str.ml 8927 2008-07-23 08:55:36Z guesdon $ *)
 
 (** The functions to get a string from different kinds of elements (types, modules, ...). *)
 
@@ -274,4 +274,4 @@ let string_of_method m =
     None -> ""
   | Some i -> Odoc_misc.string_of_info i)
 
-(* eof $Id: odoc_str.ml,v 1.13 2008/07/23 08:55:36 guesdon Exp $ *)
+(* eof $Id: odoc_str.ml 8927 2008-07-23 08:55:36Z guesdon $ *)
index 7f67c31af2f1b039e4efebdc3f4cd7b7c1893d41..b70c9817a1f88efd92ee51438a78fd26166110a8 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_str.mli,v 1.6 2004/08/20 17:04:35 doligez Exp $ *)
+(* $Id: odoc_str.mli 6612 2004-08-20 17:04:35Z doligez $ *)
 
 (** The functions to get a string from different kinds of elements (types, modules, ...). *)
 
index 8c2d020e539c6bf213a9fa3e7de5d080c0de562e..49d98e2f2ca5ec2bf35d6c339041fe45bbad2a53 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_test.ml,v 1.1 2004/02/20 16:28:27 guesdon Exp $ *)
+(* $Id: odoc_test.ml 6127 2004-02-20 16:28:27Z guesdon $ *)
 
 (** Custom generator to perform test on ocamldoc. *)
 
index 1c7d5fd29cc520cefa0e74217cc65ba70f4f7949..414a86abd1b9073497b39aee92ea040ea58c73ef 100644 (file)
@@ -8,7 +8,7 @@
 (*  under the terms of the Q Public License version 1.0.               *)
 (***********************************************************************)
 
-(* $Id: odoc_texi.ml,v 1.24 2008/07/23 08:55:36 guesdon Exp $ *)
+(* $Id: odoc_texi.ml 8927 2008-07-23 08:55:36Z guesdon $ *)
 
 (** Generation of Texinfo documentation. *)
 
index 57dd461a5c197a439849e4de55b97a0b644b6023..234c2eec88fdcdc33e1d5b8be96320161c3f75c1 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_text.ml,v 1.6 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: odoc_text.ml 7307 2006-01-04 16:55:50Z doligez $ *)
 
 exception Text_syntax of int * int * string (* line, char, string *)
 
index 6dca491a20a2efb355157509f3f4f585b7d509d7..cea7d50e645c0484bbda3e9e1e0663ee3f878254 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_text.mli,v 1.3 2003/11/24 21:20:51 guesdon Exp $ *)
+(* $Id: odoc_text.mli 5974 2003-11-24 21:20:51Z guesdon $ *)
 
 (** A module with a function to parse strings to obtain a [Odoc_types.text] value. *)
 
index d9015f8741c337b79f7a8540a043d7b04e6e0f50..34a8dfe4805ad4d018aaefdb5437a3f9067c48a8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_text_lexer.mll,v 1.9 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: odoc_text_lexer.mll 7307 2006-01-04 16:55:50Z doligez $ *)
 
 (** The lexer for string to build text structures. *)
 
index e1e3039897e9c64d1a693238fd4d79956f1604bd..4972f5b3edb50de7ea704019bfef637077c69ca4 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_text_parser.mly,v 1.5 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: odoc_text_parser.mly 7307 2006-01-04 16:55:50Z doligez $ *)
 
 open Odoc_types
 
index 0c636e1c68bd1a35eb905321eb6f0430d79b770a..b02b0edc8cca5a16d13692a3d4b037f161966064 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_to_text.ml,v 1.17 2008/07/23 08:55:36 guesdon Exp $ *)
+(* $Id: odoc_to_text.ml 8927 2008-07-23 08:55:36Z guesdon $ *)
 
 (** Text generation.
 
index 3d4a663ee126bca471ce41aac1aae33794f7a073..9d92e51bf3cbab9387c1386dc4dc4c3e3d22827b 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_type.ml,v 1.7 2008/05/21 05:56:39 guesdon Exp $ *)
+(* $Id: odoc_type.ml 8883 2008-05-21 05:56:39Z guesdon $ *)
 
 (** Representation and manipulation of a type, but not class nor module type.*)
 
index fb48721b074b59d379b16c98cfe614a0aa096e40..c469015e194a8575c67df477ff45bf0de21b2820 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_types.ml,v 1.9 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: odoc_types.ml 7307 2006-01-04 16:55:50Z doligez $ *)
 
 type ref_kind =
     RK_module
index cad2bcc3aff85c6c21b0f56c0c5a9d0af16a1433..3b9b258961154c1eb68a8cea265a89133b0b4da1 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_types.mli,v 1.6 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: odoc_types.mli 7307 2006-01-04 16:55:50Z doligez $ *)
 
 (** Types for the information collected in comments. *)
 
index 05714faa677205fbe77675ba32d4ccb5f98a29d3..c88c0d37b0bc14e2185f225b520549ca665c0ce2 100644 (file)
@@ -9,7 +9,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: odoc_value.ml,v 1.7 2008/07/23 08:55:36 guesdon Exp $ *)
+(* $Id: odoc_value.ml 8927 2008-07-23 08:55:36Z guesdon $ *)
 
 (** Representation and manipulation of values, class attributes and class methods. *)
 
index da94ce04066b628549f8be5b49c9b5fda996413d..be5a498741f28f025c27b6479e1a4157590263fb 100755 (executable)
 #(*                                                                     *)
 #(***********************************************************************)
 
-# $Id: remove_DEBUG,v 1.3 2004/04/15 16:18:52 doligez Exp $
+# $Id: remove_DEBUG 9312 2009-07-09 17:09:48Z doligez $
 
 # 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"
+LC_ALL=C sed -e '/DEBUG/c\
+(* DEBUG statement removed *)' "$1"
index 606baa70e49af4dc3a58581cdd3809b5fe7f6697..5638297b5d8d7fd8ef0e658a0fcbfee304da7f7c 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: runocamldoc,v 1.6 2002/07/23 14:11:53 doligez Exp $
+# $Id: runocamldoc 5029 2002-07-23 14:12:03Z doligez $
 
 case "$1" in
   true) shift
index 2c4afdccf0bd15d35974ad5a16c3958c5b8852cc..e769c161a8ec20269d5c59c16dc109dbaf4ea8d2 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.4 2007/11/08 09:17:47 frisch Exp $
+# $Id: Makefile 8489 2007-11-08 09:17:48Z frisch $
 
 # Common Makefile for otherlibs on the Unix ports
 
index 7ea9d4f32a03c5dbdc9a1b7883143f5a7a567c74..97c508940c01febf15981f1ece4c2cefeb2e06cf 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.3 2007/11/08 09:17:48 frisch Exp $
+# $Id: Makefile.nt 8489 2007-11-08 09:17:48Z frisch $
 
 # Common Makefile for otherlibs on the Win32/MinGW ports
 
index 527cb6b74d3c042dd3437858f5679aa0104cd287..b235cc3de0db1f4913d18fddb85c6916e98d8eca 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.shared,v 1.3 2008/07/15 15:31:32 frisch Exp $
+# $Id: Makefile.shared 8916 2008-07-15 15:31:32Z frisch $
 
 # Common Makefile for otherlibs
 
index c54b3a35801a1140c449adb7972cd15a807d90df..52db225e552eae757968d054e22386928c9a8492 100644 (file)
@@ -1,3 +1,5 @@
 *.o
 *.x
 so_locations
+*.so
+*.a
index 9a323c945f3e9a2c1f13763cdf036a3a004e38d4..81f5aef28f707d721c7d45342025668cdc69a8fe 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.25 2008/01/04 09:52:27 xleroy Exp $
+# $Id: Makefile 8748 2008-01-04 09:52:27Z xleroy $
 
 LIBNAME=bigarray
 EXTRACFLAGS=-I../unix -DIN_OCAML_BIGARRAY -DCAML_NAME_SPACE
index 7a43f5f657c377219dce8661fa2fe41e3f141956..94ef9ddd095f702cb402cc76782f228617e0d268 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.13 2008/01/04 15:01:48 xleroy Exp $
+# $Id: Makefile.nt 8754 2008-01-04 15:01:48Z xleroy $
 
 LIBNAME=bigarray
 EXTRACFLAGS=-I../win32unix -DIN_OCAML_BIGARRAY -DCAML_NAME_SPACE
index 7fc10e6328a85cc1dd4255c2e37378d0637ddc95..2078a4f10fb4a6bac87c0c4eb7691be44f12aeda 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bigarray.h,v 1.9.14.1 2008/11/09 09:03:50 xleroy Exp $ */
+/* $Id: bigarray.h 9123 2008-11-09 09:03:51Z xleroy $ */
 
 #ifndef CAML_BIGARRAY_H
 #define CAML_BIGARRAY_H
index 4c2960f12763988c072de2279888ffda73c050bc..201e69da10e8cc40da84021ddd03829246591c59 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bigarray.ml,v 1.20 2008/07/14 09:09:53 xleroy Exp $ *)
+(* $Id: bigarray.ml 8911 2008-07-14 09:09:53Z xleroy $ *)
 
 (* Module [Bigarray]: large, multi-dimensional, numerical arrays *)
 
index ed77a6a42b6be3ff979687a42ac942d8e816458f..0c6cb05a111a23c8e2f91222be6fc472404ce37f 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: bigarray.mli,v 1.27.2.1 2008/10/08 13:07:13 doligez Exp $ *)
+(* $Id: bigarray.mli 9079 2008-10-08 13:09:39Z doligez $ *)
 
 (** Large, multi-dimensional, numerical arrays.
 
index d1d19d9ba7c00bc6f68fc6453a279675c741e169..9e4774eee54f956ebc6f67ab3cfc53c50e2f2788 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bigarray_stubs.c,v 1.23.4.1 2008/11/09 09:03:51 xleroy Exp $ */
+/* $Id: bigarray_stubs.c 9123 2008-11-09 09:03:51Z xleroy $ */
 
 #include <stddef.h>
 #include <stdarg.h>
index 06631051c9257b63e2859517e960c31d557782fc..cc8b4333e616e339cbd8d8e1416ba82571cb1654 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: mmap_unix.c,v 1.11 2008/01/04 15:01:48 xleroy Exp $ */
+/* $Id: mmap_unix.c 8754 2008-01-04 15:01:48Z xleroy $ */
 
 #include <stddef.h>
 #include <string.h>
index 6256fb603ccb8647facc4c289173eac321a95b62..b1a024cd4c775f99fecbed35713ab63c375988d0 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: mmap_win32.c,v 1.12 2008/01/15 14:55:15 frisch Exp $ */
+/* $Id: mmap_win32.c 8773 2008-01-15 14:55:15Z frisch $ */
 
 #include <stddef.h>
 #include <stdio.h>
index 074dd28a45716292db5ff0ea7ff7a86667da4a68..29fea4726447c9a7972bc6b2f3dc35289f6dbc31 100644 (file)
@@ -1 +1,3 @@
 so_locations
+*.so
+*.a
index 71fe0ba14f4d25fc2bd8137516151c9d9693de16..dbfb1b1bb1008de0a4e7f99578dcceb6e8ceff88 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.26.4.1 2009/03/31 11:33:25 xleroy Exp $
+# $Id: Makefile 9214 2009-03-31 11:33:25Z xleroy $
 
 # Makefile for the ndbm library
 
index b899b1586c61bbb2d5369df5405997fd12157292..9fa5be2b52c5d77335efade0bd5c4d3c254b727c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cldbm.c,v 1.8 2003/07/08 13:50:31 xleroy Exp $ */
+/* $Id: cldbm.c 5670 2003-07-08 13:50:31Z xleroy $ */
 
 #include <string.h>
 #include <fcntl.h>
index 771e286f2eea3afe2e04f8fddbd8820d53fbed41..7ecc0c4f799916b68dd830db0a2f6003f0400699 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: dbm.ml,v 1.10 2001/12/07 13:39:51 xleroy Exp $ *)
+(* $Id: dbm.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 type t
 
index e4ae6029a438e1418530fce41e70c802b9a74e03..059c8588e229448b21f8f6ae51583e38ebd94a16 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: dbm.mli,v 1.15 2001/12/07 13:39:51 xleroy Exp $ *)
+(* $Id: dbm.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (** Interface to the NDBM database. *)
 
index 5ea9775e1df5b57f7c3fa3f2d39498c76ec57580..29b3102d190870a377d7b1566920a367780c7694 100644 (file)
@@ -1 +1,2 @@
 extract_crc
+*.a
index bcfe331927fbe14ce7f4a4dd79afe502d7319e7b..c7c06624cecda30c8d42675f6c7abf3efcb9ea95 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.34 2008/04/16 06:50:31 frisch Exp $
+# $Id: Makefile 8868 2008-04-16 06:50:31Z frisch $
 
 # Makefile for the dynamic link library
 
index eca546e60f236cec16dd81b21c718dea84e367b7..8dc4aee6eaf9c040ead39878e2a9ab392e465d2a 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.17 2007/11/06 15:16:56 frisch Exp $
+# $Id: Makefile.nt 8477 2007-11-06 15:16:56Z frisch $
 
 # Makefile for the dynamic link library
 
index cbea117555e35efb242293c7fe9a838e9c72bbb5..e3406157b803b57a77c39cba1884f4426ff17be4 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: dynlink.ml,v 1.36 2008/04/22 12:24:10 frisch Exp $ *)
+(* $Id: dynlink.ml 8873 2008-04-22 12:24:10Z frisch $ *)
 
 (* Dynamic loading of .cmo files *)
 
index 25d6414a0b4aa885357e44a84fc0e5f5dcb6ba71..c028593909720d4a65acd46c12089ff8b5c5d14c 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: dynlink.mli,v 1.23 2008/04/22 12:24:10 frisch Exp $ *)
+(* $Id: dynlink.mli 8873 2008-04-22 12:24:10Z frisch $ *)
 
 (** Dynamic loading of object files. *)
 
index 3a548b2c44087d85225f0b749c261a2e93f1350f..3884239e0e657bcaaa09da24dc9dd5c76cc7287a 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: extract_crc.ml,v 1.10 2004/04/09 13:26:41 xleroy Exp $ *)
+(* $Id: extract_crc.ml 6195 2004-04-09 13:26:41Z xleroy $ *)
 
 (* Print the digests of unit interfaces *)
 
index 9015c73900394e156c55f06fdf15eca419039d4f..4291bcc034556fbd20f804964bf7f942ba8d5369 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: natdynlink.ml,v 1.6 2008/08/28 22:17:51 frisch Exp $ *)
+(* $Id: natdynlink.ml 8993 2008-08-28 22:17:51Z frisch $ *)
 
 (* Dynamic loading of .cmx files *)
 
index 074dd28a45716292db5ff0ea7ff7a86667da4a68..29fea4726447c9a7972bc6b2f3dc35289f6dbc31 100644 (file)
@@ -1 +1,3 @@
 so_locations
+*.so
+*.a
index 9a6c7ee15433135990cfa3a80400301ca2e08536..fac250187ed14c0c1a4529d59e01f9c0520d8234 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.42 2007/11/08 09:23:06 frisch Exp $
+# $Id: Makefile 8490 2007-11-08 09:23:06Z frisch $
 
 # Makefile for the portable graphics library
 
index b24b44bbb04b5a054bd0d95bec5f8cc2c7b025e0..fa00f3e3695bb6aceb1675e70a36328bd9c9b2b6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: color.c,v 1.18 2004/05/17 17:10:00 doligez Exp $ */
+/* $Id: color.c 6299 2004-05-17 17:10:00Z doligez $ */
 
 #include "libgraph.h"
 #include <X11/Xatom.h>
index 6c52a2791bd5ec1ebd007db6e484db5ea3bb6793..c5c5578b04c24ca2ec035f535500b50ea4ea4b65 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: draw.c,v 1.19 2004/05/30 14:11:41 xleroy Exp $ */
+/* $Id: draw.c 6351 2004-05-30 14:11:41Z xleroy $ */
 
 #include "libgraph.h"
 #include <alloc.h>
index 1407cae604997b15036c76816b94bf5d2d9ba663..484901c8ce7ac7bc400244c838aca5096bf0bc35 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: dump_img.c,v 1.11 2004/03/24 15:02:04 starynke Exp $ */
+/* $Id: dump_img.c 6171 2004-03-24 15:02:06Z starynke $ */
 
 #include "libgraph.h"
 #include "image.h"
index 7c9319af1ec5a5334526b29e9bad166298bff1c6..6e8a9ce49b0031c47317e28951f3579d0627c452 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: events.c,v 1.18 2005/08/13 20:59:37 doligez Exp $ */
+/* $Id: events.c 7019 2005-08-13 20:59:37Z doligez $ */
 
 #include <signal.h>
 #include "libgraph.h"
index a33eccde653ed12197a664f0c00780cc144a8c5e..67777057ee57d32a5e3f957c736edd1f1be179d8 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: fill.c,v 1.14 2004/05/30 14:11:41 xleroy Exp $ */
+/* $Id: fill.c 6351 2004-05-30 14:11:41Z xleroy $ */
 
 #include "libgraph.h"
 #include <memory.h>
index 2a64b3d0851f5cc8326acef393ff0ebe431acf0b..050638adb58e16e5038bcb0911a02be2cb1cb2fe 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: graphics.ml,v 1.26 2005/08/13 20:59:37 doligez Exp $ *)
+(* $Id: graphics.ml 7019 2005-08-13 20:59:37Z doligez $ *)
 
 exception Graphic_failure of string
 
index f61b7b57c387ec2665374f16e4aab7482a311f1e..e25e742ff0d3ac437d16bb34741bb5f83579c71e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: graphics.mli,v 1.37 2005/08/13 20:59:37 doligez Exp $ *)
+(* $Id: graphics.mli 7019 2005-08-13 20:59:37Z doligez $ *)
 
 (** Machine-independent graphics primitives. *)
 
index 07528af3671ba0ec564af4ae978f7e43dfe93342..8ef04cbf7122ce3bfa39666f2b4d8a1f6da392a8 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: graphicsX11.ml,v 1.3 2004/03/24 15:02:06 starynke Exp $ *)
+(* $Id: graphicsX11.ml 6171 2004-03-24 15:02:06Z starynke $ *)
 
 (* Module [GraphicsX11]: additional graphics primitives for the X Windows system *)
 
index 12d0cbfe94c965420e05070e5f2d507911cf8990..8f55d11a7365057384421ff330f4846c18737f49 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: graphicsX11.mli,v 1.4 2001/12/07 13:39:54 xleroy Exp $ *)
+(* $Id: graphicsX11.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (** Additional graphics primitives for the X Windows system. *)
 
index 302b413686042286b8e7e87dcf1a7e8c36e80516..7bace1eecb6818194024cdd6f4d627bbce335077 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: image.c,v 1.13 2004/03/24 15:02:05 starynke Exp $ */
+/* $Id: image.c 6171 2004-03-24 15:02:06Z starynke $ */
 
 #include "libgraph.h"
 #include "image.h"
@@ -104,4 +104,4 @@ value caml_gr_draw_image(value im, value vx, value vy)
   return Val_unit;
 }
 
-/* eof $Id: image.c,v 1.13 2004/03/24 15:02:05 starynke Exp $ */
+/* eof $Id: image.c 6171 2004-03-24 15:02:06Z starynke $ */
index 72f41efde8e238b15517ec9287706dbf726ee00d..a373a2b6032905c52ddf29387171f4ed737e2c18 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: image.h,v 1.8 2004/03/24 15:02:06 starynke Exp $ */
+/* $Id: image.h 6171 2004-03-24 15:02:06Z starynke $ */
 
 struct grimage {
   int width, height;            /* Dimensions of the image */
index 86b0eca182e39ed26eeb8f5e19236ecbdb237694..ec13f1dc3b34e26fe65cfb8554d1af97b8a9f8c5 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: libgraph.h,v 1.23 2004/05/30 10:25:08 xleroy Exp $ */
+/* $Id: libgraph.h 6350 2004-05-30 10:25:08Z xleroy $ */
 
 #include <stdio.h>
 #include <X11/Xlib.h>
index a68773a585b42bb9faffc3804c5a0097b37eb14f..7a7f531f61ec5662564b09a85968abd0da2f6a4b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: make_img.c,v 1.13 2004/03/24 15:02:05 starynke Exp $ */
+/* $Id: make_img.c 6171 2004-03-24 15:02:06Z starynke $ */
 
 #include "libgraph.h"
 #include "image.h"
index 11542a2edb640e6291e84f75af5ecf161fa828ff..5039aa597d7a6dff52810234c25a7ba218d24ac5 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: open.c,v 1.34 2005/08/13 20:59:37 doligez Exp $ */
+/* $Id: open.c 7019 2005-08-13 20:59:37Z doligez $ */
 
 #include <string.h>
 #include <fcntl.h>
index a0f4a96be3ffee9535ebfc478170c286fd6144c7..0decdf7bc853aa3f1f399cb20f3cb59b2dc2ba19 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: point_col.c,v 1.8 2004/03/24 15:02:05 starynke Exp $ */
+/* $Id: point_col.c 6171 2004-03-24 15:02:06Z starynke $ */
 
 #include "libgraph.h"
 
index f032d95381045e7caaedac4870ed82af42b2ebf4..1d9dc67a6860c4921c2dea86024c6a557c3b26f7 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sound.c,v 1.9 2004/03/24 15:02:05 starynke Exp $ */
+/* $Id: sound.c 6171 2004-03-24 15:02:06Z starynke $ */
 
 #include "libgraph.h"
 
index 7ecaa85a2a0672d06956ab2c05e5052a0344e972..a7c2bae9ae66e80d95c0948891c8756408574eeb 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: subwindow.c,v 1.6 2004/03/24 15:02:05 starynke Exp $ */
+/* $Id: subwindow.c 6171 2004-03-24 15:02:06Z starynke $ */
 
 #include "libgraph.h"
 
index 9e00f0f6b0779f9d55d1526f6ca82db7f077ac65..af63fe6417e0377389daa365329d21cc68953b6b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: text.c,v 1.15 2004/03/24 15:02:06 starynke Exp $ */
+/* $Id: text.c 6171 2004-03-24 15:02:06Z starynke $ */
 
 #include "libgraph.h"
 #include <alloc.h>
index 4d394f11dde1bb777bbe23d3aa8336eefe730f2d..1f6df5827346cb4e9dc0d28f0515670ef438a291 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: dummyUnix.mli,v 1.4 2003/12/29 22:15:01 doligez Exp $ *)
+(* $Id: dummyUnix.mli 6041 2003-12-29 22:15:02Z doligez $ *)
 
 module Mutex : sig
   type t
index ddaa4effde0bc020a5c66fa5f2bb034702e528b2..d25f81d4676662429d0f5e4ae6b2efa78691dc5b 100644 (file)
@@ -12,4 +12,4 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: dummyWin.mli,v 1.2 2001/12/07 13:39:55 xleroy Exp $ *)
+(* $Id: dummyWin.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
index 1fffd3ba8bcfb6fa9d4d00bb165e88b2346c2c7f..f5d45030fd082fcc962afdc7d52b064435a08152 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: editor.ml,v 1.41 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: editor.ml 7307 2006-01-04 16:55:50Z doligez $ *)
 
 open StdLabels
 open Tk
index 2d72a8e420834233fc5973999962993eabaff9a6..c284bb1056fcdab6d01c76a1178b07288709b78d 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: editor.mli,v 1.5 2001/12/07 13:39:57 xleroy Exp $ *)
+(* $Id: editor.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Widget
 
index 2ee04fb0c58629c4ef6122a55475a6561e23af6e..32e15071addb61cc4b4b9483c06f30317a966215 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: fileselect.ml,v 1.21 2005/01/28 16:13:11 doligez Exp $ *)
+(* $Id: fileselect.ml 6757 2005-01-28 16:13:11Z doligez $ *)
 
 (* file selection box *)
 
index d500ec6182cfe53d164595a7c9d62a34d1903a3a..00a52ac8a8755a9bb6e15272f444a8a650362711 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: fileselect.mli,v 1.7 2002/04/26 12:15:33 furuse Exp $ *)
+(* $Id: fileselect.mli 4745 2002-04-26 12:16:26Z furuse $ *)
 
 val f :
   title:string ->
index dcc594a0b688976f4a1ade14847833d42a1caeff..0a0bbfac73401f0634d1f375680a41808dab36c8 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_bind.ml,v 1.7 2001/12/07 13:39:57 xleroy Exp $ *)
+(* $Id: jg_bind.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Tk
 
index 8fd6090560c90abc95072bab0ff0eff5c0f38452..a3a1907d8ff598ebe55c2aaeb713984925ccaefe 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_bind.mli,v 1.5 2001/12/07 13:39:57 xleroy Exp $ *)
+(* $Id: jg_bind.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Widget
 
index a6c5bafde9dab3b452f166e7a62ec99c566cf300..e62388eb5eab8079e716f58c902ef574a2c66d6e 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_box.ml,v 1.8 2001/12/07 13:39:58 xleroy Exp $ *)
+(* $Id: jg_box.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Tk
 
index bb9603941e284d015520beae13570b7de014584d..0adff9a60001585205dd5e3354e520afbfddd802 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_button.ml,v 1.8 2001/12/07 13:39:58 xleroy Exp $ *)
+(* $Id: jg_button.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Tk
 
index ecc7dfa7873af9531e7e6dfb2287d151822cb8a0..bdf1ea8273a5c076bc074ad169f6b47d3fb53058 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_completion.ml,v 1.10 2001/12/07 13:39:58 xleroy Exp $ *)
+(* $Id: jg_completion.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 let lt_string ?(nocase=false) s1 s2 =
   if nocase then String.lowercase s1 < String.lowercase s2 else s1 < s2
index ead4ba7a548d055e8c26a96b38b6b5e64c0e70c0..2cffc8b8f36c2570896acf2a62826d9395556f9c 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_completion.mli,v 1.6 2001/12/07 13:39:58 xleroy Exp $ *)
+(* $Id: jg_completion.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 val lt_string : ?nocase:bool -> string -> string -> bool
 
index c1aa70c3a6abba33ef05be3240b91e8b2dd2a643..4d456189058cebe57dc29a1110f14551d739cb6d 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_config.ml,v 1.10 2001/12/07 13:39:58 xleroy Exp $ *)
+(* $Id: jg_config.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open StdLabels
 open Jg_tk
index 7548d5b898856638e9a6284dc1a9bc40619cbd67..3e58349076750281b868f54fb4916dbf70fe50a7 100644 (file)
@@ -12,6 +12,6 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_config.mli,v 1.5 2001/12/07 13:39:58 xleroy Exp $ *)
+(* $Id: jg_config.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 val init: unit -> unit
index 5c4640da28b7a479e3374f6b1b9622fc30f7f921..58fa7f2e85a715889bb3991378cca221d6217b12 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_entry.ml,v 1.7 2001/12/07 13:39:58 xleroy Exp $ *)
+(* $Id: jg_entry.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Tk
 
index e5237b724cfb17fa4893044c226468a8dee733e4..abdfe0755feda8b3f8b578d73e1c57a7f71986d5 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_memo.ml,v 1.8 2001/12/07 13:39:58 xleroy Exp $ *)
+(* $Id: jg_memo.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 type ('a, 'b) assoc_list =
     Nil
index 3378683f884ed55826eada14ca3ec588e69439bf..1b9396ee4727347e651da7458fc264dc1d331ea1 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_memo.mli,v 1.7 2001/12/07 13:39:59 xleroy Exp $ *)
+(* $Id: jg_memo.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 val fast : f:('a -> 'b) -> 'a -> 'b
 (* "fast" memoizer: uses a List.assq like function      *)
index 574708a638eee2c97be28c1708fb47f2631c873e..b0ef967c613c907f3a07069fe467bdd52e81415d 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_menu.ml,v 1.9 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: jg_menu.ml 7307 2006-01-04 16:55:50Z doligez $ *)
 
 open Tk
 
index cae25b3b2633a88c6d1fab8924045776d47de820..8925216ece20f72975694af60b9f28382330f857 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_message.ml,v 1.18 2002/07/26 00:04:05 garrigue Exp $ *)
+(* $Id: jg_message.ml 5045 2002-07-26 00:04:05Z garrigue $ *)
 
 open StdLabels
 open Tk
index fa3facc1c9aabe2d1f6275978909e7fcb1f14dcc..6cf581de4c212c330e5ee6800cf93a02bad7ac13 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_message.mli,v 1.10 2002/07/26 00:04:05 garrigue Exp $ *)
+(* $Id: jg_message.mli 5045 2002-07-26 00:04:05Z garrigue $ *)
 
 open Widget
 
index ec1f14880984a55ff54e48ac61f4bcdf936c49b8..94b6334b2f1a30d95c93a95eee430e232ddbfd8f 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_multibox.ml,v 1.11 2001/12/07 13:39:59 xleroy Exp $ *)
+(* $Id: jg_multibox.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open StdLabels
 
index 124d1e5989325fa0ff6da01cc397123c44ced0fb..e122edcf0e61d077aaf279fcfd93bc8671d50da3 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_multibox.mli,v 1.6 2001/12/07 13:39:59 xleroy Exp $ *)
+(* $Id: jg_multibox.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 class c :
   cols:int -> texts:string list ->
index ee1fab9aabf6eab1ce705e733b1e4e9ea05a0898..84dae4d817706f58e0c777912335ace3e5e33bc1 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_text.ml,v 1.11 2002/08/09 10:34:44 garrigue Exp $ *)
+(* $Id: jg_text.ml 5094 2002-08-09 10:34:44Z garrigue $ *)
 
 open StdLabels
 open Tk
index 289c31c0ecfb05b89d2c3df9b45816236b52e307..a498eed60db6355c0614f65c95ba1126f7d755f1 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_text.mli,v 1.7 2001/12/07 13:40:00 xleroy Exp $ *)
+(* $Id: jg_text.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Widget
 
index a4d46322812b2f0c4284706eec92bea10e003062..6441caeb33f78ad08972bac4754e667a8e2f64e2 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_tk.ml,v 1.7 2001/12/07 13:40:00 xleroy Exp $ *)
+(* $Id: jg_tk.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Tk
 
index f53ada2f1b14eb8d2a0175354e880a093908bfe7..c26f76fcd25f0e486171a2290b6944311c2b58cb 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: jg_toplevel.ml,v 1.8 2001/12/07 13:40:00 xleroy Exp $ *)
+(* $Id: jg_toplevel.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Tk
 
index 3e25b238b140360a961997371e3a46cb6cca46e7..3d48ef453922e991d34dea47526fdcae109a6270 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: lexical.ml,v 1.15.32.1 2009/06/08 04:43:32 garrigue Exp $ *)
+(* $Id: lexical.ml 9293 2009-06-08 04:43:32Z garrigue $ *)
 
 open StdLabels
 open Tk
index bbfa5e788743f997914ac272c775ef427c0a35e5..e2a02d2dc5ea53121abc3aebbd13ebb42df088c3 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: lexical.mli,v 1.6 2001/12/07 13:40:00 xleroy Exp $ *)
+(* $Id: lexical.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Widget
 
index 1e012e5410de7a0c9ece34ca1799c86722b5afce..2dd4bb1a42e3d26391860503030a12a77f7cf51f 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: list2.ml,v 1.9 2001/12/07 13:40:00 xleroy Exp $ *)
+(* $Id: list2.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open StdLabels
 
index 653212b434ab5b81a0c28bd713ac86ab1dfcace5..1b7027c706a079301d7ec09d46c9e04a96299e65 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: main.ml,v 1.34 2006/04/16 23:28:21 doligez Exp $ *)
+(* $Id: main.ml 7382 2006-04-16 23:28:22Z doligez $ *)
 
 open StdLabels
 module Unix = UnixLabels
index 233d0ff281dbc0b30826fa130042f272e86a8350..d7eb8856994ad82fa74588cf39093127726baf4b 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: mytypes.mli,v 1.7 2007/05/16 08:21:40 doligez Exp $ *)
+(* $Id: mytypes.mli 8232 2007-05-16 08:21:41Z doligez $ *)
 
 open Widget
 
index 22877350b30884bca0ca44607c6c3a8f409fe232..c787fe003ae5b3d339aece6124101f3235923e8f 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: searchid.ml,v 1.25 2008/07/09 14:03:08 mauny Exp $ *)
+(* $Id: searchid.ml 8907 2008-07-09 14:03:08Z mauny $ *)
 
 open StdLabels
 open Location
index 33ab6a1d5a914dc6137e988cd3528bd0ebadb2d4..07fefec8e3bd08b3447d685bcc0b57cc60bce16a 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: searchid.mli,v 1.6 2002/07/25 22:51:47 garrigue Exp $ *)
+(* $Id: searchid.mli 5044 2002-07-25 22:51:47Z garrigue $ *)
 
 val start_env : Env.t ref
 val module_list : string list ref
index e32ea84bc522c085f77c2e616fcf21f2c6776534..7700ad3edd0298fcd7e560bccace375f35429f49 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: searchpos.ml,v 1.52 2008/07/09 14:03:08 mauny Exp $ *)
+(* $Id: searchpos.ml 8907 2008-07-09 14:03:08Z mauny $ *)
 
 open StdLabels
 open Support
index d04dac6e65cb94c7d6b7e38294140cf1fe5da500..0beb098510f8c7fe79ef96621533a53c1028b18a 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: searchpos.mli,v 1.13 2007/05/16 08:21:40 doligez Exp $ *)
+(* $Id: searchpos.mli 8232 2007-05-16 08:21:41Z doligez $ *)
 
 open Widget
 
index 93bf99bae88820a72e29919a7a36f35c01ec8f99..b7000b85c9f44dc2c5503c75eb9c628bcaa221eb 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: setpath.ml,v 1.16 2002/04/26 12:15:34 furuse Exp $ *)
+(* $Id: setpath.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 open StdLabels
 open Tk
index 6bf8fe1d3299fd16bd17a4dc36dab948ff130af1..2ad7ed8e50332f8a05409fcda1bd3b49c2fcce4a 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: setpath.mli,v 1.6 2001/12/07 13:40:02 xleroy Exp $ *)
+(* $Id: setpath.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Widget
 
index 4afec1e639f082db09805a8c33e4bddd67fbc3b3..5b009b3f30274956e0a1dc6bb094353f9e7fd0af 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: shell.ml,v 1.41 2006/01/18 13:26:03 garrigue Exp $ *)
+(* $Id: shell.ml 7327 2006-01-18 13:26:03Z garrigue $ *)
 
 open StdLabels
 module Unix = UnixLabels
index d5866442a91986757e3793d25d5237f3db3edafe..a2c4c2504e31661a107fff814b4ae297ac091b05 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: shell.mli,v 1.8 2002/07/25 22:51:47 garrigue Exp $ *)
+(* $Id: shell.mli 5044 2002-07-25 22:51:47Z garrigue $ *)
 
 class ['a] history :
   unit ->
index 05b2d9cb11b36329827e9c43c8358a3190437da8..4fa4a4a13b1d614d3bf0a1ee3a708085afb6fe83 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: typecheck.ml,v 1.16.6.1 2009/06/08 04:43:32 garrigue Exp $ *)
+(* $Id: typecheck.ml 9293 2009-06-08 04:43:32Z garrigue $ *)
 
 open StdLabels
 open Tk
index 05a7bd42e28c21926f7a3724dd79f6cfeaeef852..d75691894a01f9ba30de488bf6d06e046675956b 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: typecheck.mli,v 1.5 2001/12/07 13:40:02 xleroy Exp $ *)
+(* $Id: typecheck.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Widget
 open Mytypes
index 7ad96d1a0d10d987f1ed01fa9380dfe68d4b98f7..00ac1fb408facbc511504ec93143f9ad1f65d8cb 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: useunix.ml,v 1.13 2002/08/09 10:34:44 garrigue Exp $ *)
+(* $Id: useunix.ml 5094 2002-08-09 10:34:44Z garrigue $ *)
 
 open StdLabels
 open UnixLabels
index 95ecd723ad8722f3835bbd7e89802a7eb3e7bccc..c0059b807124fdfb4767d72e69412ae605011ca2 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: useunix.mli,v 1.6 2002/08/09 10:34:44 garrigue Exp $ *)
+(* $Id: useunix.mli 5094 2002-08-09 10:34:44Z garrigue $ *)
 
 (* Unix utilities *)
 
index 1c1ba14b95d686cbfe17ab93d1885ca3d8575aee..97511bcf3938e3e9df4b842f8cbc04132d75c6c9 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: viewer.ml,v 1.33 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: viewer.ml 7307 2006-01-04 16:55:50Z doligez $ *)
 
 open StdLabels
 open Tk
index 09ef045b27081cb0b79f1972ff214bf424a08d3a..fdab185b2364a27398014d01e005c67b97187910 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: viewer.mli,v 1.7 2002/07/11 13:49:51 garrigue Exp $ *)
+(* $Id: viewer.mli 4990 2002-07-11 13:49:51Z garrigue $ *)
 
 (* Module viewer *)
 open Widget
index a95e32cc248c944210c0a3012f6341bce3e916f4..3098bdf7e3aa8d9f2e6cca5403b004e73b4cdf5b 100644 (file)
@@ -14,6 +14,6 @@
 (*                                                                       *)
 (*************************************************************************)
 
-(* $Id: LICENSE,v 1.2 2001/12/07 13:40:03 xleroy Exp $ *)
+(* $Id: LICENSE 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 All the files in this directory are subject to the above copyright notice.
\ No newline at end of file
index 865f787fb27627ed3e37fdcf24d19f887234a3a5..d3b194462e842d455bdcddb0bdc9d4fc3886d881 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: compile.ml,v 1.32 2005/01/28 16:13:11 doligez Exp $ *)
+(* $Id: compile.ml 6757 2005-01-28 16:13:11Z doligez $ *)
 
 open StdLabels
 open Tables
index b16338938b0110ff4fbcf82a4205cc3f7bef392d..f1baae3289baaf96e1c01c0c7618b8841c5062b8 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: intf.ml,v 1.20 2002/07/23 14:11:55 doligez Exp $ *)
+(* $Id: intf.ml 5029 2002-07-23 14:12:03Z doligez $ *)
 
 open StdLabels
 
index 248b1b87ec08279bd9ce31ee5bf4e9660c98d547..bc28c1d408840fd8382da85546d85abac99d4fa4 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexer.mll,v 1.14 2002/07/23 14:11:55 doligez Exp $ *)
+(* $Id: lexer.mll 5029 2002-07-23 14:12:03Z doligez $ *)
 
 {
 open StdLabels
index d703c87cd30e6b9634b54d35568ead49a0142fda..817e4b6404d85ecb4fc3c2decb42a7c06798b9c4 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: maincompile.ml,v 1.20 2005/01/28 16:13:11 doligez Exp $ *)
+(* $Id: maincompile.ml 6757 2005-01-28 16:13:11Z doligez $ *)
 
 open StdLabels
 open Support
index 0284cc3d092175872e7df57517cf5521886d87ff..72cca469711eefecbfb745f66e5ad78f1261a395 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: parser.mly,v 1.9 2003/03/27 15:04:44 furuse Exp $ */
+/* $Id: parser.mly 5464 2003-03-27 15:04:44Z furuse $ */
 
 %{
 
index 4904295ad8866df6bc0c716167a178baa4726da5..2ccd0fd14ed78f253dce622a5a1aabf039b0fcc6 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: tables.ml,v 1.20 2002/04/26 12:15:48 furuse Exp $ *)
+(* $Id: tables.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 open StdLabels
 open Support
index 25fab2040f8a65656e77716be32f732c6d62eff9..e8074ae876a84744ab273966fdf159774384ddfc 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: tsort.ml,v 1.12 2002/04/26 12:15:48 furuse Exp $ *)
+(* $Id: tsort.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 open StdLabels
 
index bb80b114a4f67c1d7eef2db9fd31a70124d80cfb..88eaccdaf940409d4cbc020389248a306a19e493 100644 (file)
@@ -1,4 +1,4 @@
-$Id: README,v 1.2 2002/04/26 12:15:57 furuse Exp $
+$Id: README 4745 2002-04-26 12:16:26Z furuse $
 
 Some examples for LablTk.
 They are written in classic mode, except testris.ml which uses label
index 9e1f239ad796bd441964746e02290f0910ff36d3..b334f67b64a00e50bfb8614f1f7efdc5ec14c851 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: calc.ml,v 1.3 2002/10/11 18:56:18 doligez Exp $ *)
+(* $Id: calc.ml 5175 2002-10-11 19:01:19Z doligez $ *)
 
 (* A simple calculator demonstrating OO programming with O'Labl
    and LablTk.
index cdb55888db7c5f945de9f345e3c5d31f4b9d412c..9e5227b9a08d6300233e81d38deb4c5eda788397 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: clock.ml,v 1.2 2002/04/26 12:15:58 furuse Exp $ *)
+(* $Id: clock.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* Clock/V, a simple clock.
    Reverts every time you push the right button.
index 85541be231ca0be10e3ca5925254d7d9bba07ea8..6c9daed881e17fbaa244971c5c07186b037c0439 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: demo.ml,v 1.2 2002/04/26 12:15:58 furuse Exp $ *)
+(* $Id: demo.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* Some CamlTk4 Demonstration by JPF *)
 
index 692d3d641d3a5831d5528280ac793a8caeb425a6..c33f6264f83cfd7bb44a571b3fb06ef8ac7906df 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: eyes.ml,v 1.2 2002/04/26 12:15:58 furuse Exp $ *)
+(* $Id: eyes.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 open Tk
 
index a751e063c4092f6583d37d22c0dba90ea27550b0..4bb4f3a4222426f82258bac72fa39f6c5f4ed2f7 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: hello.ml,v 1.2 2002/04/26 12:15:58 furuse Exp $ *)
+(* $Id: hello.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* LablTk4 Demonstration by JPF *)
 
index a2ccb7a0b32d3f7dee4e012bcab6e78f513f588a..2b2fd6a173a1991f8a221bf8bb90de67feef45b1 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: taquin.ml,v 1.2 2002/04/26 12:15:59 furuse Exp $ *)
+(* $Id: taquin.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 open Tk;;
 
index b9af0d1be0ee47af5a6a6281b05feab9b7677f8e..641909c063b99133339cb4d6b12fba2ee9c8094a 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: tetris.ml,v 1.4 2004/06/12 03:20:00 garrigue Exp $ *)
+(* $Id: tetris.ml 6385 2004-06-12 03:20:00Z garrigue $ *)
 
 (* A Tetris game for LablTk *)
 (* written by Jun P. Furuse *)
diff --git a/otherlibs/labltk/frx/.cvsignore b/otherlibs/labltk/frx/.cvsignore
new file mode 100644 (file)
index 0000000..10301e2
--- /dev/null
@@ -0,0 +1 @@
+*.a
index 4b760fcfa6af6ad448d51c53f1e77211ec6f0f7f..6af349c77c5a19d5ef5e6a2e0d3320d56b9bd207 100644 (file)
@@ -15,7 +15,7 @@
 (***********************************************************************)
 open Camltk
 
-let version = "$Id: frx_entry.ml,v 1.2 2002/04/26 12:16:02 furuse Exp $"
+let version = "$Id: frx_entry.ml 4745 2002-04-26 12:16:26Z furuse $"
 
 (*
  * Tk 4.0 has emacs bindings for entry widgets
index a12d09a8ce728f83556d9dc6b2187a1e1dab1012..83cbffaa77dbe26a73551b490a489e313abb2574 100644 (file)
@@ -15,7 +15,7 @@
 (***********************************************************************)
 open Camltk
 
-let version = "$Id: frx_fileinput.ml,v 1.2 2002/04/26 12:16:03 furuse Exp $"
+let version = "$Id: frx_fileinput.ml 4745 2002-04-26 12:16:26Z furuse $"
 
 (*
  * Simple spooling for fileinput callbacks
index 7948bffaf958371f510950e202e0918f89a457d2..7e28523a0d7cef16fbe41a295acad84c061f597f 100644 (file)
@@ -16,7 +16,7 @@
 open Camltk
 open Widget
 
-let version = "$Id: frx_font.ml,v 1.3 2002/07/23 14:11:56 doligez Exp $"
+let version = "$Id: frx_font.ml 5029 2002-07-23 14:12:03Z doligez $"
 
 (* 
  * Finding fonts. Inspired by code in Ical by Sanjay Ghemawat.
index 61bd5dc9aa6b80b5119859eb160d8c4c6c4f110d..b9447616d84be280cd903ca2c66f1d4e7ffd63ae 100644 (file)
@@ -18,7 +18,7 @@ open Camltk
 open Widget
 
 
-let version = "$Id: frx_lbutton.ml,v 1.2 2002/04/26 12:16:05 furuse Exp $"
+let version = "$Id: frx_lbutton.ml 4745 2002-04-26 12:16:26Z furuse $"
 
 (*
  * Simulate a button with a bitmap AND a label
index 35e610cf54accb7db72108e3ae47a2f1074223a5..bc1c6bded09b593d385b83953b02944d631c76de 100644 (file)
@@ -15,7 +15,7 @@
 (***********************************************************************)
 open Camltk
 
-let version = "$Id: frx_listbox.ml,v 1.3 2002/07/23 14:11:56 doligez Exp $"
+let version = "$Id: frx_listbox.ml 5029 2002-07-23 14:12:03Z doligez $"
 
 (* 
  * Link a scrollbar and a listbox
index 10c55ea49d6844e526fd26390efcf50fbe30f899..29dce64c9748757eef496646ec2802f52481ece8 100644 (file)
@@ -20,7 +20,7 @@ open Camltk
  * jargon).
 *)
 
-let version = "$Id: frx_req.ml,v 1.3 2002/07/23 14:11:58 doligez Exp $"
+let version = "$Id: frx_req.ml 5029 2002-07-23 14:12:03Z doligez $"
 
 (*
  * Simple requester 
index 60f4c82123a77970f618b75118af35719557103b..11b4335c58174c3fab32f34bea6e69c70f6ff5cd 100644 (file)
@@ -15,7 +15,7 @@
 (***********************************************************************)
 open Camltk
 
-let version = "$Id: frx_text.ml,v 1.3 2002/07/23 14:11:58 doligez Exp $"
+let version = "$Id: frx_text.ml 5029 2002-07-23 14:12:03Z doligez $"
 
 (* 
  * convert an integer to an absolute index 
index 534a13f843de8a2e38222933b4afeaa07e21e5aa..cb61fff39af267dc388c16307cb33da8ef09be1d 100644 (file)
@@ -16,7 +16,7 @@
 open Camltk
 open Widget
 
-let version = "$Id: frx_widget.ml,v 1.2 2002/04/26 12:16:10 furuse Exp $"
+let version = "$Id: frx_widget.ml 4745 2002-04-26 12:16:26Z furuse $"
 (* Make a window (toplevel widget) resizeable *)
 let resizeable t =
   update_idletasks(); (* wait until layout is computed *)
diff --git a/otherlibs/labltk/jpf/.cvsignore b/otherlibs/labltk/jpf/.cvsignore
new file mode 100644 (file)
index 0000000..10301e2
--- /dev/null
@@ -0,0 +1 @@
+*.a
index 7caab2d5eec94d7380da580257633d1a9a2f91a7..288e01946aed507662669e4ae0922aa3c3db2719 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: balloon.ml,v 1.15 2002/04/26 12:16:12 furuse Exp $ *)
+(* $Id: balloon.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 open StdLabels
 
index 6bd8bcd7595cade41d1981bee3b3e97dbafdd93d..42a1d107e1f5e60e8541fd35d83821566a3d1dc2 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: balloon.mli,v 1.7 2002/04/26 12:16:12 furuse Exp $ *)
+(* $Id: balloon.mli 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* easy balloon help facility *)
 open Widget
index 0cca53546f8d29ad19832d016fd2bac174e7d3a4..4f04e89451872769bd33be8a0ec4bd3b7768590e 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: balloontest.ml,v 1.8 2002/04/26 12:16:12 furuse Exp $ *)
+(* $Id: balloontest.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 open Tk
 open Widget
index f58c25ddbf42bd23e058a079dc244438636148b5..f03064db544008d82973df4bbb131003a1301399 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: fileselect.ml,v 1.21 2005/01/28 16:13:11 doligez Exp $ *)
+(* $Id: fileselect.ml 6757 2005-01-28 16:13:11Z doligez $ *)
 
 (* file selection box *)
 
index dc2ae04fd3623e4f59ed6417810f7b32b9b9e529..fe8f59451ee3866b0f19e07fb4c856c31f3d88f1 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: fileselect.mli,v 1.7 2002/04/26 12:16:12 furuse Exp $ *)
+(* $Id: fileselect.mli 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* This file selecter works only under the OS with the full unix support.
    For the portability, Tk.getOpenFile and Tk.getSaveFile are recommended. *)
index 80df4415f0cf3af815f0cc35a26719b473a046d3..02d049a4c7799f3535786158865b7012ae514984 100644 (file)
@@ -5,4 +5,4 @@ labltktop labltk mltktop mltk
 modules
 labltk.cma
 labltk.cmxa
-
+*.a
diff --git a/otherlibs/labltk/support/.cvsignore b/otherlibs/labltk/support/.cvsignore
new file mode 100644 (file)
index 0000000..56d9c77
--- /dev/null
@@ -0,0 +1,2 @@
+*.so
+*.a
index ba52fd1ddf5c8d13f1c2ab814a1052cd0fa9403b..e14b6f61886569002f60fdade20f993bea2ddc10 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                       */
 /*************************************************************************/
 
-/* $Id: camltk.h,v 1.13 2008/09/26 07:35:24 garrigue Exp $ */
+/* $Id: camltk.h 9036 2008-09-26 07:35:24Z garrigue $ */
 
 #if defined(_WIN32) && defined(CAML_DLL) && defined(IN_CAMLTKSUPPORT)
 #define CAMLTKextern CAMLexport
index 00a4d0168bb125f214bcecfd7565eefc7e383cec..2f5fe100505fbbdd3d67426d8fe536204ddfd655 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cltkCaml.c,v 1.10 2008/09/26 07:35:24 garrigue Exp $ */
+/* $Id: cltkCaml.c 9036 2008-09-26 07:35:24Z garrigue $ */
 
 #include <tcl.h>
 #include <tk.h>
index 1790e4e7e4220bdef286c4847a3b024f445cf346..7561ec778ed1475fd7dce17f9f22fa0175072d4e 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                       */
 /*************************************************************************/
 
-/* $Id: cltkDMain.c,v 1.7 2008/07/01 09:55:52 weis Exp $ */
+/* $Id: cltkDMain.c 8899 2008-07-01 09:55:52Z weis $ */
 
 #include <unistd.h>
 #include <fcntl.h>
index 9dd212e09d0407a3739975aec743cc1101e97395..08bbd1beb4459f0af0ee35c069505921227b044d 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cltkEval.c,v 1.15 2008/07/01 09:55:52 weis Exp $ */
+/* $Id: cltkEval.c 8899 2008-07-01 09:55:52Z weis $ */
 
 #include <stdlib.h>
 #include <string.h>
index dbda75141840896940a4b55fe0ab3b708b4d67ef..5b875af500834f52681e32f0f9813975855207ee 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cltkEvent.c,v 1.8 2002/04/26 12:16:17 furuse Exp $ */
+/* $Id: cltkEvent.c 4745 2002-04-26 12:16:26Z furuse $ */
 
 #include <tcl.h>
 #include <tk.h>
index 8989d108c2c3219406fb6a74db1019b761bcfb92..ff159ad82c8ba45932e459cd1a5ac7dc24230385 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cltkFile.c,v 1.12 2002/04/26 12:16:17 furuse Exp $ */
+/* $Id: cltkFile.c 4745 2002-04-26 12:16:26Z furuse $ */
 
 #ifdef __CYGWIN__
 #define _WIN32
index f4cf1e0861ca9a85b69a6f850eafaebcd67786d1..1d948a3fb985c18f477c0ec6aa09e12f3586d472 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cltkMain.c,v 1.15 2008/07/01 09:55:52 weis Exp $ */
+/* $Id: cltkMain.c 8899 2008-07-01 09:55:52Z weis $ */
 
 #include <string.h>
 #include <tcl.h>
index 7397da4f256637522834b658e09a3053f9c348c7..8d77fb00c98d35637a0582c2153311bfbda8df11 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cltkMisc.c,v 1.10 2002/07/23 14:11:59 doligez Exp $ */
+/* $Id: cltkMisc.c 5029 2002-07-23 14:12:03Z doligez $ */
 
 #include <string.h>
 #include <tcl.h>
index 3f3efa801a69b8ac4c811968c8ee13f216ee2603..2d31a1ac3807eb9b1fd2917560b3ff600a02f718 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cltkTimer.c,v 1.9 2002/04/26 12:16:19 furuse Exp $ */
+/* $Id: cltkTimer.c 4745 2002-04-26 12:16:26Z furuse $ */
 
 #include <tcl.h>
 #include <tk.h>
index e94c29e2327a096cb905c078b0897ff0aa3820d3..5654c7e5dbec69cf7cbe48468b06fd5bf51b12dc 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cltkUtf.c,v 1.2 2002/04/26 12:16:19 furuse Exp $ */
+/* $Id: cltkUtf.c 4745 2002-04-26 12:16:26Z furuse $ */
 
 #include <stdlib.h>
 #include <string.h>
index 8a8de64e9d2d25dc5a0c2e109122f7be419e4544..d9bbf3cc8356f34a6a4b349ec27d1aaaccaf34be 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cltkVar.c,v 1.9 2002/07/23 14:11:59 doligez Exp $ */
+/* $Id: cltkVar.c 5029 2002-07-23 14:12:03Z doligez $ */
 
 /* Alternative to tkwait variable */
 #include <string.h>
index f194d56af2558c4cf045ad6c7c21cbf652126a8c..eb819b12f733e4913166ca9cf59544b7d192a5db 100644 (file)
@@ -14,7 +14,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cltkWait.c,v 1.9 2002/07/23 14:11:59 doligez Exp $ */
+/* $Id: cltkWait.c 5029 2002-07-23 14:12:03Z doligez $ */
 
 #include <tcl.h>
 #include <tk.h>
index a6ffc8b65fc7106e3e897b64d4d22b1c33e3ce17..6cbac08587619b4cd37be9a8f56920292f97c525 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: fileevent.ml,v 1.12 2002/04/26 12:16:19 furuse Exp $ *)
+(* $Id: fileevent.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 open Unix
 open Support
index 48ed94308e3e3b9978c3e15eea0ad7a28fe16f8d..fa3e8be2275cf08602298a150d3f293928d9dd14 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: fileevent.mli,v 1.7 2002/04/26 12:16:20 furuse Exp $ *)
+(* $Id: fileevent.mli 4745 2002-04-26 12:16:26Z furuse $ *)
 
 open Unix
 
index 79a103c8b80fe904c77fe0cbac6ad20da7dbd50c..636bfefef6a8e02957ef1b1da6ada0e4a68e0298 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: protocol.ml,v 1.21 2005/12/21 05:29:08 garrigue Exp $ *)
+(* $Id: protocol.ml 7283 2005-12-21 05:29:08Z garrigue $ *)
 
 open Support
 open Widget
index 1e419115e79c4bc079e4db30ee3a30b5272f7026..02c3636a451333ee0226066fe0ec3a60da443e34 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: protocol.mli,v 1.12 2005/12/21 05:29:08 garrigue Exp $ *)
+(* $Id: protocol.mli 7283 2005-12-21 05:29:08Z garrigue $ *)
 
 open Widget
 
index 7eb7b4c194b113749f9931da7b65501cf230a356..3e220be71689d5a372943dfb8a84e729b52688fd 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: rawwidget.ml,v 1.3 2002/07/23 14:11:59 doligez Exp $ *)
+(* $Id: rawwidget.ml 5029 2002-07-23 14:12:03Z doligez $ *)
 
 open Support
 
index 9e03dee8041621198601fb2e6659e5dfe07b86a2..d698d118bffd634333dff599e042d8743aad30e2 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: rawwidget.mli,v 1.2 2002/04/26 12:16:20 furuse Exp $ *)
+(* $Id: rawwidget.mli 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* Support for widget manipulations *)
 
index 334088ab1b5f016aa73d7e321dad08eaff2b70df..5e07884242f346f5cf17f1ff743e178c9557281c 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: slave.ml,v 1.5 2002/04/26 12:16:21 furuse Exp $ *)
+(* $Id: slave.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* The code run on initialisation, in addition to normal Tk code
  * NOTE: camltk has not fully been initialised yet
index 1c5994c93aacaa03b083a0a59f7028681636135c..66d65e5146e07d6c34b534234f8fe48653ecc04d 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: support.ml,v 1.9 2002/04/26 12:16:21 furuse Exp $ *)
+(* $Id: support.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* Parsing results of Tcl *)
 (* List.split a string according to char_sep predicate *)
index 8551aed53f0b21a953d745b51ca50a2381f5cdf2..351e5fc25a9691d9467c6c9b7e7a5eb55442c23c 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: support.mli,v 1.8 2002/04/26 12:16:21 furuse Exp $ *)
+(* $Id: support.mli 4745 2002-04-26 12:16:26Z furuse $ *)
 
 val split_str : pred:(char -> bool) -> string -> string list
 val may : ('a -> 'b) -> 'a option -> 'b option
index 087ff87db14d9a82d9935a904c51647d07108354..e6d49bab751f4e2e8e338171680099a141113b9c 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: textvariable.ml,v 1.16 2002/07/23 14:11:59 doligez Exp $ *)
+(* $Id: textvariable.ml 5029 2002-07-23 14:12:03Z doligez $ *)
 
 open Support
 open Protocol
index 7d101bc76e0b5a865333069327c4622fb2e09627..c3a5adaf2f3f56ed5515ddf4e3e14b7995342f54 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: textvariable.mli,v 1.10 2002/04/26 12:16:21 furuse Exp $ *)
+(* $Id: textvariable.mli 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* Support for Tk -textvariable option *)
 open Widget
index 65eb50e70c3c130bb735914d130f87dac7cba6c6..face27c05b86760ee781cc1cfea26183ba8d1614 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: timer.ml,v 1.10 2002/09/12 10:12:26 furuse Exp $ *)
+(* $Id: timer.ml 5128 2002-09-12 10:12:26Z furuse $ *)
 
 (* Timers *)
 open Support
index 435e6e9cb3eee26bacfa8ecd5d4e6a8b87446f72..bf65f6579e682a707376c14c70894bde9611feb2 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: timer.mli,v 1.8 2002/04/26 12:16:21 furuse Exp $ *)
+(* $Id: timer.mli 4745 2002-04-26 12:16:26Z furuse $ *)
 
 type t
 
index d4a03ee21b9b442666d32e528443c40249cddfde..6bcadfd0129562c59f0dc839151c56e9d2a090d8 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: tkthread.ml,v 1.3 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: tkthread.ml 8768 2008-01-11 16:13:18Z doligez $ *)
 
 let jobs : (unit -> unit) Queue.t = Queue.create ()
 let m = Mutex.create ()
index 6fef9129b43a4b1f9d5e4241272340ffc6794cd1..2ee96ec95aa1c56716c2ec3516dc03c2157e576e 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: tkthread.mli,v 1.4 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: tkthread.mli 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (* Helper functions for using LablTk with threads.
    To use, add tkthread.cmo or tkthread.cmx to your command line *)
index 35749666ede08b1498a32b323b50db729a6b9272..3bf095b56f4d70a157b9b924a81cb76e55ad887c 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: tkwait.ml,v 1.7 2002/04/26 12:16:21 furuse Exp $ *)
+(* $Id: tkwait.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 external internal_tracevis : string -> string -> unit
         = "camltk_wait_vis"
index d6320750d3f334bcbe2251c253b54b6766dde2ca..581c879e0634086487f11c5406b7110437c31f5d 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: widget.ml,v 1.16 2002/04/26 12:16:22 furuse Exp $ *)
+(* $Id: widget.ml 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* Hack to permit having the different data type with the same name
    [widget] for CamlTk and LablTk. *)
index 2023579b8dbd59f7d1a92b4fb8306f69ac6ed01c..14b3bdc951e551ae8f389c16e1c946ce2f382ba6 100644 (file)
@@ -14,7 +14,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: widget.mli,v 1.7 2002/04/26 12:16:22 furuse Exp $ *)
+(* $Id: widget.mli 4745 2002-04-26 12:16:26Z furuse $ *)
 
 (* Support for widget manipulations *)
 
index e1c70145f53f6a629a97b4384e437e8a7093ce3a..387840984722523f37e0d6a0598b6c56f0de22f3 100644 (file)
@@ -1,2 +1,4 @@
 gifanimtest
 gifanimtest-static
+*.so
+*.a
index 7786c62f9f0d03e09cd661bd3578a66f0091cc3c..02023cba9ba56bbbe863d4a8cb587f49a27a3ef8 100644 (file)
@@ -1,3 +1,5 @@
 libnums.x
 *.c.x
 so_locations
+*.so
+*.a
index 9c377caf85b91bdd17ac0373fb2a19a3858a3ac4..5c51f55ef55d7ebcc0b71a6462d5799375cfdc43 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.37 2008/09/10 16:10:43 weis Exp $
+# $Id: Makefile 9021 2008-09-10 16:10:43Z weis $
 
 # Makefile for the "num" (exact rational arithmetic) library
 
index 00490e6d781c2df2e1533883434b20d394e4ec59..989686528a9afdc2c76d456a9e09ffb423d5331c 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.22 2007/11/06 15:16:56 frisch Exp $
+# $Id: Makefile.nt 8477 2007-11-06 15:16:56Z frisch $
 
 # Makefile for the "num" (exact rational arithmetic) library
 
index 19103ed9aea45fd8b6b337503fcb040e0eb631e0..4debbcfd6d6a3ada7465ee89a73e6006b3805fb4 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arith_flags.ml,v 1.4 2001/12/07 13:40:14 xleroy Exp $ *)
+(* $Id: arith_flags.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 let error_when_null_denominator_flag = ref true;;
 
index 30e5300c022a598c84dca735a92459eb50f1aa7b..a132ea410fd6493b10d4ea73b66503c599bbea64 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arith_flags.mli,v 1.5 2001/12/07 13:40:14 xleroy Exp $ *)
+(* $Id: arith_flags.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 val error_when_null_denominator_flag : bool ref
 val normalize_ratio_flag : bool ref
index a15b5816f21534abf9b6eb8bec86fa97cface9eb..923ca00e0f077fd96b1392de31428a934a837ab8 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arith_status.ml,v 1.4 2001/12/07 13:40:14 xleroy Exp $ *)
+(* $Id: arith_status.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 open Arith_flags;;
 
index 76300eb8fdc7fe4b59fb8094356a8d7ce703c0c2..aea832461b683be91d4a1f0161a7b7df2410bcf1 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arith_status.mli,v 1.6 2001/12/07 13:40:14 xleroy Exp $ *)
+(* $Id: arith_status.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (** Flags that control rational arithmetic. *)
 
index 669df7739933f35b6cbcee1f7e42220accfa1d1b..71b8e1801fc1e6b94fa4cdca4e379b95d4545033 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: big_int.ml,v 1.24.2.2 2009/05/24 19:46:44 xleroy Exp $ *)
+(* $Id: big_int.ml 9277 2009-05-24 19:46:44Z xleroy $ *)
 
 open Int_misc
 open Nat
index bd477f3983ce5eda18afb9e49de9ccb19c9fc878..6fdb2a5a28d4ec547ff785ca3791a938698261ff 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: big_int.mli,v 1.11 2008/01/04 13:15:52 xleroy Exp $ *)
+(* $Id: big_int.mli 8751 2008-01-04 13:15:52Z xleroy $ *)
 
 (** Operations on arbitrary-precision integers.
 
index 6baf3550679f054825bf902c1e822fc7dc8f4c48..a14502e17e8783bbf199c0ad0d0abba90c4c2b6f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bng.c,v 1.4 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: bng.c 7064 2005-09-22 14:21:50Z xleroy $ */
 
 #include "bng.h"
 #include "config.h"
index d895bf5159035314053b2bf0965c3857c986d194..bc8f4797e1b95beac6ae59927c0e923885534852 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bng.h,v 1.3 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: bng.h 7064 2005-09-22 14:21:50Z xleroy $ */
 
 #include <string.h>
 #include "config.h"
index 94168a38e579823a0bb425bafd0ed04f339a0076..82b21346b59ae657a7aa19c00c568ae19f674ef7 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bng_alpha.c,v 1.1 2003/10/24 09:17:32 xleroy Exp $ */
+/* $Id: bng_alpha.c 5880 2003-10-24 09:18:01Z xleroy $ */
 
 /* Code specific to the Alpha architecture. */
 
index 85ee15e486e0727af37c1b2d1c33f4f605ec3ff3..00a771af85f343aeec52ab021de75e0d2669894b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bng_amd64.c,v 1.1 2003/10/24 09:17:33 xleroy Exp $ */
+/* $Id: bng_amd64.c 5880 2003-10-24 09:18:01Z xleroy $ */
 
 /* Code specific to the AMD x86_64 architecture. */
 
index 0095b439eab30cb8969dceb0b86aa6fb474067fc..bf1da7e713ac3e6c2a049783624c046f0ab535e2 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bng_digit.c,v 1.1 2003/10/24 09:17:33 xleroy Exp $ */
+/* $Id: bng_digit.c 5880 2003-10-24 09:18:01Z xleroy $ */
 
 /**** Generic operations on digits ****/
 
index e19e5dbbddefe6b3c06d11b460447563d93eee8a..35035676ebac7230c0361823310f1184fc8d2453 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bng_ia32.c,v 1.4 2005/08/13 20:59:37 doligez Exp $ */
+/* $Id: bng_ia32.c 7019 2005-08-13 20:59:37Z doligez $ */
 
 /* Code specific to the Intel IA32 (x86) architecture. */
 
index d49b033368840a7f1df7a7eb769370b1c4c1553c..0ee283e99e26e0e6d56c1fafebc7418efbd5f6b1 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bng_mips.c,v 1.1 2003/10/24 09:17:33 xleroy Exp $ */
+/* $Id: bng_mips.c 5880 2003-10-24 09:18:01Z xleroy $ */
 
 /* Code specific to the MIPS architecture. */
 
index 0b4b5c7d3743b6702276c1a6959e86067dd907b4..f566539ec69e36af8bd7bc96f2a6ce23f79401b5 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bng_ppc.c,v 1.3 2006/05/31 08:16:34 xleroy Exp $ */
+/* $Id: bng_ppc.c 7430 2006-05-31 08:16:34Z xleroy $ */
 
 /* Code specific to the PowerPC architecture. */
 
index eb750ae27a24e54855d1c674e75356caa5d4612e..55639f01bf32062e9c4e5c97eb149a42aae6def6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bng_sparc.c,v 1.1 2003/10/24 09:17:34 xleroy Exp $ */
+/* $Id: bng_sparc.c 5880 2003-10-24 09:18:01Z xleroy $ */
 
 /* Code specific to the SPARC (V8 and above) architecture. */
 
index 1c6f1b740d679014cb6d5572b0edf8d6479da99e..1560bf16a36b8661ea5d9583541df1c6fdf9dd6b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: int_misc.ml,v 1.6 2002/05/27 12:06:49 weis Exp $ *)
+(* $Id: int_misc.ml 4845 2002-05-27 12:06:49Z weis $ *)
 
 (* Some extra operations on integers *)
 
index a7b4e10a57131443a1d09d417a61c61daeab752e..d20c56b0c6a41e66b4fb9a6c243d4635e5b10e6d 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: int_misc.mli,v 1.4 2001/12/07 13:40:15 xleroy Exp $ *)
+(* $Id: int_misc.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Some extra operations on integers *)
 
index d8988c7b24f3f9e1cea1f464add17f602c4f8919..98bee6da9b5427c3282d2636f3159a3b03b44244 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: nat.h,v 1.6 2003/10/24 09:17:34 xleroy Exp $ */
+/* $Id: nat.h 5880 2003-10-24 09:18:01Z xleroy $ */
 
 /* Nats are represented as unstructured blocks with tag Custom_tag. */
 
index 36401d93cc6077b887d5863cca3229be31ee3e6d..e1e0ae5802d5d9373ef0b14f30820cfe0525c345 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: nat.ml,v 1.16 2008/01/04 13:15:52 xleroy Exp $ *)
+(* $Id: nat.ml 8751 2008-01-04 13:15:52Z xleroy $ *)
 
 open Int_misc
 
index 68142037a34a436ed9b11faa710968b15fef8138..186239f87a5556bdd2c1181e237bdef15b3b0893 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: nat.mli,v 1.12 2008/01/04 13:15:52 xleroy Exp $ *)
+(* $Id: nat.mli 8751 2008-01-04 13:15:52Z xleroy $ *)
 
 (* Module [Nat]: operations on natural numbers *)
 
index 2318ab3d80a2bd30abeb52c942336f21b6c14cc2..9c69e231d319bbf55c6f8258a4617ec8869ba419 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: nat_stubs.c,v 1.18 2008/01/11 16:13:16 doligez Exp $ */
+/* $Id: nat_stubs.c 9320 2009-07-22 15:36:28Z doligez $ */
 
 #include "alloc.h"
 #include "config.h"
@@ -368,14 +368,24 @@ static uintnat deserialize_nat(void * dst)
 #if defined(ARCH_SIXTYFOUR) && defined(ARCH_BIG_ENDIAN)
   { uint32 * p;
     mlsize_t i;
-    for (i = len, p = dst; i > 0; i -= 2, p += 2) {
+    for (i = len, p = dst; i > 1; i -= 2, p += 2) {
       p[1] = deserialize_uint_4();   /* low 32 bits of 64-bit digit */
       p[0] = deserialize_uint_4();   /* high 32 bits of 64-bit digit */
     }
+    if (i > 0){
+      p[1] = deserialize_uint_4();   /* low 32 bits of 64-bit digit */
+      p[0] = 0;                      /* high 32 bits of 64-bit digit */
+      ++ len;
+    }
   }
 #else
   deserialize_block_4(dst, len);
+#if defined(ARCH_SIXTYFOUR)
+  if (len & 1){
+    ((uint32 *) dst)[len] = 0;
+    ++ len;
+  }
+#endif
 #endif
   return len * 4;
 }
-
index 64eaed0e48004886dbbc95d9843f836973e6b1ac..e6565e02a22c54e4ca2fb5a1cf951396236f7c59 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: num.ml,v 1.8 2008/09/10 16:12:05 weis Exp $ *)
+(* $Id: num.ml 9022 2008-09-10 16:12:05Z weis $ *)
 
 open Int_misc
 open Nat
index cd4d8ea2a056f3826cfc00cf4419248043d0abc3..88cd094b8f967444d150961fafad624e01dbecfe 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: num.mli,v 1.8 2001/12/28 23:15:23 guesdon Exp $ *)
+(* $Id: num.mli 4199 2001-12-28 23:15:23Z guesdon $ *)
 
 (** Operation on arbitrary-precision numbers.
 
index d6c2aff257b44165b733cc1794c29b8ec4501682..672abc347be95c530e62333e789f5c126f719be6 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ratio.mli,v 1.4 2001/12/07 13:40:16 xleroy Exp $ *)
+(* $Id: ratio.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Module [Ratio]: operations on rational numbers *)
 
index 92f6a06fc9596e30d5adad27952db951f7b672ca..7ee8570f9ffcc98e2c41bde9c42fead50e3b1735 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.13 2008/09/10 16:02:52 weis Exp $
+# $Id: Makefile 9019 2008-09-10 16:02:52Z weis $
 
 include ../../../config/Makefile
 
index 3cb2e9c74de914046503801e66179258380e1eba..2858ee21778a9a71e4a8eb48a88b9ca49ec32895 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.9 2004/04/01 13:10:12 xleroy Exp $
+# $Id: Makefile.nt 6180 2004-04-01 13:10:12Z xleroy $
 
 include ../../../config/Makefile
 
index 7679f093bc669f3409467811ee952af7558fa709..2d6a6e808827730e8c0cb18f0b29abde724ef771 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: test_bng.c,v 1.2 2003/11/07 07:59:10 xleroy Exp $ */
+/* $Id: test_bng.c 5900 2003-11-07 07:59:10Z xleroy $ */
 
 /* Test harness for the BNG primitives.  Use BigNum as a reference. */
 
index a37b133d05e8e7bb69ac387e91e38afd694c956d..49c78e582cdfef175cc3b15f3f57d44447bad5d5 100644 (file)
@@ -1,3 +1,5 @@
 libstr.x
 *.c.x
 so_locations
+*.so
+*.a
index 37388459e5a3c7ad41005b0db701f3e0161230e8..79ce0e571118949e5eef978c2cecaf0e9e650a61 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.35 2007/11/06 15:16:56 frisch Exp $
+# $Id: Makefile 8477 2007-11-06 15:16:56Z frisch $
 
 # Makefile for the str library
 
index d99abe2185cb72ae7eeb26e99b0ce31db0702f0e..34340739ab36f66791d5a78cf189460e65f5c2a9 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.16 2007/11/06 15:16:56 frisch Exp $
+# $Id: Makefile.nt 8477 2007-11-06 15:16:56Z frisch $
 
 # Makefile for the str library
 
index a84535292dd809ee416defce4e9242c900da2d4c..16832c7d27e87716bad97ffeec610153c578b9c0 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: str.ml,v 1.22.2.1 2008/12/12 08:54:15 xleroy Exp $ *)
+(* $Id: str.ml 9157 2008-12-12 08:54:15Z xleroy $ *)
 
 (** String utilities *)
 
index 03c741d7673a255003b055c2e64980118c46acfc..89d021e0d028123bf41c547c33a296d0dc750083 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: str.mli,v 1.24 2005/03/24 17:20:53 doligez Exp $ *)
+(* $Id: str.mli 6824 2005-03-24 17:20:54Z doligez $ *)
 
 (** Regular expressions and high-level string processing *)
 
index f4148d4c7097803f45cab5af3059a81af475c47d..5c1d8cad89588e393c8d8d897de8f4b9bd9da9a2 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: strstubs.c,v 1.27 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: strstubs.c 7064 2005-09-22 14:21:50Z xleroy $ */
 
 #include <string.h>
 #include <ctype.h>
index b175e39d68035dd3f1b936bae1e4f7f985e1fa0b..1f1e6a3877eecc27e27bf56f7ef7c9ffe056ee16 100644 (file)
@@ -1,3 +1,5 @@
 *.x
 thread.ml
 so_locations
+*.so
+*.a
index 2a768573e752fcd3f56c4bb29831d41d17666d26..7887f03bc14113c3734e56990ff1eaee77fe1e26 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.44 2008/07/15 15:31:32 frisch Exp $
+# $Id: Makefile 8916 2008-07-15 15:31:32Z frisch $
 
 include ../../config/Makefile
 
index b762ec9c2b7dc40b7b9b259244a9f2c2d0057f18..c9c0129ad29d59a152bb04fa9ec3ce638daca346 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.31 2007/11/06 15:16:56 frisch Exp $
+# $Id: Makefile.nt 8477 2007-11-06 15:16:56Z frisch $
 
 include ../../config/Makefile
 
index 08f64568f16153672e347ef78abbc153090b39cc..480556960a059accc0c8f8fe3bbc74ccb132da8c 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: condition.ml,v 1.6 2001/12/07 13:40:18 xleroy Exp $ *)
+(* $Id: condition.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 type t
 external create: unit -> t = "caml_condition_new"
index 3edd9029beda94f187f89d0574ce62c1eb1a34e8..98dce638623d16deb9595724f0ae23e797b8e352 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: condition.mli,v 1.6 2001/12/07 13:40:19 xleroy Exp $ *)
+(* $Id: condition.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (** Condition variables to synchronize between threads.
 
index 174160c11a356b65851d999106caa44ce4bb716e..8d4a1c4e19b8aaeebb8d8dbdc6f2797c27f95356 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: event.ml,v 1.9 2001/12/07 13:40:19 xleroy Exp $ *)
+(* $Id: event.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Events *)
 type 'a basic_event =
index 672fb78f2ef8a8da00a0f0e2064cca6e6fac3445..882ad8891e91f286570d09e062d2b91a4248c81d 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: event.mli,v 1.10 2006/01/12 03:24:56 garrigue Exp $ *)
+(* $Id: event.mli 7322 2006-01-12 03:24:56Z garrigue $ *)
 
 (** First-class synchronous communication.
 
index 4933f458a57fc191565e2052fb86d05bee6680b4..a7d1795ab10f7907013c530e66d90ba9f205581c 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: mutex.ml,v 1.4 2001/12/07 13:40:19 xleroy Exp $ *)
+(* $Id: mutex.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 type t
 external create: unit -> t = "caml_mutex_new"
index 33bccae3d2c366431b365629839b3607835e8504..83c11bba9feae024206446e95bff4350631384b2 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: mutex.mli,v 1.6 2001/12/07 13:40:19 xleroy Exp $ *)
+(* $Id: mutex.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (** Locks for mutual exclusion.
 
index 89a0b524088937bcf3c2e054b69e20a91f1d43ed..33f3b91e22c2deb0fb8a00e0d679ac7eb53ee567 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: posix.c,v 1.58.2.2 2009/03/28 17:35:59 xleroy Exp $ */
+/* $Id: posix.c 9201 2009-03-28 17:35:59Z xleroy $ */
 
 /* Thread interface for POSIX 1003.1c threads */
 
index 85fb16063580d3e5fb3b5037de161c63316e160e..a7a81bbb85b14da348badba80d692d1376c5c4c8 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: thread.mli,v 1.21 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: thread.mli 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (** Lightweight threads for Posix [1003.1c] and Win32. *)
 
index b83f59757610e3b055309bbf86a443a589a4507c..5b3fcfa54bc2994445f7c5a30e8a93075493339e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: threadUnix.ml,v 1.8 2001/12/07 13:40:20 xleroy Exp $ *)
+(* $Id: threadUnix.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Module [ThreadUnix]: thread-compatible system calls *)
 
index fb1e67ac220a77c72229adb32a84386f1154919d..bd03bad69deaf51b8d96ff5d946bb7d7a8284009 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: threadUnix.mli,v 1.19 2002/06/26 09:48:00 xleroy Exp $ *)
+(* $Id: threadUnix.mli 4951 2002-06-26 09:48:00Z xleroy $ *)
 
 (** Thread-compatible system calls.
 
index e362fa305d9907f0046a6a314968e328759d64c4..7c0179757c662fc0ef2a9388fb4613a44fd8543c 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: thread_posix.ml,v 1.10 2005/07/31 12:32:41 xleroy Exp $ *)
+(* $Id: thread_posix.ml 7000 2005-07-31 12:32:41Z xleroy $ *)
 
 (* User-level threads *)
 
index 008fa0681a36f5c6ce56d5f0dd4b6b46fee7975b..6cd8690e93a67d631978e50b0e1fd35a46752d49 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: thread_win32.ml,v 1.9 2005/07/31 12:32:41 xleroy Exp $ *)
+(* $Id: thread_win32.ml 7000 2005-07-31 12:32:41Z xleroy $ *)
 
 (* User-level threads *)
 
index a84122cf2a2cc69727bff5be87d77c753fa4debc..3875e4a6b8a7eb3acdcdbb7c5e8949b9805ecb73 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: win32.c,v 1.45 2007/10/31 09:12:29 xleroy Exp $ */
+/* $Id: win32.c 8468 2007-10-31 09:12:29Z xleroy $ */
 
 /* Thread interface for Win32 threads */
 
index fb2df562de7356863ce6ab3fc75965be843982a0..c17596c7d06889b5db6fc0e3d2a60b4a53a348f8 100644 (file)
@@ -1,3 +1,5 @@
 marshal.mli
 pervasives.mli
 unix.mli
+*.so
+*.a
index 6453f02d3724c25119b02bbc8de11eaded8821eb..94128849a01413e9c071d2db18d08ec09a5ebcc3 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.61.2.1 2008/10/08 13:07:13 doligez Exp $
+# $Id: Makefile 9079 2008-10-08 13:09:39Z doligez $
 
 include ../../config/Makefile
 
index d6c6d4265b0a1f5d5731fead7947686f49df4aec..cb6b05c826803c6dbfa98bc2c41500dcc0b4026b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: condition.ml,v 1.8 2001/12/07 13:40:21 xleroy Exp $ *)
+(* $Id: condition.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 type t = { mutable waiting: Thread.t list }
 
index c54a3c27d3e425e86069fd2ba7630078aef820a1..98dce638623d16deb9595724f0ae23e797b8e352 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: condition.mli,v 1.13 2001/12/07 13:40:21 xleroy Exp $ *)
+(* $Id: condition.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (** Condition variables to synchronize between threads.
 
index 7fb5d53f4c3bb23467af66c82b0747a6d5d8bbc7..8d4a1c4e19b8aaeebb8d8dbdc6f2797c27f95356 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: event.ml,v 1.14 2001/12/07 13:40:21 xleroy Exp $ *)
+(* $Id: event.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Events *)
 type 'a basic_event =
index 07e1bc90480d7e7c595b1b87e60854894fb703da..882ad8891e91f286570d09e062d2b91a4248c81d 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: event.mli,v 1.15 2006/01/12 03:24:56 garrigue Exp $ *)
+(* $Id: event.mli 7322 2006-01-12 03:24:56Z garrigue $ *)
 
 (** First-class synchronous communication.
 
index 59f4cff58d879aa4154926ade77201025a3ff9b1..90fc903b2949b75049dd8571828b844dc8ccaaa6 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: marshal.ml,v 1.9 2004/05/27 15:28:05 doligez Exp $ *)
+(* $Id: marshal.ml 6338 2004-05-27 15:28:05Z doligez $ *)
 
 type extern_flags =
     No_sharing
index 3522a9d8b5cce60d4a3d0af15fd1c41d05981962..5b2e189b4817f1d1e5c8022ecde4d4d23f998e8a 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: mutex.ml,v 1.8 2001/12/07 13:40:22 xleroy Exp $ *)
+(* $Id: mutex.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 type t = { mutable locked: bool; mutable waiting: Thread.t list }
 
index 1ce82697e60614bfbb1c928a369a81ac0e528704..83c11bba9feae024206446e95bff4350631384b2 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: mutex.mli,v 1.11 2001/12/07 13:40:22 xleroy Exp $ *)
+(* $Id: mutex.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (** Locks for mutual exclusion.
 
index cb8593eb914c90c361cdc70c1fe0b0ef673e1631..98ae5df5066f257d751bb2a168509ba09709a832 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: pervasives.ml,v 1.52 2007/02/25 12:37:30 xleroy Exp $ *)
+(* $Id: pervasives.ml 7918 2007-02-25 12:37:30Z xleroy $ *)
 
 (* Same as ../../stdlib/pervasives.ml, except that I/O functions have
    been redefined to not block the whole process, but only the calling
index 36111313c3f882145ecfa0798d4237a5048f28b3..0580b2d37405a6df6f18a72a583e1e0a01f5f340 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: scheduler.c,v 1.60 2005/09/22 14:21:50 xleroy Exp $ */
+/* $Id: scheduler.c 7064 2005-09-22 14:21:50Z xleroy $ */
 
 /* The thread scheduler */
 
index 611cb0694957d8d5ea3f6e06a478b4f97100c1be..c7df37cb2da757343d03c8fc686753aad315f0b4 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: thread.ml,v 1.23 2003/03/20 16:23:04 xleroy Exp $ *)
+(* $Id: thread.ml 5445 2003-03-20 16:23:04Z xleroy $ *)
 
 (* User-level threads *)
 
index da687a531e8412a371127b0cabdcdfd61b245a90..4ea8e35d50d666677fad02170b236c8177300f51 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: thread.mli,v 1.28 2004/07/13 12:25:13 xleroy Exp $ *)
+(* $Id: thread.mli 6553 2004-07-13 12:25:21Z xleroy $ *)
 
 (** Lightweight threads. *)
 
index a2d697a840519e542b3105848a1a8d6e09374b30..9831db7e3f585ef75ff20be922fef1871fb4c29c 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: threadUnix.ml,v 1.19 2004/07/13 12:25:13 xleroy Exp $ *)
+(* $Id: threadUnix.ml 6553 2004-07-13 12:25:21Z xleroy $ *)
 
 (* Module [ThreadUnix]: thread-compatible system calls *)
 
index 4bf00c93354808a45490c1249e7b7e0f5de60c4e..0d45884b5fab1d4cf95fbfbad8771caeb1b7e45f 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: threadUnix.mli,v 1.22 2004/07/13 12:25:14 xleroy Exp $ *)
+(* $Id: threadUnix.mli 6553 2004-07-13 12:25:21Z xleroy $ *)
 
 (** Thread-compatible system calls.
 
index 247cb1095fd8f7bca03facf9ac6e66d000703e23..6343b488df3b4d36a55800daf981764f96ffe476 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: unix.ml,v 1.22 2008/08/01 16:29:44 mauny Exp $ *)
+(* $Id: unix.ml 8972 2008-08-01 16:29:44Z mauny $ *)
 
 (* An alternate implementation of the Unix module from ../unix
    which is safe in conjunction with bytecode threads. *)
index 074dd28a45716292db5ff0ea7ff7a86667da4a68..29fea4726447c9a7972bc6b2f3dc35289f6dbc31 100644 (file)
@@ -1 +1,3 @@
 so_locations
+*.so
+*.a
index 8b08519698470ac5862d3c1253a781b259843e87..d7211e883f7ae52dff212b0132e6f336e8c46030 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.46 2007/11/06 15:16:56 frisch Exp $
+# $Id: Makefile 8477 2007-11-06 15:16:56Z frisch $
 
 # Makefile for the Unix interface library
 
index 26fe03bb4d85e5fed6af12527712d48da09ddbb9..64152a5249695c079bffc4fa999b3d2f14f702a7 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: accept.c,v 1.13 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: accept.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 52d3c7c0ce7ade8c18cf0df2529189819ae40e99..f0c07ac765e7c8f6ff8af585d671585d0ddcc607 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: access.c,v 1.12 2008/01/11 16:13:16 doligez Exp $ */
+/* $Id: access.c 8768 2008-01-11 16:13:18Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index ab2985f7e939921e903ce50510560033aea20893..2fb125b9148d57012241ca298a3d2f9360d73bee 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: addrofstr.c,v 1.11 2004/04/09 13:25:20 xleroy Exp $ */
+/* $Id: addrofstr.c 6193 2004-04-09 13:25:23Z xleroy $ */
 
 #include <mlvalues.h>
 #include <fail.h>
index 75a5d512c86ac04f88687e1b6ede8ba2c8f764ef..2cf2d019ff95d791ffeb0656be4c24a722535900 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: alarm.c,v 1.8 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: alarm.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index ccfa32a0f5a372a76af6a1960ff80793de90a233..c02c68836434cd587736ead36df3d95c0b5b4d74 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bind.c,v 1.10 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: bind.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index 4b66cc57e2f2bb113c4eac37139fe2a012e5fc2d..520891aea7a89d6d569f0c6d87d2b6ee06f8bcda 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: chdir.c,v 1.8 2001/12/07 13:40:24 xleroy Exp $ */
+/* $Id: chdir.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index a85db5e3840625fe6bdc36a069e5a5459a8a882f..443d54b6b58c5cd2259e22323cc1ff1baa8611ac 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: chmod.c,v 1.9 2001/12/07 13:40:26 xleroy Exp $ */
+/* $Id: chmod.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <sys/types.h>
 #include <sys/stat.h>
index 0ef4eada43c3a0391da6dd197b5f914fff8f21cb..15d89d5e3d792ff848184617078b2c39ae8c759c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: chown.c,v 1.8 2001/12/07 13:40:26 xleroy Exp $ */
+/* $Id: chown.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 69e6b4279d74d9fd2640dce40f6c7e6efe6da771..2ad88d44f3ec5ed0921b2891baccce0efe7ef192 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: chroot.c,v 1.8 2001/12/07 13:40:26 xleroy Exp $ */
+/* $Id: chroot.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 17f7344e18279d6ff77574f726c12317357eabd5..043d3c746a696a719b624e3a1797974bbd67487b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: close.c,v 1.10 2001/12/07 13:40:26 xleroy Exp $ */
+/* $Id: close.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 1cb6055322397946cd9661c64e8b835c0a55aecc..a0ac51919f68c2b8917b87218b8674886b96fce8 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: closedir.c,v 1.9 2004/02/14 10:21:22 xleroy Exp $ */
+/* $Id: closedir.c 6113 2004-02-14 10:21:23Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 8c10253a6c8eb221f6d4c83f6e8a176d3e8b33ea..de0008ab0f992dc65cd862419020c7763ab296c6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: connect.c,v 1.12 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: connect.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index e85d9c9f829b8ca73872a5c08fd7c700217e382e..782ceed148b3342429d1af30770770d7818fa03a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cst2constr.c,v 1.7 2001/12/07 13:40:26 xleroy Exp $ */
+/* $Id: cst2constr.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include <fail.h>
index c6785e165fbf42befd4f9c0cdc827ffe3ca2d95b..d404b00744e5c407315aac3d879a6cfaef72d2d5 100644 (file)
@@ -11,6 +11,6 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cst2constr.h,v 1.7 2004/04/09 13:25:21 xleroy Exp $ */
+/* $Id: cst2constr.h 6193 2004-04-09 13:25:23Z xleroy $ */
 
 extern value cst_to_constr(int n, int * tbl, int size, int deflt);
index a823f4f96e55c8d74d906e814915501b45160287..e4438b190cee343fc4716cf9f52bf7e430feb4b8 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: cstringv.c,v 1.7 2001/12/07 13:40:27 xleroy Exp $ */
+/* $Id: cstringv.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include <memory.h>
index 5829d814c3a6f4c91497353f21c346759be70a45..2a2e0099163faf049939444a47e9eea6bc8e187a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: dup.c,v 1.8 2001/12/07 13:40:27 xleroy Exp $ */
+/* $Id: dup.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 8b4808f8cbc13c19d8bc602aa70666b453e5c703..dec473e7b4034e0aac9d42156b9dadb6a9a14c39 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: dup2.c,v 1.9 2001/12/07 13:40:27 xleroy Exp $ */
+/* $Id: dup2.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 29932c531a1f6eec3f2e89614d7190f655512efd..b0291e889f69229ed1604671bc9437a4ca34584b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: envir.c,v 1.10 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: envir.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index a642779ef7056179c98a8f91adadc6eb39e8f3ae..d1cd5a6e3187ed40f1e637af33f2fa5026fef428 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: errmsg.c,v 1.12 2004/05/23 15:53:50 xleroy Exp $ */
+/* $Id: errmsg.c 6315 2004-05-23 15:53:50Z xleroy $ */
 
 #include <errno.h>
 #include <string.h>
index 30163cd05458a925c3fb96bd47cb04218622815c..4ccc7887522293add20b1c6e35b990ad799e05c9 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: execv.c,v 1.8 2001/12/07 13:40:27 xleroy Exp $ */
+/* $Id: execv.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include <memory.h>
index a8d8101db34b99108a27df9a3b51a157c0ace733..9aad005f3b0debf93568cededd7f2ac4f810353b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: execve.c,v 1.8 2001/12/07 13:40:27 xleroy Exp $ */
+/* $Id: execve.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include <memory.h>
index e2f648957a419258fdf2ea1a07a752d7f4ac3af4..04555a7387b540d48a32684734793aaa47061144 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: execvp.c,v 1.8 2001/12/07 13:40:27 xleroy Exp $ */
+/* $Id: execvp.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include <memory.h>
index 37fdab6d2412881c4a0635b25a782d1b4f65ccb6..21e2217efa9e529ecc59fc01c46511a492a99e7f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: exit.c,v 1.9 2001/12/07 13:40:28 xleroy Exp $ */
+/* $Id: exit.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 857ad47f895eb1eca818e96dd117347d8f0b6561..76111409f8508a8f46a75a128f0714cfa32a649a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: fchmod.c,v 1.10 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: fchmod.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <sys/types.h>
 #include <sys/stat.h>
index e2e5cf6b341a5dd314958d513784e0e0aaa0edff..c2edb06ce95922e23c7a0eeca3d276113ac80005 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: fchown.c,v 1.9 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: fchown.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index b020b5ab67186f308ca06728217fcbb56747ff88..9cb6dca2cb572bb757b46eb592767e2f99df9b30 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: fcntl.c,v 1.12 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: fcntl.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index 8e6828febab9c059e63309ebd7a9fe35dcbaeef5..d4f3dc133bda0eaf6ce472509b327aeada853b27 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: fork.c,v 1.8 2001/12/07 13:40:28 xleroy Exp $ */
+/* $Id: fork.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 8830ad73063330c77c243b46548189b27ad24cdf..51560cc3888128aac4abc55f8a8bf8173f64e671 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: ftruncate.c,v 1.11 2007/02/09 13:31:15 doligez Exp $ */
+/* $Id: ftruncate.c 7849 2007-02-09 13:31:15Z doligez $ */
 
 #include <sys/types.h>
 #include <fail.h>
index fb5ecd814b09e9b8f03b7d2ad9adcee2ab582244..e390d18bf89a0e4c0d35fb3e0912c9e28190f34a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getaddrinfo.c,v 1.3 2005/08/13 20:59:37 doligez Exp $ */
+/* $Id: getaddrinfo.c 7019 2005-08-13 20:59:37Z doligez $ */
 
 #include <string.h>
 #include <mlvalues.h>
index 9826c10b011324b688dbe3c7c393689753f6ca6b..a8c5b99ba9d25f3a1c2178e1959aa4f79a0d8851 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getcwd.c,v 1.15 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getcwd.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index a5e4daaceba8c83658850f56685404c8b673245d..c76544bfb40ede084835f10ef23199305146ce78 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getegid.c,v 1.9 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getegid.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index f535f643019d18f03fe67fcb4b3ebff68d36ec08..7b5fe2b27756634b9dd7fe0b1a19b6bf549a1505 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: geteuid.c,v 1.9 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: geteuid.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index ff544b45394c516c573a20b68aa68ca13ad52351..d2f8f4ba4a862b9a805b6a50596dd34bc3d01232 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getgid.c,v 1.9 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getgid.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 62fb8ee6f2b06ad25a41bb7b8ef4f2a4033a172b..1c61da1141aebcde3b02da8897310ba706e6c7e6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getgr.c,v 1.12 2001/12/07 13:40:29 xleroy Exp $ */
+/* $Id: getgr.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include <fail.h>
index ee733f43c3a6eb10349428907443cc64da05400d..ed07c8c6f5324ddf75523c267fa48ef08c5c8f8e 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getgroups.c,v 1.11 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getgroups.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index e5be259402b4e122fc1e6b13c6ad794422846ba6..714b5a7e83040fab39a613409af7813d5850ea3f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: gethost.c,v 1.27 2006/09/20 11:14:37 doligez Exp $ */
+/* $Id: gethost.c 7619 2006-09-20 11:14:37Z doligez $ */
 
 #include <string.h>
 #include <mlvalues.h>
index 9593f950927c02f0519be3c585ddf1d5f00377dd..9f8c7c099ec1c1d2bce0afcef085457ad7d4cab0 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: gethostname.c,v 1.11 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: gethostname.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index c0adb59f68e74f8bd067320543efe5d12ea8114e..afd3e2c8f9654ef4a6cfafcef94ce27a21646d6c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getlogin.c,v 1.9 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getlogin.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 20742a04b8aa790487f5f6190213f5cc293f2858..8a49909efd37b8065f2c9112a4c422c7aa766df7 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getnameinfo.c,v 1.2 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getnameinfo.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <string.h>
 #include <mlvalues.h>
index 6985f0fbd026c604509c07078aa2d8b3f6a2a7d6..e2d3463a5873e46c5080f6d70031218707165fc4 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getpeername.c,v 1.11 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getpeername.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index 01ab422bf3c91213b6cc6dc8f46224f35afd0a46..891cc83fde88e03c21015d9ce1a6d3d2bae5653f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getpid.c,v 1.9 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getpid.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index af798ecb77382f2f67fa09bf11875fcb6e519c45..511e3f6d71e9e306bfd0de593efc2cd7e2dd1396 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getppid.c,v 1.9 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getppid.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 739075052d9295cc66ff40ea924ba9acdd93b659..696cb34e0471f603c88463763a52eb88713620c2 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getproto.c,v 1.13 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getproto.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 5aa9f6cb3ccc283708c83b87abff33bae985d03d..d250cb8fcc87ddc1ee854a026c7b63f14a677335 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getpw.c,v 1.12 2001/12/07 13:40:30 xleroy Exp $ */
+/* $Id: getpw.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index bec48ceb9e049bd5fd4b0014b1585b1cebd45f95..55e13444fd04d90fdf9e1c8b8ec527d7a57fa223 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getserv.c,v 1.14 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getserv.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 5d93af7fe312ae9ee34f649be6aec15f2d129127..263cdd902b30e17f5a27a12bca6f2a3ca552be4a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getsockname.c,v 1.10 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getsockname.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index 6b6ea9d574687efb1c60e754602e6bac62617ce3..0575b2b24e03a8199993bdd08327bf569c28a656 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: gettimeofday.c,v 1.8 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: gettimeofday.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 9acbc9af76aad539092653972d48311d60f6cdda..a6f0efae8715a2b6eb66ad2336d96ac007e7946d 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getuid.c,v 1.9 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getuid.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index b6d2091dca1d584416b3d4fc69bfe52cded77a11..701a6fe311b8f69186c0a552012175f10c6a96e0 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: gmtime.c,v 1.17 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: gmtime.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 9d651aadee729ee52db6b11cf6e738bfc323c463..3b913bfd65e7ee8eb9a2ae307722c541a94465a4 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: isatty.c,v 1.1 2006/09/21 13:54:26 xleroy Exp $ */
+/* $Id: isatty.c 7632 2006-09-21 13:54:26Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 4b96214d46e0cab4d5ce9bbd4f1d3e67cf417e7d..f6ecb8b35aaac64926b8cea02b8bd45ddc05d886 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: itimer.c,v 1.14 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: itimer.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 0a08f4506523c62d57a90fb65c0d044ded0e0150..78956d48d8f0bb02bab878e3b2cc48c284978ae8 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: kill.c,v 1.10 2001/12/07 13:40:31 xleroy Exp $ */
+/* $Id: kill.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include <fail.h>
index 81e78c0c4311b50a4730838ade44efe40ef1f3cc..d24da919a253614ed02e301d37ee90081d7d24e7 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: link.c,v 1.8 2001/12/07 13:40:31 xleroy Exp $ */
+/* $Id: link.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 215e6d53a6beaf0c09512f8dd8d831a176bb875d..cda2943e04eff8a05ca4b7372d42e85b23f14ce9 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: listen.c,v 1.11 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: listen.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index 12f16736d3089b1d407f240a1ee009358159e576..d3a12d36f0cee0d743412e9958056340bcdc9730 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: lockf.c,v 1.14 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: lockf.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <errno.h>
 #include <fcntl.h>
index 14ba24b761844535b5f4761eb16a5f5597637601..8d8d40c99f39305dce485e325d0af89ec674acc4 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: lseek.c,v 1.10 2002/03/02 09:16:36 xleroy Exp $ */
+/* $Id: lseek.c 4474 2002-03-02 09:16:39Z xleroy $ */
 
 #include <errno.h>
 #include <sys/types.h>
index 469f688b8aad8b3ed9497db9fe940a54060735fa..fc1606e9731c75716e8f66e5c4fdec4f5910338c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: mkdir.c,v 1.9 2001/12/07 13:40:31 xleroy Exp $ */
+/* $Id: mkdir.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <sys/types.h>
 #include <sys/stat.h>
index 81c62ed3b7ad2114d0ddd8dd50563a4f83a70bd1..8f2cfac5d9f34606f1a245f6c9a2f46dd2bd95cf 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: mkfifo.c,v 1.11 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: mkfifo.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <sys/types.h>
 #include <sys/stat.h>
index c784ce82975809945f2abbac472b235995c886ee..5dc4caa746eacbedb6d0f7f7bc7a22bcc3fe0239 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: nice.c,v 1.11 2008/08/01 13:14:36 xleroy Exp $ */
+/* $Id: nice.c 8967 2008-08-01 13:14:36Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index aa66604217ec3bfaac78d710feee43c5abffca4a..c734e17341a27f03f85f6a818a46a4dd80646389 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: open.c,v 1.12 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: open.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 467316a3afcbe2c1ff575d09f7caf5c2be12094a..a548230812429c6a9ef948320b259512cbe42d77 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: opendir.c,v 1.9 2004/02/14 10:21:22 xleroy Exp $ */
+/* $Id: opendir.c 6113 2004-02-14 10:21:23Z xleroy $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 04b6023c1a5a6f31a7ef847b669bdad7ddbd5118..438b1332b8658d115f27f79f808937a142909e3d 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: pipe.c,v 1.10 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: pipe.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index f3d10aab73b3d643e99ffae6b305c18935781ff0..148d8fee38a504b14388abc528464f65a5acea83 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: putenv.c,v 1.9 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: putenv.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <stdlib.h>
 #include <string.h>
index d68bb629b523a705099d5f2c23fd19af5074d591..4479f6fc4af258ea9de8a3bd85ce6c8b44375e87 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: read.c,v 1.13 2001/12/07 13:40:32 xleroy Exp $ */
+/* $Id: read.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <string.h>
 #include <mlvalues.h>
index 786a21f067f27cb17ca732ed8f70ec07e28ec306..e7feb611c60493e2eecea70bb7a8d9286f949f53 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: readdir.c,v 1.12 2004/02/14 10:21:23 xleroy Exp $ */
+/* $Id: readdir.c 6113 2004-02-14 10:21:23Z xleroy $ */
 
 #include <mlvalues.h>
 #include <fail.h>
index 980cee0c0faab20d659557d213809651359eff59..7544eb7e0101d48ffda5c9cd70af6f5debf36db1 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: readlink.c,v 1.11 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: readlink.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 26a24945b03e47e0dcc5aefbc3037b26349bf25f..dac48a47988a993c2363a1e736bc629cf760b42a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: rename.c,v 1.10 2001/12/07 13:40:33 xleroy Exp $ */
+/* $Id: rename.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <stdio.h>
 #include <mlvalues.h>
index 6052b96e0f278b041290a8635add6667e0e046b3..61ce6af58f45f95a4272c064497294722473a352 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: rewinddir.c,v 1.12 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: rewinddir.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index fe855b667430cae63ef37e29879ca670cf2e6e97..79d27c54ffb01cbd2ec6cf1a7667776ac5d2ba7c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: rmdir.c,v 1.9 2001/12/07 13:40:33 xleroy Exp $ */
+/* $Id: rmdir.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 28dd8d96887bed7dc0767c8ccb0fd9497d27082b..5b63d27399f25b6d716d39bcd808751563d5e768 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: select.c,v 1.22 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: select.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 66d2eff4623ec087dc6490f691fac9271998256e..bce164b64c0d2a22d69f8d6d0b060d20f894861c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sendrecv.c,v 1.19 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: sendrecv.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <string.h>
 #include <mlvalues.h>
index 2de246f93957b6e64da76776516a01dba59bf7f8..698e6e2567125528266bb0a2af64bf4653d468f4 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: setgid.c,v 1.8 2001/12/07 13:40:33 xleroy Exp $ */
+/* $Id: setgid.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index d13159809c4f1fce5f111ef50eede71a16411f1c..cfaa3e65c97d277fe27923b695e02b181f4da3dd 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: setsid.c,v 1.6 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: setsid.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index 8ac8a064c3cd174bc7141c43f4f755affad6d27e..fb2a9ddcb0b45460ba2dca0abf1c14464c249546 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: setuid.c,v 1.8 2001/12/07 13:40:33 xleroy Exp $ */
+/* $Id: setuid.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index e325c59efde0e8799ce3f74b9a7bf889ef2c083c..9a274529a57566d997727d349c43b19c0d491f3b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: shutdown.c,v 1.11 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: shutdown.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index 27c06499f0f673c14ab22e2219fb54f0b2725887..7232739be8cb519c12d08821c1a7ba33d9dd4ef6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: signals.c,v 1.11 2008/01/11 16:13:16 doligez Exp $ */
+/* $Id: signals.c 8768 2008-01-11 16:13:18Z doligez $ */
 
 #include <errno.h>
 #include <signal.h>
index 93303f40c8defe59dfc2754184dcc6949c4f7611..a5b9778693a7d9db1406e789ee3190bd6e420c79 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sleep.c,v 1.9 2001/12/07 13:40:35 xleroy Exp $ */
+/* $Id: sleep.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include <signals.h>
index 1f547b6b28e21d30aab19609e4629d9ac3511b8a..62f8428e6fc35ce12c47caf570774cf468bc5f4b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: socket.c,v 1.11 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: socket.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index be5d467a0e389602fe999305cda31a7cbc215911..d3441252bc7ce78bc260e16468c9c9acd7c17484 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: socketaddr.c,v 1.23 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: socketaddr.c 9377 2009-10-18 09:36:13Z xleroy $ */
 
 #include <string.h>
 #include <mlvalues.h>
@@ -80,6 +80,9 @@ void get_sockaddr(value mladr,
       adr->s_inet6.sin6_family = AF_INET6;
       adr->s_inet6.sin6_addr = GET_INET6_ADDR(Field(mladr, 0));
       adr->s_inet6.sin6_port = htons(Int_val(Field(mladr, 1)));
+#ifdef SIN6_LEN
+      adr->s_inet6.sin6_len = sizeof(struct sockaddr_in6);
+#endif
       *adr_len = sizeof(struct sockaddr_in6);
       break;
     }
@@ -88,6 +91,9 @@ void get_sockaddr(value mladr,
     adr->s_inet.sin_family = AF_INET;
     adr->s_inet.sin_addr = GET_INET_ADDR(Field(mladr, 0));
     adr->s_inet.sin_port = htons(Int_val(Field(mladr, 1)));
+#ifdef SIN6_LEN
+    adr->s_inet.sin_len = sizeof(struct sockaddr_in);
+#endif
     *adr_len = sizeof(struct sockaddr_in);
     break;
   }
index 6bdf1d919720f1a1e5f2a7b2a3cddff77b929fa7..9cc3a2196ac950a1b8b95d6c8d9f0ea03b55b922 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: socketaddr.h,v 1.16 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: socketaddr.h 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <misc.h>
 #include <sys/types.h>
index 7d6d60ada5331c50358cdb87521a9b3feba6e6e5..9e5aeb0de5334e7967f71905f6bf79daa1722ff5 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: socketpair.c,v 1.12 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: socketpair.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 78f5d3c402f2c60d3765d17bc4ae0c2270f0a4ca..524c2dd41e43e3a06f8b5bf427f7f9b4c850d87a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sockopt.c,v 1.21 2008/08/01 13:46:08 xleroy Exp $ */
+/* $Id: sockopt.c 8968 2008-08-01 13:46:08Z xleroy $ */
 
 #include <mlvalues.h>
 #include <memory.h>
index fbc55d2d828888c75032bae3a2b57b4a8dcea3f1..6c7470a1cc5825ea38408bb2f6e1ff5915cd542c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: stat.c,v 1.15 2003/05/05 14:20:58 xleroy Exp $ */
+/* $Id: stat.c 5540 2003-05-05 14:20:58Z xleroy $ */
 
 #include <errno.h>
 #include <mlvalues.h>
index 5d7a759f2296aed7b97165fe0c42dc006157fc4a..51927873c1045ecff3611f49988ee9c48fd0e7c8 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: strofaddr.c,v 1.10 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: strofaddr.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 3a787aac134cd8493cbdc37811ee7370d6b306bf..6fd7c1fd0eb385f88ac7e16ac04dbd7dad8fc173 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: symlink.c,v 1.9 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: symlink.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index 1df4e0f01337a71f4440912daa024e9977627320..88e87870d37eb3962959c68770fa2cb0013ecac7 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: termios.c,v 1.15 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: termios.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 7c0e47d7782bbfb154829167da533c6939284ffd..476abc3b375dc97a8ce65fd52b165ff35bb3ae93 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: time.c,v 1.10 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: time.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <time.h>
 #include <mlvalues.h>
index afa252787d3524ded3ffd76012a844da1c0441dd..e79f4ca01d0d0b0ddcf44197ee1f17924472bd21 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: times.c,v 1.16 2006/04/16 23:28:21 doligez Exp $ */
+/* $Id: times.c 7382 2006-04-16 23:28:22Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 75ac46024116d2aca3ae5a5fd2ef3dbd72af8472..362b477e44a25341e8f9c70018bb6651c168d709 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: truncate.c,v 1.11 2007/02/09 13:31:15 doligez Exp $ */
+/* $Id: truncate.c 7849 2007-02-09 13:31:15Z doligez $ */
 
 #include <sys/types.h>
 #include <mlvalues.h>
index 68d41e616033328cef92ffc20b1f68348c643d73..edd5cfae6e2a3f9abed3eea76499268508c62e92 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: umask.c,v 1.9 2001/12/07 13:40:37 xleroy Exp $ */
+/* $Id: umask.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <sys/types.h>
 #include <sys/stat.h>
index 6f03043f998856d145f8a8f82a55a1bc8ac1c875..4e70ecc6a876123e9c63a089d7b29617573a8754 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: unix.ml,v 1.68 2008/08/01 13:46:08 xleroy Exp $ *)
+(* $Id: unix.ml 8968 2008-08-01 13:46:08Z xleroy $ *)
 
 type error =
     E2BIG
index 26d08a22bd65590e1f39f34bdd29dedb06674e7e..53d2c67e8e2f190c828190d1d5fab52f2cbcfb9f 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: unix.mli,v 1.89.2.1 2009/03/28 16:58:56 xleroy Exp $ *)
+(* $Id: unix.mli 9200 2009-03-28 16:58:56Z xleroy $ *)
 
 (** Interface to the Unix system *)
 
index f9be42b488ed2d216a9a545e0b50ebde97f6d332..f69bef90701481a6d7e5f6cc9e8abd5a6a8fc866 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: unixLabels.ml,v 1.3 2001/12/07 13:40:38 xleroy Exp $ *)
+(* $Id: unixLabels.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Module [UnixLabels]: labelled Unix module *)
 
index 9af5f2d9f3283e07010524f6ea64e2f5d0e1029c..99b541d1a067fafde11093f511c86e2b19134824 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: unixLabels.mli,v 1.19 2008/08/01 13:46:08 xleroy Exp $ *)
+(* $Id: unixLabels.mli 8968 2008-08-01 13:46:08Z xleroy $ *)
 
 (** Interface to the Unix system.
    To use as replacement to default {!Unix} module,
index 2e08fc5cb5e318f4ace5ceb609fa5a9e6ad7044b..811b92c20622ca12cb9cfe82bf35149959d40249 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: unixsupport.c,v 1.18 2005/09/06 12:38:32 doligez Exp $ */
+/* $Id: unixsupport.c 7045 2005-09-06 12:38:32Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index f2aa09cb9a0031a55df3bf68198ef461c0d27acb..55c21f5200cf46e957d93a1bc799ec9a40664a1b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: unixsupport.h,v 1.8 2005/09/06 12:38:32 doligez Exp $ */
+/* $Id: unixsupport.h 7045 2005-09-06 12:38:32Z doligez $ */
 
 #ifdef HAS_UNISTD
 #include <unistd.h>
index d2a4a92a990a9f9e69c74a459bc37f453bd8efd8..f1c9a0587544a4a8b9b06f6a5317ca3ef4cb1068 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: unlink.c,v 1.8 2001/12/07 13:40:39 xleroy Exp $ */
+/* $Id: unlink.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 5a07aa226fcfbb445940640f47a728973ffddef7..c424c2f46b41e5439793d0eba29c037a809b5676 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: utimes.c,v 1.10 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: utimes.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <fail.h>
 #include <mlvalues.h>
index 74d22dc5848f0f2a01c018d5f1447e9c18f64ba9..d44d6ad23051ff9927a03e93bf50aba8064c4eca 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: wait.c,v 1.19 2005/04/17 08:23:51 xleroy Exp $ */
+/* $Id: wait.c 6845 2005-04-17 08:23:51Z xleroy $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 84f00380fac06caad6a15bd55bf8d68120adb3c6..bdc6d7de5b309af90d82457091cfddc8f3477d1a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: write.c,v 1.14 2004/07/13 12:25:15 xleroy Exp $ */
+/* $Id: write.c 6553 2004-07-13 12:25:21Z xleroy $ */
 
 #include <errno.h>
 #include <string.h>
index 371507d5847a7a242379cd0f570a490da810a698..92f244d52c278fa63b22e465893c8f747a778ab7 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.8 2007/11/06 15:16:56 frisch Exp $
+# $Id: Makefile.nt 8477 2007-11-06 15:16:56Z frisch $
 
 LIBNAME=graphics
 COBJS=open.$(O) draw.$(O) events.$(O) dib.$(O)
index 543b07e8a819992827264831d958580ca7b0b559..d6d0418daf3f91fee3178e25187717097637a2e0 100644 (file)
@@ -10,7 +10,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: dib.c,v 1.3 2002/07/23 14:12:00 doligez Exp $ */
+/* $Id: dib.c 5029 2002-07-23 14:12:03Z doligez $ */
 
 //-----------------------------------------------------------------------------
 // DIB.C
index 50a2cda38b2a0fabd764546d96837cf6eeeb8d1b..9e2e7ac40276047ecf9a7aaa92247c91282668a8 100644 (file)
@@ -10,7 +10,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: draw.c,v 1.11 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: draw.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <math.h>
 #include "mlvalues.h"
index d439e8d192c25e03af14f59756fd31aaef028cca..e9482206987abcd37bc75ad7fb282c682a143c61 100755 (executable)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: events.c,v 1.2 2004/07/13 12:25:15 xleroy Exp $ */
+/* $Id: events.c 6553 2004-07-13 12:25:21Z xleroy $ */
 
 #include "mlvalues.h"
 #include "alloc.h"
index 6dc6e4ba83ba13e96ad0371d10bfbdfc6fea8d61..6fc2448d521d6be69cd842a943909f3bac9343c7 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: libgraph.h,v 1.9 2004/07/13 12:25:15 xleroy Exp $ */
+/* $Id: libgraph.h 6553 2004-07-13 12:25:21Z xleroy $ */
 
 #include <stdio.h>
 #include <windows.h>
index a57a147223cb839d471cb5d2103051c74b03d99e..1d260d7769412b67c0a4f365be8e881e5f46f5c9 100644 (file)
@@ -10,7 +10,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: open.c,v 1.12 2007/11/06 15:16:56 frisch Exp $ */
+/* $Id: open.c 8477 2007-11-06 15:16:56Z frisch $ */
 
 #include <fcntl.h>
 #include <signal.h>
index d404c6848bb0b7c3bd7b9124cddede81076fe1bf..8c61587f84e83c0374c82154da2c514b9b7df419 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.37 2008/07/29 08:31:41 xleroy Exp $
+# $Id: Makefile.nt 8955 2008-07-29 08:31:41Z xleroy $
 
 # Files in this directory
 WIN_FILES = accept.c bind.c channels.c close.c \
index d065885b335f885b96cb8e77a2a94b5bb0410d60..d0a7abd4bf5689403c11e4a0155c71cadc0bca79 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: accept.c,v 1.21 2006/10/18 08:26:54 xleroy Exp $ */
+/* $Id: accept.c 7697 2006-10-18 08:26:54Z xleroy $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 6392db26b04faad684c722689f4ccfcd5555357d..ba74ef7c65997854b1e74c7305ca36acf878ae2a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: bind.c,v 1.10 2002/04/30 15:00:45 xleroy Exp $ */
+/* $Id: bind.c 4765 2002-04-30 15:00:48Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index d480cfdcd9f81487a31fe9d9e596af9a9fa67e8a..f719abbf0312f45d2527c43e0b5e064756ab6811 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: channels.c,v 1.12 2006/09/21 09:41:04 xleroy Exp $ */
+/* $Id: channels.c 9450 2009-12-07 10:39:54Z xleroy $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
@@ -82,7 +82,10 @@ CAMLprim value win_filedescr_of_channel(value vchan)
 CAMLprim value win_handle_fd(value vfd)
 {
   int crt_fd = Int_val(vfd);
-  value res = win_alloc_handle_or_socket((HANDLE) _get_osfhandle(crt_fd));
+  /* PR#4750: do not use the _or_socket variant as it can cause performance
+     degradation and this function is only used with the standard
+     handles 0, 1, 2, which are not sockets. */
+  value res = win_alloc_handle((HANDLE) _get_osfhandle(crt_fd));
   CRT_fd_val(res) = crt_fd;
   return res;
 }
index 77d70f389a621909ad4f7fbe26e000c3b4a175c3..4890ae0b088da4db5e47bcb748cede5147eb3ed6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: close.c,v 1.5 2002/04/30 15:00:46 xleroy Exp $ */
+/* $Id: close.c 4765 2002-04-30 15:00:48Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 8a249356ee0d694897273b406bd4766584138fb5..69913608ec4b7ff8f51fcbcb8177d7ffd6c32f5c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: close_on.c,v 1.8 2001/12/07 13:40:43 xleroy Exp $ */
+/* $Id: close_on.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include <windows.h>
index c35985a06290f0f46672d13eb4a985995be787e1..a361d2adc633ddfa529706a41cc89a9959657afc 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: connect.c,v 1.13 2006/10/18 08:26:54 xleroy Exp $ */
+/* $Id: connect.c 7697 2006-10-18 08:26:54Z xleroy $ */
 
 #include <mlvalues.h>
 #include <signals.h>
index 6b439f781b9abf45a5ef55e2d3b20a2203357687..ba4051162d579ae053cddd8a17f992def7541b99 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: createprocess.c,v 1.14.4.1 2009/06/02 13:12:53 xleroy Exp $ */
+/* $Id: createprocess.c 9284 2009-06-02 13:12:53Z xleroy $ */
 
 #include <windows.h>
 #include <mlvalues.h>
index d187372af88ee0f2250b449556ad3d528b93d26c..0c4046b7b17290b08cdbfe40a8bc4464a657e292 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: dup.c,v 1.6 2002/04/30 15:00:46 xleroy Exp $ */
+/* $Id: dup.c 4765 2002-04-30 15:00:48Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 288d6df7c9fdbaf2f7bfc280df24963a1fe4ff64..848c1869b8e5e63d23213af4ca1583b7d435f65b 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: dup2.c,v 1.9 2006/09/21 09:43:58 xleroy Exp $ */
+/* $Id: dup2.c 7630 2006-09-21 09:43:58Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index ba7eb3c3b25aa66bb0c0011b6773df35bda19200..08ef2c00a1a15a78cfc8f1d99419ef45835bece3 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: errmsg.c,v 1.5 2003/12/31 00:00:14 doligez Exp $ */
+/* $Id: errmsg.c 6043 2003-12-31 00:00:57Z doligez $ */
 
 #include <stdio.h>
 #include <errno.h>
index d734d9640810e18904c2762c360f9c6c73fe9e3a..ff1e634c5c575730a5575771f87edb370baf6264 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getpeername.c,v 1.10 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getpeername.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 2bfbf1a71b446d68b1eed63454f34b0d9847d9cd..92ba55afa9656367414057632843432070283cd4 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getpid.c,v 1.4 2001/12/07 13:40:44 xleroy Exp $ */
+/* $Id: getpid.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 1a21ad68b1fd6203f020f44a39d53224f71c74a2..5b6ea300e5d1a275869544c230df62cebc968434 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: getsockname.c,v 1.8 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: getsockname.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 971acdc9dffbe06d7ad461f81cb0acd9e1a9ca61..622ef4dd41e19d7abf0c6b11eb9df072013f0d06 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: gettimeofday.c,v 1.7 2007/03/01 13:51:24 xleroy Exp $ */
+/* $Id: gettimeofday.c 7946 2007-03-01 13:51:24Z xleroy $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index e66d4673d4bc47208747d9d2ef75a4130e0d9289..f0097e2a8f92abb98056a41d9e45b489f52bd11d 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: link.c,v 1.3 2001/12/07 13:40:44 xleroy Exp $ */
+/* $Id: link.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <windows.h>
 #include <mlvalues.h>
index 305250a591f9c985e58c985d0c8427cf7e1e5d99..cd61bdbde5fc1c30c2f29fca61059cd983513433 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: listen.c,v 1.9 2002/04/30 15:00:46 xleroy Exp $ */
+/* $Id: listen.c 4765 2002-04-30 15:00:48Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 821363ff6dfd005aa6dd02da2619d047b65d1274..668932ae76a539c873a848a8b64b7d9658350aa6 100644 (file)
@@ -13,7 +13,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: lockf.c,v 1.7.2.1 2008/10/08 13:05:42 xleroy Exp $ */
+/* $Id: lockf.c 9078 2008-10-08 13:05:48Z xleroy $ */
 
 #include <errno.h>
 #include <fcntl.h>
index 583b2871dcabb8248233100f104d160c23f78b49..95be00930b444bc0880f65ce3e82606fc4107be1 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: lseek.c,v 1.7 2005/02/02 15:52:26 xleroy Exp $ */
+/* $Id: lseek.c 6774 2005-02-02 15:52:26Z xleroy $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 3bafc8996b0a41c860d6df23ab70006602d82458..d2895253fda4fe288c04219a4d8b2a1b783769ef 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: mkdir.c,v 1.5 2001/12/07 13:40:45 xleroy Exp $ */
+/* $Id: mkdir.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 54664295c7f9c767285c0226c1a0316f40b291e0..b5bc1471c23af9410e39c726abb0642a0c5c098d 100755 (executable)
@@ -1,42 +1,42 @@
-/***********************************************************************/\r
-/*                                                                     */\r
-/*                           Objective Caml                            */\r
-/*                                                                     */\r
-/*            Xavier Leroy, projet Cristal, INRIA Rocquencourt         */\r
-/*                                                                     */\r
-/*  Copyright 2002 Institut National de Recherche en Informatique et   */\r
-/*  en Automatique.  All rights reserved.  This file is distributed    */\r
-/*  under the terms of the GNU Library General Public License, with    */\r
-/*  the special exception on linking described in file ../../LICENSE.  */\r
-/*                                                                     */\r
-/***********************************************************************/\r
-\r
-/* $Id: nonblock.c,v 1.1 2003/01/06 16:44:21 xleroy Exp $ */\r
-\r
-#include <mlvalues.h>\r
-#include <signals.h>\r
-#include "unixsupport.h"\r
-\r
-CAMLprim value unix_set_nonblock(socket)\r
-     value socket;\r
-{\r
-  u_long non_block = 1;\r
-\r
-  if (ioctlsocket(Socket_val(socket), FIONBIO, &non_block) != 0) {\r
-    win32_maperr(WSAGetLastError());\r
-    uerror("unix_set_nonblock", Nothing);\r
-  }\r
-  return Val_unit;\r
-}\r
-\r
-CAMLprim value unix_clear_nonblock(socket)\r
-     value socket;\r
-{\r
-  u_long non_block = 0;\r
-\r
-  if (ioctlsocket(Socket_val(socket), FIONBIO, &non_block) != 0) {\r
-    win32_maperr(WSAGetLastError());\r
-    uerror("unix_clear_nonblock", Nothing);\r
-  }\r
-  return Val_unit;\r
-}\r
+/***********************************************************************/
+/*                                                                     */
+/*                           Objective Caml                            */
+/*                                                                     */
+/*            Xavier Leroy, projet Cristal, INRIA Rocquencourt         */
+/*                                                                     */
+/*  Copyright 2002 Institut National de Recherche en Informatique et   */
+/*  en Automatique.  All rights reserved.  This file is distributed    */
+/*  under the terms of the GNU Library General Public License, with    */
+/*  the special exception on linking described in file ../../LICENSE.  */
+/*                                                                     */
+/***********************************************************************/
+
+/* $Id: nonblock.c 5375 2003-01-06 16:44:21Z xleroy $ */
+
+#include <mlvalues.h>
+#include <signals.h>
+#include "unixsupport.h"
+
+CAMLprim value unix_set_nonblock(socket)
+     value socket;
+{
+  u_long non_block = 1;
+
+  if (ioctlsocket(Socket_val(socket), FIONBIO, &non_block) != 0) {
+    win32_maperr(WSAGetLastError());
+    uerror("unix_set_nonblock", Nothing);
+  }
+  return Val_unit;
+}
+
+CAMLprim value unix_clear_nonblock(socket)
+     value socket;
+{
+  u_long non_block = 0;
+
+  if (ioctlsocket(Socket_val(socket), FIONBIO, &non_block) != 0) {
+    win32_maperr(WSAGetLastError());
+    uerror("unix_clear_nonblock", Nothing);
+  }
+  return Val_unit;
+}
index ebcc9c813182617510dec1fb5b11c7355a5ce234..60fa80bdbd3d222f8812606a0390157ae073aa43 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: open.c,v 1.10 2008/01/11 16:13:16 doligez Exp $ */
+/* $Id: open.c 8768 2008-01-11 16:13:18Z doligez $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 9a7ced3c08cabf9a21e5b04d20ddefd9decfa39c..765f1aa79a9b04edad5a289b5b53b35bc1c7ac75 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: pipe.c,v 1.7.28.1 2009/03/28 15:30:08 xleroy Exp $ */
+/* $Id: pipe.c 9196 2009-03-28 15:30:08Z xleroy $ */
 
 #include <mlvalues.h>
 #include <memory.h>
index 944c72adc146bc0ec47220f507005199a3703c23..2319cb677440c18fd7f4de947171e173c10af1f6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: read.c,v 1.9 2006/10/18 08:26:54 xleroy Exp $ */
+/* $Id: read.c 7697 2006-10-18 08:26:54Z xleroy $ */
 
 #include <string.h>
 #include <mlvalues.h>
index 8e3a7fcb3bf4ab1e485b11bcb0f2893778028458..d5280ffb0432251bbd59b6b1c3a9ed74018d8226 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: rename.c,v 1.3 2004/07/13 12:25:15 xleroy Exp $ */
+/* $Id: rename.c 6553 2004-07-13 12:25:21Z xleroy $ */
 
 #include <stdio.h>
 #include <mlvalues.h>
index e919d3599ad3c78fc11f7db56fffa8dcdbfdc1d9..9de1135180fb69c1ab73ae8684a35d624af2cc0f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: select.c,v 1.14.2.2 2008/11/26 13:27:21 xleroy Exp $ */
+/* $Id: select.c 9143 2008-11-26 13:27:21Z xleroy $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 054f8ba1e8b39da99d22d25043a1d1ada6ca99cd..9141f3d056b95beba606c74e52382d29fe73477c 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sendrecv.c,v 1.21 2006/10/18 08:26:54 xleroy Exp $ */
+/* $Id: sendrecv.c 7697 2006-10-18 08:26:54Z xleroy $ */
 
 #include <mlvalues.h>
 #include <alloc.h>
index 8c8e20ca357594f7e1474c3cdfa9fdb0958ece24..ae968727bba2b79d81b7f15676add17a449b056a 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: shutdown.c,v 1.9 2002/04/30 15:00:47 xleroy Exp $ */
+/* $Id: shutdown.c 4765 2002-04-30 15:00:48Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 969ed38cc5a0df7cb6310c02522c418125214a08..e5054a6fa17df052fd1e1aa4153a1a25a50f8cde 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sleep.c,v 1.5 2002/06/07 09:49:41 xleroy Exp $ */
+/* $Id: sleep.c 4899 2002-06-07 09:49:45Z xleroy $ */
 
 #include <mlvalues.h>
 #include <signals.h>
index 6b155d760b265cb36a7fd70a3d43fe2644804663..15f0bafd1fa4f528520f107954c536fd3c0a70a3 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: socket.c,v 1.12 2002/04/30 15:00:47 xleroy Exp $ */
+/* $Id: socket.c 4765 2002-04-30 15:00:48Z xleroy $ */
 
 #include <mlvalues.h>
 #include "unixsupport.h"
index 497133cd54f5efa4130dd64c8a7f054c4b943a9b..0a05dfff0119b333a3e9ab8bc0d3a1d634419e87 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: socketaddr.h,v 1.8 2005/03/24 17:20:53 doligez Exp $ */
+/* $Id: socketaddr.h 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <misc.h>
 
index 2af9b0026b798686b45294a13372f28c92a28a2f..9ffa315ea0b5769f807c0a1c7c0292edda178045 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: sockopt.c,v 1.19 2008/08/01 13:46:08 xleroy Exp $ */
+/* $Id: sockopt.c 8968 2008-08-01 13:46:08Z xleroy $ */
 
 #include <errno.h>
 #include <mlvalues.h>
index d5f9b52fe04ddabe698a67d6b5e4710e2170d71d..813788d5dc7ef58f4aba2d8acd3dc0337094104d 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: stat.c,v 1.3.14.1 2009/03/28 16:39:50 xleroy Exp $ */
+/* $Id: stat.c 9199 2009-03-28 16:39:50Z xleroy $ */
 
 #include <errno.h>
 #include <mlvalues.h>
index cca39fcab9e635069e918505270915e6e741269e..5885e03b315f4746d7d8686580a832bc4be101db 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: system.c,v 1.9 2006/09/21 08:03:56 xleroy Exp $ */
+/* $Id: system.c 7626 2006-09-21 08:03:56Z xleroy $ */
 
 #include <mlvalues.h>
 #include <memory.h>
index 0d4b190e41ca1d2c796a4904ece88520570b1f58..8385ec515c8e725dc2556735b9ef0e25931b8534 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: unix.ml,v 1.48 2008/08/01 13:46:08 xleroy Exp $ *)
+(* $Id: unix.ml 8968 2008-08-01 13:46:08Z xleroy $ *)
 
 (* Initialization *)
 
index 792b424fe5457127bd514b4f8286fc45a9951b5c..d01b228c826d34e0d56423a5ad107064309d67c9 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: unixsupport.c,v 1.21.12.1 2009/05/19 12:32:36 xleroy Exp $ */
+/* $Id: unixsupport.c 9450 2009-12-07 10:39:54Z xleroy $ */
 
 #include <stddef.h>
 #include <mlvalues.h>
@@ -65,6 +65,8 @@ value win_alloc_socket(SOCKET s)
   return res;
 }
 
+#if 0
+/* PR#4750: this function is no longer used */
 value win_alloc_handle_or_socket(HANDLE h)
 {
   value res = win_alloc_handle(h);
@@ -74,6 +76,7 @@ value win_alloc_handle_or_socket(HANDLE h)
     Descr_kind_val(res) = KIND_SOCKET;
   return res;
 }
+#endif
 
 /* Mapping of Windows error codes to POSIX error codes */
 
index 07fc801708119dcf422c0988bc89d76ee871b5e7..faeb5c18670455bb9693ab9a6812ebd7775e7e2d 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: unixsupport.h,v 1.19 2007/02/07 14:45:46 doligez Exp $ */
+/* $Id: unixsupport.h 9450 2009-12-07 10:39:54Z xleroy $ */
 
 #define WIN32_LEAN_AND_MEAN
 #include <wtypes.h>
@@ -36,7 +36,7 @@ struct filedescr {
 #define Descr_kind_val(v) (((struct filedescr *) Data_custom_val(v))->kind)
 #define CRT_fd_val(v) (((struct filedescr *) Data_custom_val(v))->crt_fd)
 
-extern value win_alloc_handle_or_socket(HANDLE);
+/* extern value win_alloc_handle_or_socket(HANDLE); */
 extern value win_alloc_handle(HANDLE);
 extern value win_alloc_socket(SOCKET);
 extern int win_CRT_fd_of_filedescr(value handle);
index 8f022cc91b11500e6ee0f7133d15416faa2a29f1..313f2affd22aaa29c464ee915cab20c8dc703bf9 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: windbug.c,v 1.2.2.2 2008/11/26 13:41:01 xleroy Exp $ */
+/* $Id: windbug.c 9144 2008-11-26 13:41:01Z xleroy $ */
 
 #include <windows.h>
 #include <stdio.h>
index 58066c7325b89e0edc9d6f6e5385b5cc2e3a0ad8..d0c4f260187103f088ef1d64e4ddccb6ba404cf2 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: windbug.h,v 1.2.2.1 2008/11/26 13:27:21 xleroy Exp $ */
+/* $Id: windbug.h 9143 2008-11-26 13:27:21Z xleroy $ */
 
 /*#define DBUG*/
 
index f0f78a4b6e0ac301a27ee0fe7e3ed41e8621ef8f..23ce8c221e411c9a6fe0884837c353b2cb82f168 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: windir.c,v 1.13 2002/07/23 14:12:01 doligez Exp $ */
+/* $Id: windir.c 5029 2002-07-23 14:12:03Z doligez $ */
 
 #include <mlvalues.h>
 #include <memory.h>
index af5000dff2bd83649c34e9de1d027a6bdb2835dc..52a9525c05702a27e53d479ae1e52070355c7b98 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: winlist.c,v 1.2 2008/07/31 12:09:18 xleroy Exp $ */
+/* $Id: winlist.c 8961 2008-07-31 12:09:18Z xleroy $ */
 
 /* Basic list function in C. */
 
index aa83875602ed241a9d87f7eaf9a2ba972dee65d4..6f86c1b23f7f01ca47b2e0ca6cbf7cb473d11e73 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: winlist.h,v 1.2 2008/07/31 12:09:18 xleroy Exp $ */
+/* $Id: winlist.h 8961 2008-07-31 12:09:18Z xleroy $ */
 #ifndef _WINLIST_H
 #define _WINLIST_H
 
index fa5cbe36d581fdb04fed8306f2f5a7301a4f5793..4de4818c3ee333e2919e8d568804e5d573f4f2a2 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: winwait.c,v 1.20 2008/01/11 16:13:16 doligez Exp $ */
+/* $Id: winwait.c 8768 2008-01-11 16:13:18Z doligez $ */
 
 #include <windows.h>
 #include <mlvalues.h>
index 5c5909e63cba0b6a44d3fe32e56494de531b9158..0b66892e5533f052d3c11aa7afcbc8c12cf5aab3 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: winworker.c,v 1.2.2.2 2008/11/26 13:41:01 xleroy Exp $ */
+/* $Id: winworker.c 9144 2008-11-26 13:41:01Z xleroy $ */
 
 #include "winworker.h"
 #include "winlist.h"
index 2f841c02016d124c3bf04e7d33bafd80b0e0d02c..6597619aa10a16a75a14516038bf1ad1f72521fe 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: winworker.h,v 1.2 2008/07/31 12:09:18 xleroy Exp $ */
+/* $Id: winworker.h 8961 2008-07-31 12:09:18Z xleroy $ */
 #ifndef _WINWORKER_H
 #define _WINWORKER_H
 
index c1f1916ad7b465f7a7e15153a9b14bdd25f56470..e739f4ba1cb895b4d923c49d92d3dc83d85f3aa1 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: write.c,v 1.11 2006/10/18 08:26:54 xleroy Exp $ */
+/* $Id: write.c 9315 2009-07-15 12:19:12Z xleroy $ */
 
 #include <errno.h>
 #include <string.h>
@@ -66,7 +66,7 @@ CAMLprim value unix_single_write(value fd, value buf, value vofs, value vlen)
   intnat ofs, len, written;
   DWORD numbytes, numwritten;
   char iobuf[UNIX_BUFFER_SIZE];
-  DWORD err;
+  DWORD err = 0;
 
   Begin_root (buf);
     ofs = Long_val(vofs);
index 020c00cee7023fd4b005fa3f3819325174a32d96..cd6d8c127f8a48c8ec59b92ed4d59e9766d37dc3 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: asttypes.mli,v 1.9 2003/04/25 12:27:30 xleroy Exp $ *)
+(* $Id: asttypes.mli 5510 2003-04-25 12:27:31Z xleroy $ *)
 
 (* Auxiliary a.s.t. types used by parsetree and typedtree. *)
 
index 2a2f708040e2adbe271736c62e38defc1c783c7c..2e6ff1bc6f8fc6eef15d4bd24fc7233835cbd624 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexer.mli,v 1.14 2003/11/21 16:01:13 xleroy Exp $ *)
+(* $Id: lexer.mli 5961 2003-11-21 16:01:13Z xleroy $ *)
 
 (* The lexical analyzer *)
 
index 6ddbb5ce1362bfac2cc7561f1bfcb2c879ff6141..a5b0fd37a15553427a4d782b008cf3cf71fd4eef 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexer.mll,v 1.73.24.1 2008/10/08 13:07:13 doligez Exp $ *)
+(* $Id: lexer.mll 9079 2008-10-08 13:09:39Z doligez $ *)
 
 (* The lexer definition *)
 
index 6e3ba472ac9f0e94fa563b01d7c79a91449cf8a2..0dc4978d22d3a2c1feded4ffe9b1c195e221d630 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: linenum.mli,v 1.2 1999/11/17 18:58:17 xleroy Exp $ *)
+(* $Id: linenum.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* An auxiliary lexer for determining the line number corresponding to
    a file position, honoring the directives # linenum "filename" *)
index 1225f8c9c287af36ca06450151bb088d0f029e22..13924738816d47ae4eafdd29b69b4364189c60b5 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: linenum.mll,v 1.7 1999/11/17 18:58:17 xleroy Exp $ *)
+(* $Id: linenum.mll 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* An auxiliary lexer for determining the line number corresponding to
    a file position, honoring the directives # linenum "filename" *)
index 2cbe917ceab4727da4b1a8245f32c20bc656a2f6..a9b73597a3c69b8a16486596bdaaa1972a53e7a8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: location.ml,v 1.50 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: location.ml 8768 2008-01-11 16:13:18Z doligez $ *)
 
 open Lexing
 
index 8218946a22b89b5b8eb0ae19b1ee7085e69017e5..9ca64c1fa08f3b2779a147aab81a9e1ab41a83d9 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: location.mli,v 1.17 2007/12/04 13:38:58 doligez Exp $ *)
+(* $Id: location.mli 8705 2007-12-04 13:38:58Z doligez $ *)
 
 (* Source code locations (ranges of positions), used in parsetree. *)
 
index dac8a5b6efcfad7949b27a343dbcdf8b0404634c..a54a33c6164caf8ae0e2808dd2a5a23d6eb5389d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: longident.ml,v 1.4 2000/03/25 18:55:44 xleroy Exp $ *)
+(* $Id: longident.ml 2990 2000-03-25 18:55:45Z xleroy $ *)
 
 type t =
     Lident of string
index d4e71bc039ccca797e0d1833e36d5067f245331b..fd360c44fb55b604ed6a3b0271125f6c11837c1a 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: longident.mli,v 1.7 2000/03/25 18:55:44 xleroy Exp $ *)
+(* $Id: longident.mli 2990 2000-03-25 18:55:45Z xleroy $ *)
 
 (* Long identifiers, used in parsetree. *)
 
index 7f9a028e46133e5973b032c18f03d100dc419f0b..0ec6abf05db026b5e8b25b9a1b41939b2aa191da 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: parse.ml,v 1.15 2002/11/01 17:06:46 doligez Exp $ *)
+(* $Id: parse.ml 5224 2002-11-01 17:06:47Z doligez $ *)
 
 (* Entry points in the parser *)
 
index 2f8444a53e899ad8fe8d75c364ebdf57f3aba6bf..8fc222c5ddecc82dbf81abe3c6b75f520084c489 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: parse.mli,v 1.6 1999/11/17 18:58:19 xleroy Exp $ *)
+(* $Id: parse.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Entry points in the parser *)
 
index 9971af7e0dfeb19a1b2fd5fa37bdfc5ebebb1b26..65b9ca34872f22d98120224e42341eb93f492f95 100644 (file)
@@ -10,7 +10,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: parser.mly,v 1.131 2008/07/14 09:09:53 xleroy Exp $ */
+/* $Id: parser.mly 9412 2009-11-09 11:42:39Z weis $ */
 
 /* The parser definition */
 
@@ -1403,7 +1403,13 @@ signed_constant:
   | MINUS INT32                                 { Const_int32(Int32.neg $2) }
   | MINUS INT64                                 { Const_int64(Int64.neg $2) }
   | MINUS NATIVEINT                             { Const_nativeint(Nativeint.neg $2) }
+  | PLUS INT                                    { Const_int $2 }
+  | PLUS FLOAT                                  { Const_float $2 }
+  | PLUS INT32                                  { Const_int32 $2 }
+  | PLUS INT64                                  { Const_int64 $2 }
+  | PLUS NATIVEINT                              { Const_nativeint $2 }
 ;
+
 /* Identifiers and long identifiers */
 
 ident:
index cad682687f423722d3f18d27ebca3117d8bd4ba7..3d6ceef97f94bb0be0ad22344d267321093f829f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: parsetree.mli,v 1.45 2008/07/09 13:03:37 mauny Exp $ *)
+(* $Id: parsetree.mli 8906 2008-07-09 13:03:38Z mauny $ *)
 
 (* Abstract syntax tree produced by parsing *)
 
index 181f91e1c884aca4619c3b9cdc066612180bb13b..aa5b1fd17e83644f9e0cf82f82206c4612a012a8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printast.ml,v 1.34 2008/07/09 13:03:37 mauny Exp $ *)
+(* $Id: printast.ml 8906 2008-07-09 13:03:38Z mauny $ *)
 
 open Asttypes;;
 open Format;;
index 502d06fae561e13873fa71a62643b9a59afd47ca..4a33e3fe359e720ecbd8abf51ad8b4197e863056 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printast.mli,v 1.2 2000/03/06 22:11:39 weis Exp $ *)
+(* $Id: printast.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 open Parsetree;;
 open Format;;
index c5617357458c89ae124a991bfadbf8e0be4c662a..ddaf72ce7669b501fcee5d16e67c4dea6023e8ea 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: syntaxerr.ml,v 1.9 2007/12/04 13:38:58 doligez Exp $ *)
+(* $Id: syntaxerr.ml 8705 2007-12-04 13:38:58Z doligez $ *)
 
 (* Auxiliary type for reporting syntax errors *)
 
index f129010cf11a337a9345273ed7e629f63c5ca418..4aa715a20a7fde7c0e04d364ea52c78053ead07d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: syntaxerr.mli,v 1.4 2000/03/06 22:11:40 weis Exp $ *)
+(* $Id: syntaxerr.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 (* Auxiliary type for reporting syntax errors *)
 
index 343f6abd6a4f1db629760357e8f14acdec1bdd87..6aa0cd421b327dded38b44a7b8c0a7a6f4f8a245 100644 (file)
@@ -4,3 +4,4 @@ labelled-*
 caml
 *.annot
 sys.ml
+*.a
index faa3382181491f6063ba81dd8c1ef00f997914d1..e3bbebeab770441a6bd1c17b16747e369a74f6cd 100644 (file)
@@ -10,7 +10,7 @@ char.cmi:
 complex.cmi: 
 digest.cmi: 
 filename.cmi: 
-format.cmi: buffer.cmi 
+format.cmi: pervasives.cmi buffer.cmi 
 gc.cmi: 
 genlex.cmi: stream.cmi 
 hashtbl.cmi: 
@@ -98,8 +98,8 @@ moreLabels.cmo: set.cmi map.cmi hashtbl.cmi moreLabels.cmi
 moreLabels.cmx: set.cmx map.cmx hashtbl.cmx moreLabels.cmi 
 nativeint.cmo: sys.cmi pervasives.cmi nativeint.cmi 
 nativeint.cmx: sys.cmx pervasives.cmx nativeint.cmi 
-obj.cmo: marshal.cmi obj.cmi 
-obj.cmx: marshal.cmx obj.cmi 
+obj.cmo: marshal.cmi array.cmi obj.cmi 
+obj.cmx: marshal.cmx array.cmx obj.cmi 
 oo.cmo: camlinternalOO.cmi oo.cmi 
 oo.cmx: camlinternalOO.cmx oo.cmi 
 parsing.cmo: obj.cmi lexing.cmi array.cmi parsing.cmi 
@@ -108,10 +108,10 @@ pervasives.cmo: pervasives.cmi
 pervasives.cmx: pervasives.cmi 
 printexc.cmo: printf.cmi obj.cmi buffer.cmi array.cmi printexc.cmi 
 printexc.cmx: printf.cmx obj.cmx buffer.cmx array.cmx printexc.cmi 
-printf.cmo: string.cmi obj.cmi list.cmi char.cmi buffer.cmi array.cmi \
-    printf.cmi 
-printf.cmx: string.cmx obj.cmx list.cmx char.cmx buffer.cmx array.cmx \
-    printf.cmi 
+printf.cmo: string.cmi pervasives.cmi obj.cmi list.cmi char.cmi buffer.cmi \
+    array.cmi printf.cmi 
+printf.cmx: string.cmx pervasives.cmx obj.cmx list.cmx char.cmx buffer.cmx \
+    array.cmx printf.cmi 
 queue.cmo: obj.cmi queue.cmi 
 queue.cmx: obj.cmx queue.cmi 
 random.cmo: string.cmi pervasives.cmi nativeint.cmi int64.cmi int32.cmi \
index b95a3257c51d52edf29fd871f2a6b2a4e6fe4776..deaef91243a5647aae3893a304b65478b527fa09 100755 (executable)
@@ -12,7 +12,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Compflags,v 1.5 2004/11/25 00:04:15 doligez Exp $
+# $Id: Compflags 6694 2004-11-25 00:06:06Z doligez $
 
 case $1 in
   pervasives.cm[iox]|pervasives.p.cmx) echo ' -nopervasives';;
index 502905c67ae1b2751c4b63e324e05cb7df177854..fb66e0bfd0ee23eb8a7df1cf0de92a50c566cb30 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.91 2008/07/24 05:18:31 frisch Exp $
+# $Id: Makefile 8929 2008-07-24 05:18:31Z frisch $
 
 include Makefile.shared
 
index a586e770aae51982cde48ce7bdb83e1c9bde426e..bdf59c24fab38d28e77a89dfe7aee860049578a5 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.46 2008/07/24 05:18:31 frisch Exp $
+# $Id: Makefile.nt 8929 2008-07-24 05:18:31Z frisch $
 
 include Makefile.shared
 
index d214c49a4f1c5420e9a5e869473799a231b8d2d4..78343ff4616de93e2c2a7a4974c9008b5c9cda17 100755 (executable)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.shared,v 1.2 2008/08/01 16:57:10 mauny Exp $
+# $Id: Makefile.shared 8974 2008-08-01 16:57:10Z mauny $
 
 include ../config/Makefile
 RUNTIME=../boot/ocamlrun
index 498dcc28b142c458efd2dd9cf6402293aae3ec4c..5a5246a1ba21e6b04df4e2f600341a0b767c4bdd 100644 (file)
@@ -1,6 +1,6 @@
 # This file lists all standard library modules. -*- Makefile -*-
 # It is used in particular to know what to expunge in toplevels.
-# $Id: StdlibModules,v 1.4 2008/08/01 16:57:10 mauny Exp $
+# $Id: StdlibModules 8974 2008-08-01 16:57:10Z mauny $
 
 STDLIB_MODULES=\
   arg \
index 71706281023d88d9e747215f05cad193c8992c27..af6c9f2837bd01ca6608326ba22369ec4ccf0808 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arg.ml,v 1.36 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: arg.ml 8768 2008-01-11 16:13:18Z doligez $ *)
 
 type key = string
 type doc = string
index f4687e74d7cd701b893761af5258303172ce3121..778ef31271ddfdd73242193a6ee6e7c41900f759 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arg.mli,v 1.37 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: arg.mli 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (** Parsing of command line arguments.
 
index 67844b22ad9bfa8c57fe3ab9f714acd8fbd5b4a4..10cb988696990879e285b1b27ea7cedb930a3a54 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: array.ml,v 1.24 2005/04/11 16:43:19 doligez Exp $ *)
+(* $Id: array.ml 6834 2005-04-11 16:44:26Z doligez $ *)
 
 (* Array operations *)
 
index 459a0df4e7a0fadf97a6d2be4d2384c5fbfc11d3..7ba565b59d12c42e7733b78f1c19980de4bba2cb 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: array.mli,v 1.40 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: array.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** Array operations. *)
 
index 238f3a568bf418d02a9becb44e8ea2045ddd2a80..1ff613490e2dfcf87bbc8ff33634556d7978f414 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arrayLabels.ml,v 1.3 2001/12/07 13:40:49 xleroy Exp $ *)
+(* $Id: arrayLabels.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Module [ArrayLabels]: labelled Array module *)
 
index 8bd10255424a4470d3537b98b637377f4f0ffdd8..0b08227d9d7dd1a40d2cc55e2e079d384a2695e5 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: arrayLabels.mli,v 1.12 2007/01/22 08:06:09 garrigue Exp $ *)
+(* $Id: arrayLabels.mli 7805 2007-01-22 08:06:09Z garrigue $ *)
 
 (** Array operations. *)
 
index 666f563efebbb1fd91291180f5d88b07a4b41c15..f43be1d00c486cf973c7e0f991f1e8bb96fef0a6 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: buffer.ml,v 1.19 2008/09/09 08:50:39 weis Exp $ *)
+(* $Id: buffer.ml 9340 2009-09-16 15:52:46Z xclerc $ *)
 
 (* Extensible buffers *)
 
@@ -39,6 +39,14 @@ let sub b ofs len =
   end
 ;;
 
+let blit src srcoff dst dstoff len =
+  if len < 0 || srcoff < 0 || srcoff > src.position - len
+             || dstoff < 0 || dstoff > (String.length dst) - len
+  then invalid_arg "Buffer.blit"
+  else
+    String.blit src.buffer srcoff dst dstoff len
+;;
+
 let nth b ofs =
   if ofs < 0 || ofs >= b.position then
    invalid_arg "Buffer.nth"
index d8d74f903740ceab62a4c0b6d941c7a27567fef3..831e9c3aa767417300add63ffebdb151b84db890 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: buffer.mli,v 1.21 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: buffer.mli 9340 2009-09-16 15:52:46Z xclerc $ *)
 
 (** Extensible string buffers.
 
@@ -48,6 +48,15 @@ current contents of the buffer [b] starting at offset [off] of length
 [len] bytes. May raise [Invalid_argument] if out of bounds request. The
 buffer itself is unaffected. *)
 
+val blit : t -> int -> string -> int -> int -> unit
+(** [Buffer.blit src srcoff dst dstoff len] copies [len] characters from
+   the current contents of the buffer [src], starting at offset [srcoff]
+   to string [dst], starting at character [dstoff].
+
+   Raise [Invalid_argument] if [srcoff] and [len] do not designate a valid
+   substring of [src], or if [dstoff] and [len] do not designate a valid
+   substring of [dst]. *)
+
 val nth : t -> int -> char
 (** get the n-th character of the buffer. Raise [Invalid_argument] if
 index out of bounds *)
index 9a3c5db76442c56cc3c74e63de9e189b2aaa3aba..29a2031af2f9c9c8e0358ad16e46ecf3c463bff3 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: callback.ml,v 1.5 2003/12/31 14:20:39 doligez Exp $ *)
+(* $Id: callback.ml 6044 2003-12-31 14:20:40Z doligez $ *)
 
 (* Registering Caml values with the C runtime for later callbacks *)
 
index b7866fa460e4a298dfdd79a7aaf43fb3917a2081..ce0fdc93f442cb574040f8ac9a0607a38add060a 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: callback.mli,v 1.6 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: callback.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** Registering Caml values with the C runtime.
 
index 2cd2ff64f4682e1b00c4748f05ed3c50a3d1f68f..820e20b49940152dfa163f23dcdb8f4fd362f1cd 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: camlinternalLazy.ml,v 1.1 2008/08/01 16:57:10 mauny Exp $ *)
+(* $Id: camlinternalLazy.ml 8974 2008-08-01 16:57:10Z mauny $ *)
 
 (* Internals of forcing lazy values. *)
 
index 31c260fa7065ddf6a9cb697dc2b30442380bf8e4..019fce30da1d57da2fed9fe1e99d337d88588427 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: camlinternalLazy.mli,v 1.1 2008/08/01 16:57:10 mauny Exp $ *)
+(* $Id: camlinternalLazy.mli 8974 2008-08-01 16:57:10Z mauny $ *)
 
 (* Internals of forcing lazy values *)
 
index f9ba7c8e6ca1c4d3b2035ad4e6a457ad8417a9ac..e2e8203151277704f256118c6baeb2ecffdb5861 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: camlinternalMod.ml,v 1.6 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: camlinternalMod.ml 8768 2008-01-11 16:13:18Z doligez $ *)
 
 type shape =
   | Function
index 7d1c41cba86339360581298b60a84c1d15e84faf..34006784000f85651f80dc89658707abb6cce494 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: camlinternalMod.mli,v 1.1 2004/08/12 12:57:00 xleroy Exp $ *)
+(* $Id: camlinternalMod.mli 6586 2004-08-12 12:57:00Z xleroy $ *)
 
 type shape =
   | Function
index b48b59ed2d028799cfd5d586efc47fb072ee01c6..e5ae45907f682fb0a85cb14bba97fd0031fd74a1 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: camlinternalOO.ml,v 1.16 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: camlinternalOO.ml 8768 2008-01-11 16:13:18Z doligez $ *)
 
 open Obj
 
index fb6d4f2d803b535d3a52c4a14cd9492598cd3cca..81113211e8271b895617da74b7a93786e273ec92 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: camlinternalOO.mli,v 1.10 2006/04/05 02:28:13 garrigue Exp $ *)
+(* $Id: camlinternalOO.mli 7372 2006-04-05 02:28:13Z garrigue $ *)
 
 (** Run-time support for objects and classes.
     All functions in this module are for system use only, not for the
index 91e8cac355a65ba0d2b82e637c1c386fb15027d9..a6b8a5f71ba26ddcadc7429418a00400c7d30140 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: char.ml,v 1.14 2007/04/16 11:06:51 weis Exp $ *)
+(* $Id: char.ml 8189 2007-04-16 11:06:51Z weis $ *)
 
 (* Character operations *)
 
index 4977245bcdf465e9d75a09e2ca935f086f2b1fa5..c3637ac8d16f2123221cc73d85318c16716bc40f 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: char.mli,v 1.17 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: char.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** Character operations. *)
 
index 84fbc4927918f019bc481b8b8762f5e43b4c9a71..90d423312e38e94e11287e35a8b03a97b9e77a4d 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: complex.ml,v 1.6 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: complex.ml 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (* Complex numbers *)
 
index 84be0843f3b6ee96b926f5eb0c6a052d4dc3b364..8c80b5e2e635491526d027b03c055dc6b58ec3a7 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: complex.mli,v 1.4 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: complex.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** Complex numbers.
 
index 39a8d3dff6f8ac015a6a9d8feffd4851b227206f..2d030666401d956212916a149148ffb13d3ec60d 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: digest.ml,v 1.10 2003/12/31 14:20:39 doligez Exp $ *)
+(* $Id: digest.ml 6044 2003-12-31 14:20:40Z doligez $ *)
 
 (* Message digest (MD5) *)
 
index 065d48649091eab455e3a671c2509ed13e9f10cd..d3359029bfd13cafc4ed90bf2f3be355761e0912 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: digest.mli,v 1.17 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: digest.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** MD5 message digest.
 
index b7849968f223850c8b78e83d16c5cb6d08eabe34..2fef43af7aaa4e5396b2e0fb20c84dc69b6b8ae9 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: filename.ml,v 1.41.12.1 2008/11/20 18:36:52 doligez Exp $ *)
+(* $Id: filename.ml 9339 2009-09-16 14:24:11Z xclerc $ *)
 
 let generic_quote quotequote s =
   let l = String.length s in
@@ -194,14 +194,14 @@ external close_desc: int -> unit = "caml_sys_close"
 
 let prng = Random.State.make_self_init ();;
 
-let temp_file_name prefix suffix =
+let temp_file_name temp_dir prefix suffix =
   let rnd = (Random.State.bits prng) land 0xFFFFFF in
-  concat temp_dir_name (Printf.sprintf "%s%06x%s" prefix rnd suffix)
+  concat temp_dir (Printf.sprintf "%s%06x%s" prefix rnd suffix)
 ;;
 
-let temp_file prefix suffix =
+let temp_file ?(temp_dir=temp_dir_name) prefix suffix =
   let rec try_name counter =
-    let name = temp_file_name prefix suffix in
+    let name = temp_file_name temp_dir prefix suffix in
     try
       close_desc(open_desc name [Open_wronly; Open_creat; Open_excl] 0o600);
       name
@@ -209,9 +209,9 @@ let temp_file prefix suffix =
       if counter >= 1000 then raise e else try_name (counter + 1)
   in try_name 0
 
-let open_temp_file ?(mode = [Open_text]) prefix suffix =
+let open_temp_file ?(mode = [Open_text]) ?(temp_dir=temp_dir_name) prefix suffix =
   let rec try_name counter =
-    let name = temp_file_name prefix suffix in
+    let name = temp_file_name temp_dir prefix suffix in
     try
       (name,
        open_out_gen (Open_wronly::Open_creat::Open_excl::mode) 0o600 name)
index a9c783792974c133d731303df29df211f0872743..7d93fd993f3591cac4ddf174db492ef4b67d3b78 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: filename.mli,v 1.35 2007/01/09 13:42:17 doligez Exp $ *)
+(* $Id: filename.mli 9339 2009-09-16 14:24:11Z xclerc $ *)
 
 (** Operations on file names. *)
 
@@ -22,6 +22,9 @@ val parent_dir_name : string
 (** The conventional name for the parent of the current directory
    (e.g. [..] in Unix). *)
 
+val dir_sep : string
+(** The directory separator (e.g. [/] in Unix). *)
+
 val concat : string -> string -> string
 (** [concat dir file] returns a file name that designates file
    [file] in directory [dir]. *)
@@ -68,11 +71,13 @@ val basename : string -> string
 val dirname : string -> string
 (** See {!Filename.basename}. *)
 
-val temp_file : string -> string -> string
+val temp_file : ?temp_dir: string -> string -> string -> string
 (** [temp_file prefix suffix] returns the name of a
    fresh temporary file in the temporary directory.
    The base name of the temporary file is formed by concatenating
    [prefix], then a suitably chosen integer number, then [suffix].
+   The optional argument [temp_dir] indicates the temporary directory
+   to use, defaulting to {!Filename.temp_dir_name}.
    The temporary file is created empty, with permissions [0o600]
    (readable and writable only by the file owner).  The file is
    guaranteed to be different from any other file that existed when
@@ -80,7 +85,7 @@ val temp_file : string -> string -> string
 *)
 
 val open_temp_file :
-      ?mode: open_flag list -> string -> string -> string * out_channel
+      ?mode: open_flag list -> ?temp_dir: string -> string -> string -> string * out_channel
 (** Same as {!Filename.temp_file}, but returns both the name of a fresh
    temporary file, and an output channel opened (atomically) on
    this file.  This function is more secure than [temp_file]: there
index 1a41375eb96e13be1eb41cb2c8fdee5dc2bb862a..f3545f324beef4d153b254279a23e04b78bcfaf8 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: format.ml,v 1.74.2.1 2009/04/29 18:33:31 weis Exp $ *)
+(* $Id: format.ml 9244 2009-04-29 18:33:31Z weis $ *)
 
 (* A pretty-printing facility and definition of formatters for ``parallel''
    (i.e. unrelated or independent) pretty-printing on multiple out channels. *)
index f0266e5790f4d64afebdf6f00950b76c51ea6044..3af97b2540c62520427f3bfa5b74926e6f04b6df 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: format.mli,v 1.74 2006/11/17 08:37:07 weis Exp $ *)
+(* $Id: format.mli 9420 2009-11-19 10:17:41Z weis $ *)
 
 (** Pretty printing.
 
@@ -72,7 +72,6 @@
    the evaluation order of printing commands.
 *)
 
-
 (** {6 Boxes} *)
 
 val open_box : int -> unit;;
@@ -112,7 +111,6 @@ val print_char : char -> unit;;
 val print_bool : bool -> unit;;
 (** Prints a boolean in the current box. *)
 
-
 (** {6 Break hints} *)
 
 val print_space : unit -> unit;;
@@ -156,7 +154,6 @@ val print_if_newline : unit -> unit;;
    has just been split. Otherwise, ignore the next formatting
    command. *)
 
-
 (** {6 Margin} *)
 
 val set_margin : int -> unit;;
@@ -170,7 +167,6 @@ val set_margin : int -> unit;;
 val get_margin : unit -> int;;
 (** Returns the position of the right margin. *)
 
-
 (** {6 Maximum indentation limit} *)
 
 val set_max_indent : int -> unit;;
@@ -201,7 +197,6 @@ val get_max_boxes : unit -> int;;
 val over_max_boxes : unit -> bool;;
 (** Tests if the maximum number of boxes allowed have already been opened. *)
 
-
 (** {6 Advanced formatting} *)
 
 val open_hbox : unit -> unit;;
@@ -235,7 +230,6 @@ val open_hovbox : int -> unit;;
    When a new line is printed in the box, [d] is added to the
    current indentation. *)
 
-
 (** {6 Tabulations} *)
 
 val open_tbox : unit -> unit;;
@@ -260,8 +254,7 @@ val set_tab : unit -> unit;;
 (** Sets a tabulation mark at the current insertion point. *)
 
 val print_tab : unit -> unit;;
-(** [print_tab ()] is equivalent to [print_tbreak (0,0)]. *)
-
+(** [print_tab ()] is equivalent to [print_tbreak 0 0]. *)
 
 (** {6 Ellipsis} *)
 
@@ -272,14 +265,13 @@ val set_ellipsis_text : string -> unit;;
 val get_ellipsis_text : unit -> string;;
 (** Return the text of the ellipsis. *)
 
-
-(** {6 Tags} *)
+(** {6 Semantics Tags} *)
 
 type tag = string;;
 
-(** Tags are used to decorate printed entities for user's defined
-   purposes, e.g. setting font and giving size indications for a
-   display device, or marking delimitations of semantics entities
+(** {i Semantics tags} (or simply {e tags}) are used to decorate printed
+   entities for user's defined purposes, e.g. setting font and giving size
+   indications for a display device, or marking delimitation of semantics entities
    (e.g. HTML or TeX elements or terminal escape sequences).
 
    By default, those tags do not influence line breaking calculation:
@@ -293,7 +285,7 @@ type tag = string;;
    material or richer decorated output depending on the treatment of
    tags. By default, tags are not active, hence the output is not
    decorated with tag information.  Once [set_tags] is set to [true],
-   the pretty printer engine honors tags and decorates the output
+   the pretty printer engine honours tags and decorates the output
    accordingly.
 
    When a tag has been opened (or closed), it is both and successively
@@ -345,10 +337,9 @@ val get_print_tags : unit -> bool;;
 val get_mark_tags : unit -> bool;;
 (** Return the current status of tags printing and tags marking. *)
 
+(** {6 Redirecting the standard formatter output} *)
 
-(** {6 Redirecting formatter output} *)
-
-val set_formatter_out_channel : out_channel -> unit;;
+val set_formatter_out_channel : Pervasives.out_channel -> unit;;
 (** Redirect the pretty-printer output to the given channel. *)
 
 val set_formatter_output_functions :
@@ -356,17 +347,56 @@ val set_formatter_output_functions :
 (** [set_formatter_output_functions out flush] redirects the
    pretty-printer output to the functions [out] and [flush].
 
-   The [out] function performs the pretty-printer output. It is called
+   The [out] function performs the pretty-printer string output. It is called
    with a string [s], a start position [p], and a number of characters
    [n]; it is supposed to output characters [p] to [p + n - 1] of
    [s]. The [flush] function is called whenever the pretty-printer is
-   flushed using [print_flush] or [print_newline]. *)
+   flushed (via conversion [%!], pretty-printing indications [@?] or [@.],
+   or using low level function [print_flush] or [print_newline]). *)
 
 val get_formatter_output_functions :
   unit -> (string -> int -> int -> unit) * (unit -> unit);;
 (** Return the current output functions of the pretty-printer. *)
 
-(** {6 Changing the meaning of printing tags} *)
+(** {6 Changing the meaning of standard formatter pretty printing} *)
+
+(** The [Format] module is versatile enough to let you completely redefine
+ the meaning of pretty printing: you may provide your own functions to define
+ how to handle indentation, line breaking, and even printing of all the
+ characters that have to be printed! *)
+
+val set_all_formatter_output_functions :
+  out:(string -> int -> int -> unit) ->
+  flush:(unit -> unit) ->
+  newline:(unit -> unit) ->
+  spaces:(int -> unit) ->
+  unit;;
+(** [set_all_formatter_output_functions out flush outnewline outspace]
+   redirects the pretty-printer output to the functions [out] and
+   [flush] as described in [set_formatter_output_functions]. In
+   addition, the pretty-printer function that outputs a newline is set
+   to the function [outnewline] and the function that outputs
+   indentation spaces is set to the function [outspace].
+
+   This way, you can change the meaning of indentation (which can be
+   something else than just printing space characters) and the
+   meaning of new lines opening (which can be connected to any other
+   action needed by the application at hand). The two functions
+   [outspace] and [outnewline] are normally connected to [out] and
+   [flush]: respective default values for [outspace] and [outnewline]
+   are [out (String.make n ' ') 0 n] and [out "\n" 0 1]. *)
+
+val get_all_formatter_output_functions :
+  unit ->
+  (string -> int -> int -> unit) *
+  (unit -> unit) *
+  (unit -> unit) *
+  (int -> unit);;
+(** Return the current output functions of the pretty-printer,
+   including line breaking and indentation functions. Useful to record the
+  current setting and restore it afterwards. *)
+
+(** {6 Changing the meaning of printing semantics tags} *)
 
 type formatter_tag_functions = {
   mark_open_tag : tag -> string;
@@ -403,56 +433,22 @@ val get_formatter_tag_functions :
   unit -> formatter_tag_functions;;
 (** Return the current tag functions of the pretty-printer. *)
 
-(** {6 Changing the meaning of pretty printing (indentation, line breaking,
- and printing material)} *)
-
-val set_all_formatter_output_functions :
-  out:(string -> int -> int -> unit) ->
-  flush:(unit -> unit) ->
-  newline:(unit -> unit) ->
-  spaces:(int -> unit) ->
-  unit;;
-(** [set_all_formatter_output_functions out flush outnewline outspace]
-   redirects the pretty-printer output to the functions [out] and
-   [flush] as described in [set_formatter_output_functions]. In
-   addition, the pretty-printer function that outputs a newline is set
-   to the function [outnewline] and the function that outputs
-   indentation spaces is set to the function [outspace].
-
-   This way, you can change the meaning of indentation (which can be
-   something else than just printing space characters) and the
-   meaning of new lines opening (which can be connected to any other
-   action needed by the application at hand). The two functions
-   [outspace] and [outnewline] are normally connected to [out] and
-   [flush]: respective default values for [outspace] and [outnewline]
-   are [out (String.make n ' ') 0 n] and [out "\n" 0 1]. *)
-
-val get_all_formatter_output_functions :
-  unit ->
-  (string -> int -> int -> unit) *
-  (unit -> unit) *
-  (unit -> unit) *
-  (int -> unit);;
-(** Return the current output functions of the pretty-printer,
-   including line breaking and indentation functions. *)
-
-
 (** {6 Multiple formatted output} *)
 
 type formatter;;
 (** Abstract data type corresponding to a pretty-printer (also called a
-   formatter) and all its machinery.
-   Defining new pretty-printers permits the output of
-   material in parallel on several channels.
-   Parameters of a pretty-printer are local to this pretty-printer:
-   margin, maximum indentation limit, maximum number of boxes
-   simultaneously opened, ellipsis, and so on, are specific to
-   each pretty-printer and may be fixed independently.
-   Given an output channel [oc], a new formatter writing to
-   that channel is obtained by calling [formatter_of_out_channel oc].
-   Alternatively, the [make_formatter] function allocates a new
-   formatter with explicit output and flushing functions
-   (convenient to output material to strings for instance). *)
+  formatter) and all its machinery.
+  Defining new pretty-printers permits the output of
+  material in parallel on several channels.
+  Parameters of a pretty-printer are local to this pretty-printer:
+  margin, maximum indentation limit, maximum number of boxes
+  simultaneously opened, ellipsis, and so on, are specific to
+  each pretty-printer and may be fixed independently.
+  Given an output channel [oc], a new formatter writing to
+  that channel is obtained by calling [formatter_of_out_channel oc].
+  Alternatively, the [make_formatter] function allocates a new
+  formatter with explicit output and flushing functions
+  (convenient to output material to strings for instance). *)
 
 val formatter_of_out_channel : out_channel -> formatter;;
 (** [formatter_of_out_channel oc] returns a new formatter that
index faed5cf904936c34d9b7831d52dd82f1144e369b..ca97665be0d79dfa9950375fd2de00aca2f2e55a 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: gc.ml,v 1.20.24.1 2008/11/18 10:24:43 doligez Exp $ *)
+(* $Id: gc.ml 9131 2008-11-18 10:24:43Z doligez $ *)
 
 type stat = {
   minor_words : float;
index ee56196dd6f3f441afc0826515dea6ad4fdf742f..c399bcdd4dee1ec7aca4248e451ac0f8f4f2dde4 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: gc.mli,v 1.44.4.1 2008/11/18 10:24:43 doligez Exp $ *)
+(* $Id: gc.mli 9131 2008-11-18 10:24:43Z doligez $ *)
 
 (** Memory management control and statistics; finalised values. *)
 
index c3dc50bb114cf99ac0e793bb963290245e01a074..12837de61ef7a5f39b9fe6f60416565eb69a5e56 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: genlex.ml,v 1.9 2002/04/18 07:27:42 garrigue Exp $ *)
+(* $Id: genlex.ml 4694 2002-04-18 07:27:47Z garrigue $ *)
 
 type token =
     Kwd of string
index a961159690bba1df07cddce1c18869559e245dd8..c03ef294afde24db48b4220ebfc561824d170344 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: genlex.mli,v 1.9 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: genlex.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** A generic lexical analyzer.
 
index 6e627449519032f25f023941478b61ea11036793..b65c5dc4a2abcdc048059b14d1520af6d7c50a7c 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: hashtbl.ml,v 1.27 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: hashtbl.ml 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (* Hash tables *)
 
index 52c4994b763f7aeade960825b356a3142893411c..e66c4864cf3d570eb44cf91a19b8d619cf94d5d8 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: hashtbl.mli,v 1.39 2005/05/04 13:36:47 doligez Exp $ *)
+(* $Id: hashtbl.mli 6854 2005-05-04 13:36:47Z doligez $ *)
 
 (** Hash tables and hash functions.
 
index 9ec345d2c17890ece39888b7089f821863f2b452..f3d8a983b82faa327968002a07327ed1e3f6861f 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: header.c,v 1.17 2001/12/07 13:40:52 xleroy Exp $ */
+/* $Id: header.c 4144 2001-12-07 13:41:02Z xleroy $ */
 
 /* The launcher for bytecode executables (if #! is not working) */
 
index cf459fa522bdd68ab7ac253fe5c15be53db3d3bd..6e74254176db73a8b2794e053db454ab4e384373 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: headernt.c,v 1.20 2007/02/07 10:31:36 ertai Exp $ */
+/* $Id: headernt.c 7829 2007-02-07 10:31:36Z ertai $ */
 
 #define STRICT
 #define WIN32_LEAN_AND_MEAN
index a81acec0e60516435561bb97d71ede29cff8dcaf..3eb10285b14669d6cd81fe34c0ce714d32703005 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: int32.ml,v 1.10 2007/01/30 09:34:36 xleroy Exp $ *)
+(* $Id: int32.ml 7818 2007-01-30 09:34:36Z xleroy $ *)
 
 (* Module [Int32]: 32-bit integers *)
 
index 63c2ffd3a69418e857c667c6ab8676e8c86ed212..eef353338b821bbb7fb03979e959739ea8b1bf88 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: int32.mli,v 1.19 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: int32.mli 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (** 32-bit integers.
 
index 58f71f40805ff06fdf65faf50e11241becfc33ef..6d7168a2a9ee48c1d4a06e88eb6142f5ec11b53e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: int64.ml,v 1.12 2007/01/30 09:34:36 xleroy Exp $ *)
+(* $Id: int64.ml 7818 2007-01-30 09:34:36Z xleroy $ *)
 
 (* Module [Int64]: 64-bit integers *)
 
index c50dd746022f336d14e259094c573382129d0991..44fabfe3b19a22110b97a48d2b97051f4c956521 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: int64.mli,v 1.20 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: int64.mli 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (** 64-bit integers.
 
index 57c41fd96b93d29eac2e8329c765799fcd8a5725..15becc85a047d2d81c7b5867032c9cbc9b8f7361 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lazy.ml,v 1.13 2008/08/01 16:57:10 mauny Exp $ *)
+(* $Id: lazy.ml 8974 2008-08-01 16:57:10Z mauny $ *)
 
 (* Module [Lazy]: deferred computations *)
 
index cb613e0ddbdd76986f520b11c045af14a7656c0c..6d9290448eb7a983c8418a4e1d5333acce27a1e2 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lazy.mli,v 1.11 2008/08/01 16:57:10 mauny Exp $ *)
+(* $Id: lazy.mli 8974 2008-08-01 16:57:10Z mauny $ *)
 
 (** Deferred computations. *)
 
index a82ae35240ee5968f0b2ddf84e6e5ad65a89a6bd..78b4151731ffd412f20ce3767727c1bf58cdb56e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexing.ml,v 1.25 2008/01/22 16:27:53 doligez Exp $ *)
+(* $Id: lexing.ml 8787 2008-01-22 16:27:53Z doligez $ *)
 
 (* The run-time library for lexers generated by camllex *)
 
index 482d2cc843de72a86b6e2b2f4c4a430baee1c7cb..591a74d09fd43c160c1d3ed6e2f559d3b07db49b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexing.mli,v 1.33.4.1 2008/10/08 13:07:13 doligez Exp $ *)
+(* $Id: lexing.mli 9079 2008-10-08 13:09:39Z doligez $ *)
 
 (** The run-time library for lexers generated by [ocamllex]. *)
 
index e51b0b765b8aad298f6b2fc0fffb2cae944bd9c1..80a76c4956474686ff378f38373dc1b974896e52 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: list.ml,v 1.33 2006/09/11 12:18:00 doligez Exp $ *)
+(* $Id: list.ml 7597 2006-09-11 12:18:00Z doligez $ *)
 
 (* List operations *)
 
index 0ee4adcaa518a398c09eadb3c8407879c7050cea..26c53869224ffb05c953641033d58115b25e9731 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: list.mli,v 1.47 2006/09/11 12:18:00 doligez Exp $ *)
+(* $Id: list.mli 7597 2006-09-11 12:18:00Z doligez $ *)
 
 (** List operations.
 
index e7f31fc28a9a0a6b10ebdf693b51f49f78532edd..896caf9ba763a8e6245245d64da805a287a58c32 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: listLabels.ml,v 1.3 2001/12/07 13:40:54 xleroy Exp $ *)
+(* $Id: listLabels.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Module [ListLabels]: labelled List module *)
 
index 730a974f96807ec8c0b6329c4c9252ad558cc212..b9f393662ead06f7d8b9766a4140504ace39fb37 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: listLabels.mli,v 1.12 2007/01/22 08:06:09 garrigue Exp $ *)
+(* $Id: listLabels.mli 7805 2007-01-22 08:06:09Z garrigue $ *)
 
 (** List operations.
 
index 9423ae85ff5bc1f354bb4330d925d828b2d151d6..fefbee68f22c307eca19650ee5a0c7596163d7e7 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: map.ml,v 1.17 2005/08/13 20:59:37 doligez Exp $ *)
+(* $Id: map.ml 7019 2005-08-13 20:59:37Z doligez $ *)
 
 module type OrderedType =
   sig
index 877b0f9ec31f75a14b1caa1c406b560783cdea08..08290248da810dbe5010f89199a37bcb67b3e250 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: map.mli,v 1.33.18.1 2009/03/21 16:35:48 xleroy Exp $ *)
+(* $Id: map.mli 9190 2009-03-21 16:35:48Z xleroy $ *)
 
 (** Association tables over ordered types.
 
index 41f299c6c053bbfb288f497e1b15080c8fa80a8d..f2eaf00dbb23099e379f990a3800a3c431a7cfee 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: marshal.ml,v 1.9 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: marshal.ml 7164 2005-10-25 18:34:07Z doligez $ *)
 
 type extern_flags =
     No_sharing
index a453708b019bd852f443c24d5236e8e746194351..16ba32c1b539fbd976bb91ab14536b34e3738518 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: marshal.mli,v 1.14 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: marshal.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** Marshaling of data structures.
 
index 19a974427ba2bb3274920da88e56d667a8131be8..567c316f5cc3c09b86c751480795e5e1c7da8551 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: moreLabels.ml,v 1.2 2001/12/07 13:40:55 xleroy Exp $ *)
+(* $Id: moreLabels.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Module [MoreLabels]: meta-module for compatibility labelled libraries *)
 
index fa6b355066dd5ca75682bf59b72fa8757253ae2c..96d98a295bfbac0061b25a1c525cbe57a9ebad3b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: moreLabels.mli,v 1.12 2004/04/23 10:01:34 xleroy Exp $ *)
+(* $Id: moreLabels.mli 6250 2004-04-23 10:01:34Z xleroy $ *)
 
 (** Extra labeled libraries.
 
index 83c2a9ba164c5471d08dc3df25fe4a220abcdd8c..126e4d380c1766c51dd0db121356ad5d9b7678da 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: nativeint.ml,v 1.11 2007/01/30 09:34:36 xleroy Exp $ *)
+(* $Id: nativeint.ml 7818 2007-01-30 09:34:36Z xleroy $ *)
 
 (* Module [Nativeint]: processor-native integers *)
 
index 19f7bb4229597a36239ba4035008af50ae7cba58..dd3fd7f764fcc7fe98a44d2b57528e1cb492be70 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: nativeint.mli,v 1.18 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: nativeint.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** Processor-native integers.
 
index 86d062580d1af85332cd7f1905cd0ca490124a6c..32154e56fc52c2dd9dc4934e0e496b3b62b5e79c 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: obj.ml,v 1.24 2008/01/29 13:11:15 doligez Exp $ *)
+(* $Id: obj.ml 9482 2009-12-22 13:32:12Z doligez $ *)
 
 (* Operations on internal representations of values *)
 
@@ -27,9 +27,12 @@ external set_tag : t -> int -> unit = "caml_obj_set_tag"
 external size : t -> int = "%obj_size"
 external field : t -> int -> t = "%obj_field"
 external set_field : t -> int -> t -> unit = "%obj_set_field"
+let double_field x i = Array.get (obj x : float array) i
+let set_double_field x i v = Array.set (obj x : float array) i v
 external new_block : int -> int -> t = "caml_obj_block"
 external dup : t -> t = "caml_obj_dup"
 external truncate : t -> int -> unit = "caml_obj_truncate"
+external add_offset : t -> int -> t = "caml_obj_add_offset"
 
 let marshal (obj : t) =
   Marshal.to_string obj []
index 1d6930816860ee759bbb26184287786120cfd266..d3a8c064b1ec4af097614ea70b119a9466d09f9d 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: obj.mli,v 1.30 2008/01/29 13:11:15 doligez Exp $ *)
+(* $Id: obj.mli 9482 2009-12-22 13:32:12Z doligez $ *)
 
 (** Operations on internal representations of values.
 
@@ -28,11 +28,14 @@ external is_int : t -> bool = "%obj_is_int"
 external tag : t -> int = "caml_obj_tag"
 external set_tag : t -> int -> unit = "caml_obj_set_tag"
 external size : t -> int = "%obj_size"
-external truncate : t -> int -> unit = "caml_obj_truncate"
 external field : t -> int -> t = "%obj_field"
 external set_field : t -> int -> t -> unit = "%obj_set_field"
+val double_field : t -> int -> float
+val set_double_field : t -> int -> float -> unit
 external new_block : int -> int -> t = "caml_obj_block"
 external dup : t -> t = "caml_obj_dup"
+external truncate : t -> int -> unit = "caml_obj_truncate"
+external add_offset : t -> int -> t = "caml_obj_add_offset"
 
 val lazy_tag : int
 val closure_tag : int
index 33245e3c587b0d7b0f4a93c959edfad879eebc3b..c7322c849b0a95f2ebf3a2e51c40a01103c0b9a2 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: oo.ml,v 1.27 2004/05/26 11:10:52 garrigue Exp $ *)
+(* $Id: oo.ml 6331 2004-05-26 11:10:52Z garrigue $ *)
 
 let copy = CamlinternalOO.copy
 external id : < .. > -> int = "%field1"
index 623fe1eb4260fc4d81088475ffa351e3e2a16923..7ff2f1bc39a2e1727ee12d6d2a39bbd7852187e0 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: oo.mli,v 1.28 2004/05/26 11:10:52 garrigue Exp $ *)
+(* $Id: oo.mli 6331 2004-05-26 11:10:52Z garrigue $ *)
 
 (** Operations on objects *)
 
index 476a04da6b01ddf2d00959f38e0e5f15a671c0d6..ce24917477b1e33beaa4113774c5f2f422567a6e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: parsing.ml,v 1.19.2.1 2009/01/13 15:17:51 doligez Exp $ *)
+(* $Id: parsing.ml 9163 2009-01-13 15:17:51Z doligez $ *)
 
 (* The parsing engine *)
 
index a546a0922d8735db7b3c3170c626b7f5b6709025..250a10cfd249d3fab7dd5f9ecf9def3aa5e3de56 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: parsing.mli,v 1.19 2008/08/06 09:38:21 xleroy Exp $ *)
+(* $Id: parsing.mli 8983 2008-08-06 09:38:25Z xleroy $ *)
 
 (** The run-time library for parsers generated by [ocamlyacc]. *)
 
index 0166756892ee5600f7a8264de628f5ca4593d593..1c8c3d4e021b41fdc76b1d6152f5585e8da00ca7 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: pervasives.ml,v 1.81 2006/11/17 08:34:01 weis Exp $ *)
+(* $Id: pervasives.ml 9412 2009-11-09 11:42:39Z weis $ *)
 
 (* type 'a option = None | Some of 'a *)
 
@@ -398,7 +398,7 @@ external incr: int ref -> unit = "%incr"
 external decr: int ref -> unit = "%decr"
 
 (* Formats *)
-type ('a, 'b, 'c, 'd) format4 = ('a, 'b, 'c, 'c, 'c, 'd) format6 
+type ('a, 'b, 'c, 'd) format4 = ('a, 'b, 'c, 'c, 'c, 'd) format6
 
 type ('a, 'b, 'c) format = ('a, 'b, 'c, 'c) format4
 
@@ -416,7 +416,8 @@ let (( ^^ ) :
       ('f, 'b, 'c, 'e, 'g, 'h) format6 ->
       ('a, 'b, 'c, 'd, 'g, 'h) format6) =
   fun fmt1 fmt2 ->
-    string_to_format (format_to_string fmt1 ^ format_to_string fmt2);;
+    string_to_format (format_to_string fmt1 ^ "%," ^ format_to_string fmt2)
+;;
 
 let string_of_format fmt =
   let s = format_to_string fmt in
index 935db8de8ac91a82ae64a11f13c2bbd55cf08e23..e07eeda8d7a27182a74cba4e77d23f54d9260646 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: pervasives.mli,v 1.113.2.2 2009/04/30 09:05:57 weis Exp $ *)
+(* $Id: pervasives.mli 9352 2009-09-24 09:17:01Z doligez $ *)
 
 (** The initially opened module.
 
@@ -71,7 +71,7 @@ external ( >= ) : 'a -> 'a -> bool = "%greaterequal"
    The ordering is compatible with [(=)]. As in the case
    of [(=)], mutable structures are compared by contents.
    Comparison between functional values raises [Invalid_argument].
-   Comparison between cyclic structures does not terminate. *)
+   Comparison between cyclic structures may not terminate. *)
 
 external compare : 'a -> 'a -> int = "%compare"
 (** [compare x y] returns [0] if [x] is equal to [y],
@@ -93,10 +93,14 @@ external compare : 'a -> 'a -> int = "%compare"
    the {!List.sort} and {!Array.sort} functions. *)
 
 val min : 'a -> 'a -> 'a
-(** Return the smaller of the two arguments. *)
+(** Return the smaller of the two arguments. 
+    The result is unspecified if one of the arguments contains
+    the float value [nan]. *)
 
 val max : 'a -> 'a -> 'a
-(** Return the greater of the two arguments. *)
+(** Return the greater of the two arguments.
+    The result is unspecified if one of the arguments contains
+    the float value [nan]. *)
 
 external ( == ) : 'a -> 'a -> bool = "%eq"
 (** [e1 == e2] tests for physical equality of [e1] and [e2].
@@ -226,8 +230,8 @@ external ( asr ) : int -> int -> int = "%asrint"
    [neg_infinity] for [-1.0 /. 0.0], and [nan] (``not a number'')
    for [0.0 /. 0.0].  These special numbers then propagate through
    floating-point computations as expected: for instance,
-   [1.0 /. infinity] is [0.0], and any operation with [nan] as
-   argument returns [nan] as result.
+   [1.0 /. infinity] is [0.0], and any arithmetic operation with [nan]
+   as argument returns [nan] as result.
 *)
 
 external ( ~-. ) : float -> float = "%negfloat"
index 4cd0eecabb1f10932dc674a927f560a319fd1bbe..42dda40827c426e2a59f7aa41621266a05ba6062 100644 (file)
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printexc.ml,v 1.19 2008/03/14 13:47:24 xleroy Exp $ *)
+(* $Id: printexc.ml 9335 2009-09-16 13:34:57Z xclerc $ *)
 
 open Printf;;
 
+let printers = ref []
+
 let locfmt = format_of_string "File \"%s\", line %d, characters %d-%d: %s";;
 
 let field x i =
@@ -48,9 +50,16 @@ let to_string = function
   | Assert_failure(file, line, char) ->
       sprintf locfmt file line char (char+6) "Assertion failed"
   | x ->
-      let x = Obj.repr x in
-      let constructor = (Obj.magic(Obj.field (Obj.field x 0) 0) : string) in
-      constructor ^ (fields x)
+      let rec conv = function
+        | hd :: tl ->
+            (match try hd x with _ -> None with
+            | Some s -> s
+            | None -> conv tl)
+        | [] ->
+            let x = Obj.repr x in
+            let constructor = (Obj.magic(Obj.field (Obj.field x 0) 0) : string) in
+            constructor ^ (fields x) in
+      conv !printers
 ;;
 
 let print fct arg =
@@ -125,3 +134,5 @@ let get_backtrace () =
 external record_backtrace: bool -> unit = "caml_record_backtrace"
 external backtrace_status: unit -> bool = "caml_backtrace_status"
 
+let register_printer fn =
+  printers := fn :: !printers
index 32cdc67f972f0903755eac1ecfda77b4093ef932..21d3e9af60802c39a363d2dafd776d260d82e302 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printexc.mli,v 1.13 2008/03/14 13:47:24 xleroy Exp $ *)
+(* $Id: printexc.mli 9335 2009-09-16 13:34:57Z xclerc $ *)
 
 (** Facilities for printing exceptions. *)
 
@@ -57,3 +57,13 @@ val record_backtrace: bool -> unit
 val backtrace_status: unit -> bool
 (** [Printexc.backtrace_status()] returns [true] if exception
     backtraces are currently recorded, [false] if not. *)
+
+val register_printer : (exn -> string option) -> unit
+(** [Printexc.register_printer fn] registers [fn] as an exception printer.
+    The printer should return [None] if it does not know how to convert
+    the passed exception, and [Some s] with [s] the resulting string if
+    it can convert the passed exception.
+    When converting an exception into a string, the printers will be invoked
+    in the reverse order of their registrations, until a printer returns
+    a [Some s] value (if no such printer exists, the runtime will use a
+    generic printer). *)
index 920afdb44f2a44ef1755ef1f6150a0a28283ee6b..bc50ca753b80bfd11368e7650e1992f71b08cf20 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printf.ml,v 1.58.2.2 2009/04/29 19:02:05 weis Exp $ *)
+(* $Id: printf.ml 9412 2009-11-09 11:42:39Z weis $ *)
 
 external format_float: string -> float -> string
   = "caml_format_float"
@@ -39,8 +39,8 @@ module Sformat = struct
 
   let add_int_index i idx = index_of_int (i + int_of_index idx);;
   let succ_index = add_int_index 1;;
-  (* Litteral position are one-based (hence pred p instead of p). *)
-  let index_of_litteral_position p = index_of_int (pred p);;
+  (* Literal position are one-based (hence pred p instead of p). *)
+  let index_of_literal_position p = index_of_int (pred p);;
 
   external length : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> int
     = "%string_length"
@@ -122,12 +122,12 @@ let extract_format fmt start stop widths =
   let skip_positional_spec start =
     match Sformat.unsafe_get fmt start with
     | '0'..'9' ->
-      let rec skip_int_litteral i =
+      let rec skip_int_literal i =
         match Sformat.unsafe_get fmt i with
-        | '0'..'9' -> skip_int_litteral (succ i)
+        | '0'..'9' -> skip_int_literal (succ i)
         | '$' -> succ i
         | _ -> start in
-      skip_int_litteral (succ start)
+      skip_int_literal (succ start)
     | _ -> start in
   let start = skip_positional_spec (succ start) in
   let b = Buffer.create (stop - start + 10) in
@@ -140,7 +140,7 @@ let extract_format fmt start stop widths =
         let i = skip_positional_spec (succ i) in
         fill_format i t
       | ('*', []) ->
-        assert false (* should not happen *)
+        assert false (* Should not happen since this is ill-typed. *)
       | (c, _) ->
         Buffer.add_char b c;
         fill_format (succ i) widths in
@@ -161,7 +161,7 @@ let extract_format_float conv fmt start stop widths =
    let sfmt = extract_format fmt start stop widths in
    match conv with
    | 'F' ->
-     sfmt.[String.length sfmt - 1] <- 'f';
+     sfmt.[String.length sfmt - 1] <- 'g';
      sfmt
    | _ -> sfmt
 ;;
@@ -169,7 +169,7 @@ let extract_format_float conv fmt start stop widths =
 (* Returns the position of the next character following the meta format
    string, starting from position [i], inside a given format [fmt].
    According to the character [conv], the meta format string is
-   enclosed by the delimitors %{ and %} (when [conv = '{']) or %( and
+   enclosed by the delimiters %{ and %} (when [conv = '{']) or %( and
    %) (when [conv = '(']). Hence, [sub_format] returns the index of
    the character following the [')'] or ['}'] that ends the meta format,
    according to the character [conv]. *)
@@ -215,7 +215,7 @@ let iter_on_format_args fmt add_conv add_char =
   and scan_conv skip i =
     if i > lim then incomplete_format fmt else
     match Sformat.unsafe_get fmt i with
-    | '%' | '!' -> succ i
+    | '%' | '!' | ',' -> succ i
     | 's' | 'S' | '[' -> add_conv skip i 's'
     | 'c' | 'C' -> add_conv skip i 'c'
     | 'd' | 'i' |'o' | 'u' | 'x' | 'X' | 'N' -> add_conv skip i 'i'
@@ -307,6 +307,7 @@ let ac_of_format fmt =
 
 let count_arguments_of_format fmt =
   let ac = ac_of_format fmt in
+  (* For printing only regular arguments have to be counted. *)
   ac.ac_rglr
 ;;
 
@@ -384,7 +385,7 @@ type positional_specification =
 
    Unfortunately, the type of a parameter specified via a [*$] positional
    specification should be the type of the corresponding argument to
-   [printf], hence this sould be the type of the $n$-th argument to [printf]
+   [printf], hence this should be the type of the $n$-th argument to [printf]
    with $n$ being the {\em value} of the integer argument defining [*]; we
    clearly cannot statically guess the value of this parameter in the general
    case. Put it another way: this means type dependency, which is completely
@@ -393,19 +394,19 @@ type positional_specification =
 let scan_positional_spec fmt got_spec n i =
   match Sformat.unsafe_get fmt i with
   | '0'..'9' as d ->
-    let rec get_int_litteral accu j =
+    let rec get_int_literal accu j =
       match Sformat.unsafe_get fmt j with
       | '0'..'9' as d ->
-        get_int_litteral (10 * accu + (int_of_char d - 48)) (succ j)
+        get_int_literal (10 * accu + (int_of_char d - 48)) (succ j)
       | '$' ->
         if accu = 0 then
           failwith "printf: bad positional specification (0)." else
-        got_spec (Spec_index (Sformat.index_of_litteral_position accu)) (succ j)
+        got_spec (Spec_index (Sformat.index_of_literal_position accu)) (succ j)
       (* Not a positional specification: tell so the caller, and go back to
          scanning the format from the original [i] position we were called at
          first. *)
       | _ -> got_spec Spec_none i in
-    get_int_litteral (int_of_char d - 48) (succ i)
+    get_int_literal (int_of_char d - 48) (succ i)
   (* No positional specification: tell so the caller, and go back to scanning
      the format from the original [i] position. *)
   | _ -> got_spec Spec_none i
@@ -427,15 +428,12 @@ let get_index spec n =
   | Spec_index p -> p
 ;;
 
-(* Format a float argument as a valid Caml lexem. *)
-let format_float_lexem =
-  let valid_float_lexem sfmt s =
+(* Format a float argument as a valid Caml lexeme. *)
+let format_float_lexeme =
+  let valid_float_lexeme sfmt s =
     let l = String.length s in
     if l = 0 then "nan" else
-      let add_dot sfmt s =
-        if s.[0] = ' ' || s.[0] = '+' || s.[0] = '0'
-        then String.sub s 1 (l - 1) ^ "."
-        else String.sub s 0 (l - 1) ^ "." in
+      let add_dot sfmt s = s ^ "." in
 
       let rec loop i =
         if i >= l then add_dot sfmt s else
@@ -448,7 +446,7 @@ let format_float_lexem =
    (fun sfmt x ->
     let s = format_float sfmt x in
     match classify_float x with
-    | FP_normal | FP_subnormal | FP_zero -> valid_float_lexem sfmt s
+    | FP_normal | FP_subnormal | FP_zero -> valid_float_lexeme sfmt s
     | FP_nan | FP_infinite -> s)
 ;;
 
@@ -470,8 +468,8 @@ let format_float_lexem =
 
 (* Note: here, rather than test explicitly against [Sformat.length fmt]
    to detect the end of the format, we use [Sformat.unsafe_get] and
-   rely on the fact that we'll get a "nul" character if we access
-   one past the end of the string.  These "nul" characters are then
+   rely on the fact that we'll get a "null" character if we access
+   one past the end of the string.  These "null" characters are then
    caught by the [_ -> bad_conversion] clauses below.
    Don't do this at home, kids. *)
 let scan_format fmt args n pos cont_s cont_a cont_t cont_f cont_m =
@@ -502,7 +500,7 @@ let scan_format fmt args n pos cont_s cont_a cont_t cont_f cont_m =
       let (x : string) = get_arg spec n in
       let x = if conv = 's' then x else "\"" ^ String.escaped x ^ "\"" in
       let s =
-        (* optimize for common case %s *)
+        (* Optimize for common case %s *)
         if i = succ pos then x else
         format_string (extract_format fmt pos i widths) x in
       cont_s (next_index spec n) s (succ i)
@@ -523,7 +521,8 @@ let scan_format fmt args n pos cont_s cont_a cont_t cont_f cont_m =
     | 'F' as conv ->
       let (x : float) = get_arg spec n in
       let s =
-        format_float_lexem (extract_format_float conv fmt pos i widths) x in
+        if widths = [] then Pervasives.string_of_float x else
+        format_float_lexeme (extract_format_float conv fmt pos i widths) x in
       cont_s (next_index spec n) s (succ i)
     | 'B' | 'b' ->
       let (x : bool) = get_arg spec n in
@@ -560,6 +559,7 @@ let scan_format fmt args n pos cont_s cont_a cont_t cont_f cont_m =
         let s = format_int (extract_format_int 'n' fmt pos i widths) x in
         cont_s (next_index spec n) s (succ i)
       end
+    | ',' -> cont_s n "" (succ i)
     | '!' -> cont_f n (succ i)
     | '{' | '(' as conv (* ')' '}' *) ->
       let (xf : ('a, 'b, 'c, 'd, 'e, 'f) format6) = get_arg spec n in
index 6249bcc07f382fbd94f9fc5206ed47111734e151..450b497efb71a691d500f560d983162f2eb354fa 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printf.mli,v 1.57 2008/09/27 20:50:01 weis Exp $ *)
+(* $Id: printf.mli 9421 2009-11-19 10:21:42Z weis $ *)
 
 (** Formatted output functions. *)
 
@@ -78,6 +78,7 @@ val fprintf : out_channel -> ('a, out_channel, unit) format -> 'a
      type as [fmt].
    - [!]: take no argument and flush the output.
    - [%]: take no argument and output one [%] character.
+   - [,]: the no-op delimiter for conversion specifications.
 
    The optional [flags] are:
    - [-]: left-justify the output (default is right justification).
index be4305a0f939eb1d355a0f014144543e7b48139e..d7d66a8419a6dc1667af92ccf49d999dfb39af51 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: queue.ml,v 1.10 2005/08/26 12:10:47 doligez Exp $ *)
+(* $Id: queue.ml 7032 2005-08-26 12:10:47Z doligez $ *)
 
 exception Empty
 
index f34664005fd20fd5bfe076e3ae9c4a980508d993..d8b802e90048ce1aadb4df44db4be318d6f3b19c 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: queue.mli,v 1.16 2002/06/27 08:48:26 xleroy Exp $ *)
+(* $Id: queue.mli 4956 2002-06-27 08:48:26Z xleroy $ *)
 
 (** First-in first-out queues.
 
index acdb334338ef50bb12c36f5abef638308c9af249..f38a067e73c673e0bdec886fe8d71701c2a31742 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: random.ml,v 1.22 2003/12/16 18:09:43 doligez Exp $ *)
+(* $Id: random.ml 6023 2003-12-16 18:09:44Z doligez $ *)
 
 (* "Linear feedback shift register" pseudo-random number generator. *)
 (* References: Robert Sedgewick, "Algorithms", Addison-Wesley *)
index 37f05306919fe93ab5bb9138be228dd80774a608..56785e0bbce1dc0172c8d88b49dbf797b09ba7dc 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: random.mli,v 1.17 2007/02/09 13:31:15 doligez Exp $ *)
+(* $Id: random.mli 7849 2007-02-09 13:31:15Z doligez $ *)
 
 (** Pseudo-random number generators (PRNG). *)
 
index 7ec4f83dc4087a117d0a95e2e9aa6d2f200f8ee1..93c1ace8ef50682a28575860c5fe307738262481 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scanf.ml,v 1.80.2.2 2009/04/29 18:27:37 weis Exp $ *)
+(* $Id: scanf.ml 9417 2009-11-19 09:46:46Z weis $ *)
 
 (* The run-time library for scanners. *)
 
@@ -47,16 +47,16 @@ val checked_peek_char : scanbuf -> char;;
     input buffer has reached an end of file, the function raises exception
     [End_of_file]. *)
 
-val store_char : scanbuf -> char -> int -> int;;
-(* [Scanning.store_char ib c lim] adds [c] to the token buffer
+val store_char : int -> scanbuf -> char -> int;;
+(* [Scanning.store_char lim ib c] adds [c] to the token buffer
     of the scanning buffer. It also advances the scanning buffer for one
     character and returns [lim - 1], indicating the new limit
     for the length of the current token. *)
 
-val skip_char : scanbuf -> int -> int;;
-(* [Scanning.skip_char ib lim] ignores the current character. *)
+val skip_char : int -> scanbuf -> int;;
+(* [Scanning.skip_char lim ib] ignores the current character. *)
 
-val ignore_char : scanbuf -> int -> int;;
+val ignore_char : int -> scanbuf -> int;;
 (* [Scanning.ignore_char ib lim] ignores the current character and
    decrements the limit. *)
 
@@ -186,16 +186,16 @@ let token ib =
 
 let token_count ib = ib.token_count;;
 
-let skip_char ib max =
+let skip_char max ib =
   invalidate_current_char ib;
   max
 ;;
 
-let ignore_char ib max = skip_char ib (max - 1);;
+let ignore_char max ib = skip_char (max - 1) ib;;
 
-let store_char ib c max =
+let store_char max ib c =
   Buffer.add_char ib.tokbuf c;
-  ignore_char ib max
+  ignore_char max ib
 ;;
 
 let default_token_buffer_size = 1024;;
@@ -379,8 +379,8 @@ let incomplete_format fmt =
        (Sformat.to_string fmt))
 ;;
 
-let bad_float () = bad_input "no dot or exponent part found in
-float token"
+let bad_float () =
+  bad_input "no dot or exponent part found in float token"
 ;;
 
 let character_mismatch_err c ci =
@@ -407,11 +407,18 @@ let compatible_format_type fmt1 fmt2 =
    In this case, the character c has been explicitely specified in the
    format as being mandatory in the input; hence we should fail with
    End_of_file in case of end_of_input.
-   That's why we use checked_peek_char here. *)
-let check_char ib c =
+   That's why we use checked_peek_char here.
+   We are also careful to treat "\r\n" in the input as a end of line marker: it
+   always matches a '\n' specification in the input format string.
+ *)
+let rec check_char ib c =
   let ci = Scanning.checked_peek_char ib in
-  if ci = c then Scanning.invalidate_current_char ib else
-    character_mismatch c ci
+  if ci = c then Scanning.invalidate_current_char ib else begin
+    match ci with
+    | '\r' when c = '\n' ->
+      Scanning.invalidate_current_char ib; check_char ib '\n'
+    | _ -> character_mismatch c ci
+  end
 ;;
 
 (* Checks that the current char is indeed one of the stopper characters,
@@ -500,10 +507,10 @@ let rec scan_decimal_digits max ib =
   if Scanning.eof ib then max else
   match c with
   | '0' .. '9' as c ->
-    let max = Scanning.store_char ib c max in
+    let max = Scanning.store_char max ib c in
     scan_decimal_digits max ib
   | '_' ->
-    let max = Scanning.ignore_char ib max in
+    let max = Scanning.ignore_char max ib in
     scan_decimal_digits max ib
   | _ -> max
 ;;
@@ -512,7 +519,7 @@ let scan_decimal_digits_plus max ib =
   let c = Scanning.checked_peek_char ib in
   match c with
   | '0' .. '9' ->
-    let max = Scanning.store_char ib c max in
+    let max = Scanning.store_char max ib c in
     scan_decimal_digits max ib
   | c -> bad_input_char c
 ;;
@@ -526,16 +533,16 @@ let scan_digits_plus digitp max ib =
     if Scanning.eof ib then max else
     match c with
     | c when digitp c ->
-      let max = Scanning.store_char ib c max in
+      let max = Scanning.store_char max ib c in
       scan_digits max
     | '_' ->
-      let max = Scanning.ignore_char ib max in
+      let max = Scanning.ignore_char max ib in
       scan_digits max
     | _ -> max in
 
   let c = Scanning.checked_peek_char ib in
   if digitp c then
-    let max = Scanning.store_char ib c max in
+    let max = Scanning.store_char max ib c in
     scan_digits max
   else bad_input_char c
 ;;
@@ -567,8 +574,8 @@ let scan_unsigned_decimal_int = scan_decimal_digits_plus;;
 let scan_sign max ib =
   let c = Scanning.checked_peek_char ib in
   match c with
-  | '+' -> Scanning.store_char ib c max
-  | '-' -> Scanning.store_char ib c max
+  | '+' -> Scanning.store_char max ib c
+  | '-' -> Scanning.store_char max ib c
   | c -> max
 ;;
 
@@ -584,14 +591,14 @@ let scan_optionally_signed_decimal_int max ib =
 let scan_unsigned_int max ib =
   match Scanning.checked_peek_char ib with
   | '0' as c ->
-    let max = Scanning.store_char ib c max in
+    let max = Scanning.store_char max ib c in
     if max = 0 then max else
     let c = Scanning.peek_char ib in
     if Scanning.eof ib then max else
     begin match c with
-    | 'x' | 'X' -> scan_hexadecimal_int (Scanning.store_char ib c max) ib
-    | 'o' -> scan_octal_int (Scanning.store_char ib c max) ib
-    | 'b' -> scan_binary_int (Scanning.store_char ib c max) ib
+    | 'x' | 'X' -> scan_hexadecimal_int (Scanning.store_char max ib c) ib
+    | 'o' -> scan_octal_int (Scanning.store_char max ib c) ib
+    | 'b' -> scan_binary_int (Scanning.store_char max ib c) ib
     | c -> scan_decimal_digits max ib end
   | c -> scan_unsigned_decimal_int max ib
 ;;
@@ -620,7 +627,7 @@ let scan_frac_part max ib =
   if Scanning.eof ib then max else
   match c with
   | '0' .. '9' as c ->
-    scan_decimal_digits (Scanning.store_char ib c max) ib
+    scan_decimal_digits (Scanning.store_char max ib c) ib
   | _ -> max
 ;;
 
@@ -631,7 +638,7 @@ let scan_exp_part max ib =
   if Scanning.eof ib then max else
   match c with
   | 'e' | 'E' as c ->
-    scan_optionally_signed_decimal_int (Scanning.store_char ib c max) ib
+    scan_optionally_signed_decimal_int (Scanning.store_char max ib c) ib
   | _ -> max
 ;;
 
@@ -651,7 +658,7 @@ let scan_float max ib =
   if Scanning.eof ib then max else
   match c with
   | '.' ->
-    let max = Scanning.store_char ib c max in
+    let max = Scanning.store_char max ib c in
     let max = scan_frac_part max ib in
     scan_exp_part max ib
   | c -> scan_exp_part max ib
@@ -664,7 +671,7 @@ let scan_Float max ib =
   if Scanning.eof ib then bad_float () else
   match c with
   | '.' ->
-    let max = Scanning.store_char ib c max in
+    let max = Scanning.store_char max ib c in
     let max = scan_frac_part max ib in
     scan_exp_part max ib
   | 'e' | 'E' ->
@@ -683,15 +690,15 @@ let scan_string stp max ib =
     if stp = [] then
       match c with
       | ' ' | '\t' | '\n' | '\r' -> max
-      | c -> loop (Scanning.store_char ib c max) else
-    if List.memq c stp then Scanning.skip_char ib max else
-    loop (Scanning.store_char ib c max) in
+      | c -> loop (Scanning.store_char max ib c) else
+    if List.memq c stp then Scanning.skip_char max ib else
+    loop (Scanning.store_char max ib c) in
   loop max
 ;;
 
 (* Scan a char: peek strictly one character in the input, whatsoever. *)
 let scan_char max ib =
-  Scanning.store_char ib (Scanning.checked_peek_char ib) max
+  Scanning.store_char max ib (Scanning.checked_peek_char ib)
 ;;
 
 let char_for_backslash = function
@@ -704,27 +711,58 @@ let char_for_backslash = function
 
 (* The integer value corresponding to the facial value of a valid
    decimal digit character. *)
-let int_value_of_char c = int_of_char c - 48;;
+let decimal_value_of_char c = int_of_char c - int_of_char '0';;
 
 let char_for_decimal_code c0 c1 c2 =
   let c =
-    100 * int_value_of_char c0 +
-     10 * int_value_of_char c1 +
-          int_value_of_char c2 in
+    100 * decimal_value_of_char c0 +
+     10 * decimal_value_of_char c1 +
+          decimal_value_of_char c2 in
   if c < 0 || c > 255
   then bad_input (Printf.sprintf "bad char \\%c%c%c" c0 c1 c2)
   else char_of_int c
 ;;
 
+(* The integer value corresponding to the facial value of a valid
+   hexadecimal digit character. *)
+let hexadecimal_value_of_char c =
+  let d = int_of_char c in
+  (* Could also be:
+    if d <= int_of_char '9' then d - int_of_char '0' else
+    if d <= int_of_char 'F' then 10 + d - int_of_char 'A' else
+    if d <= int_of_char 'f' then 10 + d - int_of_char 'a' else assert false
+  *)
+  if d >= int_of_char 'a' then
+    d - 87 (* 10 + int_of_char c - int_of_char 'a' *) else
+  if d >= int_of_char 'A' then
+    d - 55  (* 10 + int_of_char c - int_of_char 'A' *) else
+    d - int_of_char '0'
+;;
+
+let char_for_hexadecimal_code c1 c2 =
+  let c =
+    16 * hexadecimal_value_of_char c1 +
+         hexadecimal_value_of_char c2 in
+  if c < 0 || c > 255
+  then bad_input (Printf.sprintf "bad char \\%c%c" c1 c2)
+  else char_of_int c
+;;
+
 (* Called when encountering '\\' as starter of a char.
    Stops before the corresponding '\''. *)
-let scan_backslash_char max ib =
-  if max = 0 then bad_input "a char" else
+let check_next_char message max ib =
+  if max = 0 then bad_input message else
   let c = Scanning.peek_char ib in
-  if Scanning.eof ib then bad_input "a char" else
-  match c with
-  | '\\' | '\'' | '"' | 'n' | 't' | 'b' | 'r' (* '"' helping Emacs *) ->
-    Scanning.store_char ib (char_for_backslash c) max
+  if Scanning.eof ib then bad_input message else c
+;;
+
+let check_next_char_for_char = check_next_char "a char";;
+let check_next_char_for_string = check_next_char "a string";;
+
+let scan_backslash_char max ib =
+  match check_next_char_for_char max ib with
+  | '\\' | '\'' | '\"' | 'n' | 't' | 'b' | 'r' as c ->
+    Scanning.store_char max ib (char_for_backslash c)
   | '0' .. '9' as c ->
     let get_digit () =
       let c = Scanning.next_char ib in
@@ -734,57 +772,69 @@ let scan_backslash_char max ib =
     let c0 = c in
     let c1 = get_digit () in
     let c2 = get_digit () in
-    Scanning.store_char ib (char_for_decimal_code c0 c1 c2) (max - 2)
+    Scanning.store_char (max - 2) ib (char_for_decimal_code c0 c1 c2)
+  | 'x' ->
+    let get_digit () =
+      let c = Scanning.next_char ib in
+      match c with
+      | '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' as c -> c
+      | c -> bad_input_escape c in
+    let c1 = get_digit () in
+    let c2 = get_digit () in
+    Scanning.store_char (max - 2) ib (char_for_hexadecimal_code c1 c2)
   | c -> bad_input_char c
 ;;
 
 let scan_Char max ib =
-  let rec loop s max =
-   if max = 0 then bad_input "a char" else
-   let c = Scanning.checked_peek_char ib in
-   if Scanning.eof ib then bad_input "a char" else
-   match c, s with
-   (* Looking for the '\'' at the beginning of the delimited char. *)
-   | '\'', 3 -> loop 2 (Scanning.ignore_char ib max)
-   (* Looking for the '\'' at the end of the delimited char. *)
-   | '\'', 1 -> Scanning.ignore_char ib max
-   (* Any other char at the beginning or end of the delimited char should be
-      '\''. *)
-   | c, (3 | 1) -> character_mismatch '\'' c
-   (* Found a '\\': check and read this escape char. *)
-   | '\\', 2 -> loop 1 (scan_backslash_char (Scanning.ignore_char ib max) ib)
-   (* The regular case, remember the char, then look for the terminal '\\'. *)
-   | c, 2 -> loop 1 (Scanning.store_char ib c max)
-   (* Any other case is an error, *)
-   | c, _ -> bad_input_char c in
-  loop 3 max
+
+  let rec find_start max =
+    match check_next_char_for_char max ib with
+    | '\'' -> find_char (Scanning.ignore_char max ib)
+    | c -> character_mismatch '\'' c
+
+  and find_char max =
+    match check_next_char_for_char max ib with
+    | '\\' -> find_stop (scan_backslash_char (Scanning.ignore_char max ib) ib)
+    | c -> find_stop (Scanning.store_char max ib c)
+
+  and find_stop max = 
+    match check_next_char_for_char max ib with
+    | '\'' -> Scanning.ignore_char max ib
+    | c -> character_mismatch '\'' c in
+
+  find_start max
 ;;
 
 let scan_String max ib =
-  let rec loop s max =
-    if max = 0 then bad_input "a string" else
-    let c = Scanning.checked_peek_char ib in
-    if Scanning.eof ib then bad_input "a string" else
-    match c, s with
-    | '"', true (* '"' helping Emacs *) ->
-      loop false (Scanning.ignore_char ib max)
-    | '"', false (* '"' helping Emacs *) ->
-      Scanning.ignore_char ib max
-    | '\\', false ->
-      skip_spaces true (Scanning.ignore_char ib max)
-    | c, false -> loop false (Scanning.store_char ib c max)
-    | c, _ -> bad_input_char c
-  and skip_spaces s max =
-    if max = 0 then bad_input "a string" else
-    let c = Scanning.checked_peek_char ib in
-    if Scanning.eof ib then bad_input "a string" else
-    match c, s with
-    | '\n', true
-    | ' ', false ->
-      skip_spaces false (Scanning.ignore_char ib max)
-    | c, false -> loop false max
-    | _, _ -> loop false (scan_backslash_char (max - 1) ib) in
-  loop true max
+
+  let rec find_start max =
+    match check_next_char_for_string max ib with
+    | '\"' -> find_stop (Scanning.ignore_char max ib)
+    | c -> character_mismatch '\"' c
+
+  and find_stop max =
+    match check_next_char_for_string max ib with
+    | '\"' -> Scanning.ignore_char max ib
+    | '\\' -> scan_backslash (Scanning.ignore_char max ib)
+    | c -> find_stop (Scanning.store_char max ib c)
+
+  and scan_backslash max =
+    match check_next_char_for_string max ib with
+    | '\r' -> skip_newline (Scanning.ignore_char max ib)
+    | '\n' -> skip_spaces (Scanning.ignore_char max ib)
+    | c -> find_stop (scan_backslash_char max ib)
+
+  and skip_newline max =
+    match check_next_char_for_string max ib with
+    | '\n' -> skip_spaces (Scanning.ignore_char max ib)
+    | _ -> find_stop (Scanning.store_char max ib '\r')
+
+  and skip_spaces max =
+    match check_next_char_for_string max ib with
+    | ' ' -> skip_spaces (Scanning.ignore_char max ib)
+    | _ -> find_stop max in
+
+  find_start max
 ;;
 
 let scan_bool max ib =
@@ -964,49 +1014,49 @@ let scan_chars_in_char_set stp char_set max ib =
     let c = Scanning.peek_char ib in
     if Scanning.eof ib then max else
     if c == cp1
-    then loop_pos1 cp1 (Scanning.store_char ib c max)
+    then loop_pos1 cp1 (Scanning.store_char max ib c)
     else max
   and loop_pos2 cp1 cp2 max =
     if max = 0 then max else
     let c = Scanning.peek_char ib in
     if Scanning.eof ib then max else
     if c == cp1 || c == cp2
-    then loop_pos2 cp1 cp2 (Scanning.store_char ib c max)
+    then loop_pos2 cp1 cp2 (Scanning.store_char max ib c)
     else max
   and loop_pos3 cp1 cp2 cp3 max =
     if max = 0 then max else
     let c = Scanning.peek_char ib in
     if Scanning.eof ib then max else
     if c == cp1 || c == cp2 || c == cp3
-    then loop_pos3 cp1 cp2 cp3 (Scanning.store_char ib c max)
+    then loop_pos3 cp1 cp2 cp3 (Scanning.store_char max ib c)
     else max
   and loop_neg1 cp1 max =
     if max = 0 then max else
     let c = Scanning.peek_char ib in
     if Scanning.eof ib then max else
     if c != cp1
-    then loop_neg1 cp1 (Scanning.store_char ib c max)
+    then loop_neg1 cp1 (Scanning.store_char max ib c)
     else max
   and loop_neg2 cp1 cp2 max =
     if max = 0 then max else
     let c = Scanning.peek_char ib in
     if Scanning.eof ib then max else
     if c != cp1 && c != cp2
-    then loop_neg2 cp1 cp2 (Scanning.store_char ib c max)
+    then loop_neg2 cp1 cp2 (Scanning.store_char max ib c)
     else max
   and loop_neg3 cp1 cp2 cp3 max =
     if max = 0 then max else
     let c = Scanning.peek_char ib in
     if Scanning.eof ib then max else
     if c != cp1 && c != cp2 && c != cp3
-    then loop_neg3 cp1 cp2 cp3 (Scanning.store_char ib c max)
+    then loop_neg3 cp1 cp2 cp3 (Scanning.store_char max ib c)
     else max
   and loop setp max =
     if max = 0 then max else
     let c = Scanning.peek_char ib in
     if Scanning.eof ib then max else
     if setp c == 1
-    then loop setp (Scanning.store_char ib c max)
+    then loop setp (Scanning.store_char max ib c)
     else max in
 
   let max =
@@ -1175,25 +1225,27 @@ let scan_format ib ef fmt rv f =
         if ir > limr then assert false else
         let token = Obj.magic rv.(ir) ib in
         scan_fmt (succ ir) (stack f token) (succ i)
-      | 'l' | 'n' | 'L' as conv ->
+      | 'l' | 'n' | 'L' as conv0 ->
         let i = succ i in
-        if i > lim then scan_fmt ir (stack f (get_count conv ib)) i else begin
+        if i > lim then scan_fmt ir (stack f (get_count conv0 ib)) i else begin
         match Sformat.get fmt i with
         (* This is in fact an integer conversion (e.g. %ld, %ni, or %Lo). *)
-        | 'd' | 'i' | 'o' | 'u' | 'x' | 'X' as conv ->
-          let _x = scan_int_conv conv max ib in
+        | 'd' | 'i' | 'o' | 'u' | 'x' | 'X' as conv1 ->
+          let _x = scan_int_conv conv1 max ib in
           (* Look back to the character that triggered the integer conversion
-             (this character is either 'l', 'n' or 'L'), to find the
+             (this character is either 'l', 'n' or 'L') to find the
              conversion to apply to the integer token read. *)
-          begin match Sformat.get fmt (i - 1) with
-          | 'l' -> scan_fmt ir (stack f (token_int32 conv ib)) (succ i)
-          | 'n' -> scan_fmt ir (stack f (token_nativeint conv ib)) (succ i)
-          | _ -> scan_fmt ir (stack f (token_int64 conv ib)) (succ i) end
+          begin match conv0 with
+          | 'l' -> scan_fmt ir (stack f (token_int32 conv1 ib)) (succ i)
+          | 'n' -> scan_fmt ir (stack f (token_nativeint conv1 ib)) (succ i)
+          | _ -> scan_fmt ir (stack f (token_int64 conv1 ib)) (succ i) end
         (* This is not an integer conversion, but a regular %l, %n or %L. *)
-        | _ -> scan_fmt ir (stack f (get_count conv ib)) i end
+        | _ -> scan_fmt ir (stack f (get_count conv0 ib)) i end
       | '!' ->
         if Scanning.end_of_input ib then scan_fmt ir f (succ i)
         else bad_input "end of input not found"
+      | ',' ->
+        scan_fmt ir f (succ i)
       | '_' ->
         if i > lim then incomplete_format fmt else
         scan_conversion true max ir f (succ i)
@@ -1202,10 +1254,10 @@ let scan_format ib ef fmt rv f =
           if i > lim then accu, i else
           match Sformat.get fmt i with
           | '0' .. '9' as c ->
-            let accu = 10 * accu + int_value_of_char c in
+            let accu = 10 * accu + decimal_value_of_char c in
             read_width accu (succ i)
           | _ -> accu, i in
-        let max, i = read_width (int_value_of_char conv) (succ i) in
+        let max, i = read_width (decimal_value_of_char conv) (succ i) in
         if i > lim then incomplete_format fmt else begin
         match Sformat.get fmt i with
         | '.' ->
index ca4c06681f2893ef4717222d546d8878398032b9..9f35a740d5c36fb0e4f62764ff2e313a455f72e2 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scanf.mli,v 1.79 2008/09/27 20:45:05 weis Exp $ *)
+(* $Id: scanf.mli 9421 2009-11-19 10:21:42Z weis $ *)
 
 (** Formatted input functions. *)
 
@@ -69,7 +69,7 @@
     However, it is also largely different, simpler, and yet more powerful:
     the formatted input functions are higher-order functionals and the
     parameter passing mechanism is just the regular function application not
-    the variable assigment based mechanism which is typical for formatted
+    the variable assignment based mechanism which is typical for formatted
     input in imperative languages; the Caml format strings also feature
     useful additions to easily define complex tokens; as expected within a
     functional programming language, the formatted input functions also
@@ -197,16 +197,19 @@ val bscanf : Scanning.scanbuf -> ('a, 'b, 'c, 'd) scanner;;
 (** {7 The space character in format strings} *)
 
 (** As mentioned above, a plain character in the format string is just
-    matched with the characters of the input; however, one character is a
-    special exception to this simple rule: the space character (ASCII code
-    32) does not match a single space character, but any amount of
+    matched with the next character of the input; however, two characters are
+    special exceptions to this rule: the space character ([' '] or ASCII code
+    32) and the line feed character (['\n'] or ASCII code 10).
+    A space does not match a single space character, but any amount of
     ``whitespace'' in the input. More precisely, a space inside the format
     string matches {e any number} of tab, space, line feed and carriage
-    return characters.
+    return characters. Similarly, a line feed character in the format string
+    matches either a single line feed or a carriage return followed by a line
+    feed.
 
     Matching {e any} amount of whitespace, a space in the format string
     also matches no amount of whitespace at all; hence, the call [bscanf ib
-    "Price = %d $" (fun p -> p)] succeds and returns [1] when reading an
+    "Price = %d $" (fun p -> p)] succeeds and returns [1] when reading an
     input with various whitespace in it, such as [Price = 1 $],
     [Price  =  1    $], or even [Price=1$]. *)
 
@@ -287,6 +290,7 @@ val bscanf : Scanning.scanbuf -> ('a, 'b, 'c, 'd) scanner;;
     - [N] or [L]: returns the number of tokens read so far.
     - [!]: matches the end of input condition.
     - [%]: matches one [%] character in the input.
+    - [,]: the no-op delimiter for conversion specifications.
 
     Following the [%] character that introduces a conversion, there may be
     the special flag [_]: the conversion that follows occurs as usual,
@@ -303,7 +307,7 @@ val bscanf : Scanning.scanbuf -> ('a, 'b, 'c, 'd) scanner;;
 
     Notes:
 
-    - as mentioned above, a [%s] convertion always succeeds, even if there is
+    - as mentioned above, a [%s] conversion always succeeds, even if there is
       nothing to read in the input: it simply returns [""].
 
     - in addition to the relevant digits, ['_'] characters may appear
@@ -361,7 +365,7 @@ val bscanf : Scanning.scanbuf -> ('a, 'b, 'c, 'd) scanner;;
     [End_of_file]: if the end of input is reached the conversion succeeds and
     simply returns the characters read so far, or [""] if none were read. *)
 
-(** {6 Specialized formatted input functions} *)
+(** {6 Specialised formatted input functions} *)
 
 val fscanf : in_channel -> ('a, 'b, 'c, 'd) scanner;;
 (** Same as {!Scanf.bscanf}, but reads from the given channel.
@@ -373,7 +377,7 @@ val fscanf : in_channel -> ('a, 'b, 'c, 'd) scanner;;
     primitives on the channel (reading characters, seeking the reading
     position, and so on).
 
-    As a consequence, never mixt direct low level reading and high level
+    As a consequence, never mix direct low level reading and high level
     scanning from the same input channel. *)
 
 val sscanf : string -> ('a, 'b, 'c, 'd) scanner;;
@@ -397,7 +401,7 @@ val kscanf :
 val bscanf_format :
   Scanning.scanbuf -> ('a, 'b, 'c, 'd, 'e, 'f) format6 ->
     (('a, 'b, 'c, 'd, 'e, 'f) format6 -> 'g) -> 'g;;
-(** [bscanf_format ib fmt f] reads a format string token from the scannning
+(** [bscanf_format ib fmt f] reads a format string token from the scanning
     buffer [ib], according to the given format string [fmt], and applies [f] to
     the resulting format string value.
     Raise [Scan_failure] if the format string value read does not have the
index 79797687c970655d5996f4afc64b668a71434afd..103595e380b7c745125147bda51a3fb1a2b120b5 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: set.ml,v 1.19 2004/11/25 00:04:15 doligez Exp $ *)
+(* $Id: set.ml 6694 2004-11-25 00:06:06Z doligez $ *)
 
 (* Sets over ordered types *)
 
index ad18a7af3ec7cb8b1d4e88ca76ec2a2643536bc8..d8317bc2bce40fad45e0802c3fa77b9019f9c757 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: set.mli,v 1.33 2005/07/21 14:52:45 doligez Exp $ *)
+(* $Id: set.mli 6974 2005-07-21 14:52:45Z doligez $ *)
 
 (** Sets over ordered types.
 
index 709390167e2ddc8aa0fd75ad322943f895834a31..4bc0b8f538de317f79eb7873f4d2a1a7111c75ac 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: sort.ml,v 1.10 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: sort.ml 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (* Merging and sorting *)
 
index 8b0d967847a4bb4ff638cc2a270a3eec5d4e5906..4a2a217b83b1043beab528a442480deb6fa4caf7 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: sort.mli,v 1.14 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: sort.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** Sorting and merging lists.
 
index 56d4ba8051f80d09f6a20aef082842e0569d4baa..94008f5a7c9c1ea6b9488524a8ec06d713849ff8 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: stack.ml,v 1.9 2002/06/27 08:48:26 xleroy Exp $ *)
+(* $Id: stack.ml 4956 2002-06-27 08:48:26Z xleroy $ *)
 
 type 'a t = { mutable c : 'a list }
 
index 2a41b150d78d5ac748149a4fe71c6f7f24270000..dc305898891c496b68e6c50379a820de3a88cad6 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: stack.mli,v 1.19 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: stack.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** Last-in first-out stacks.
 
index 05a1198519e3c9c90279a8e7284f8cc82ed1656e..d0f9730a8dbaf75d71bf91e6ea71683f4bb4cc8e 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: stdLabels.ml,v 1.3 2001/12/07 13:40:59 xleroy Exp $ *)
+(* $Id: stdLabels.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Module [StdLabels]: meta-module for labelled libraries *)
 
index 43200b572e579a420813c979a3222d424b52dc24..325afd6b7241cb66ba55a646bc875e123a05986b 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: stdLabels.mli,v 1.13 2004/11/25 00:04:15 doligez Exp $ *)
+(* $Id: stdLabels.mli 6694 2004-11-25 00:06:06Z doligez $ *)
 
 (** Standard labeled libraries.
 
index 7b045e7b7fc4be47eb3a68a4edd7eb92707fd210..f000f4b4a9a6487e9fb663672cdb96fa77be3735 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: std_exit.ml,v 1.5 2001/12/07 13:40:59 xleroy Exp $ *)
+(* $Id: std_exit.ml 4144 2001-12-07 13:41:02Z xleroy $ *)
 
 (* Ensure that [at_exit] functions are called at the end of every program *)
 
index c23f504530e119e04584b135bc5dea7798a21eda..0858e0aad2737541f7c75bea350ad982a52459dd 100644 (file)
@@ -1,48 +1,49 @@
-# This file lists all standard library modules.
+# This file lists all standard library modules
+# (in the same order as Makefile.shared).
 # It is used in particular to know what to expunge in toplevels.
-# $Id: stdlib.mllib,v 1.2 2008/08/01 16:57:10 mauny Exp $
+# $Id: stdlib.mllib 9353 2009-09-24 09:17:39Z doligez $
 
 Pervasives
-Arg
 Array
-ArrayLabels
-Buffer
-Callback
-CamlinternalLazy
-CamlinternalMod
-CamlinternalOO
+List
 Char
-Complex
-Digest
-Filename
-Format
-Gc
-Genlex
+String
+Sys
 Hashtbl
+Sort
+Marshal
+Obj
 Int32
 Int64
-Lazy
-Lexing
-List
-ListLabels
-Map
-Marshal
-MoreLabels
 Nativeint
-Obj
-Oo
+Lexing
 Parsing
-Printexc
-Printf
-Queue
-Random
-Scanf
 Set
-Sort
+Map
 Stack
-StdLabels
+Queue
+CamlinternalLazy
+Lazy
 Stream
-String
-StringLabels
-Sys
+Buffer
+Printf
+Format
+Scanf
+Arg
+Printexc
+Gc
+Digest
+Random
+Callback
+CamlinternalOO
+Oo
+CamlinternalMod
+Genlex
 Weak
+Filename
+Complex
+ArrayLabels
+ListLabels
+StringLabels
+MoreLabels
+StdLabels
index 755e74349bb020c6e54f9422b01d86876e65314a..c1a74ac8a1e7220716bd743cfb2caca2308e126f 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: stream.ml,v 1.14 2008/06/18 15:35:02 mauny Exp $ *)
+(* $Id: stream.ml 8893 2008-06-18 15:35:02Z mauny $ *)
 
 (* The fields of type t are not mutable to preserve polymorphism of
    the empty stream. This is type safe because the empty stream is never
index 28f82ec5950837fae2e9812de39beb4852d6741b..05b9b523866269bf42e942b8e35b066d086328f0 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: stream.mli,v 1.25 2005/10/25 18:34:07 doligez Exp $ *)
+(* $Id: stream.mli 7164 2005-10-25 18:34:07Z doligez $ *)
 
 (** Streams and parsers. *)
 
index 908be652a21350f47c9e6c34bb13204462c72b15..63e2367d143e32602d77e87e88a1d6a3607d1815 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: string.ml,v 1.28.2.1 2008/11/12 10:53:47 doligez Exp $ *)
+(* $Id: string.ml 9128 2008-11-12 10:55:15Z doligez $ *)
 
 (* String operations *)
 
index 57ba2524b742d8525bd5e21db561a9341a12efee..00d69ab151aea18016242495b88778733b03ddca 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: string.mli,v 1.37.20.1 2008/10/08 13:07:13 doligez Exp $ *)
+(* $Id: string.mli 9079 2008-10-08 13:09:39Z doligez $ *)
 
 (** String operations.
   Given a string [s] of length [l], we call character number in [s]
index 77eb3451a503503409ac8f15a12d42a9048a656b..86701dcc229df860299141f6d081e9d13a48c08a 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: stringLabels.ml,v 1.4 2004/01/03 22:08:38 doligez Exp $ *)
+(* $Id: stringLabels.ml 6054 2004-01-03 22:08:38Z doligez $ *)
 
 (* Module [StringLabels]: labelled String module *)
 
index 0489ba9f4f8bb0f27b070212800f61aff0146940..3e16254ce081ec5ca8f788d9150a9ec1c2b4e896 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: stringLabels.mli,v 1.11 2007/01/22 08:06:09 garrigue Exp $ *)
+(* $Id: stringLabels.mli 7805 2007-01-22 08:06:09Z garrigue $ *)
 
 (** String operations. *)
 
index d209e7052082e868d9c29b6eeaf996f913e9d00b..eb1db4bf9b04049ede39817236ed1d6b9157f995 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: sys.mli,v 1.49 2007/02/26 14:21:57 xleroy Exp $ *)
+(* $Id: sys.mli 7927 2007-02-26 14:21:57Z xleroy $ *)
 
 (** System interface. *)
 
index 97e7318c626c6fc6809b82a5691007c9e0f03bf2..03e2b91f65cb9b759dbd9475eb3175802d5d7412 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: sys.mlp,v 1.2 2007/02/26 14:21:57 xleroy Exp $ *)
+(* $Id: sys.mlp 7927 2007-02-26 14:21:57Z xleroy $ *)
 
 (* WARNING: sys.ml is generated from sys.mlp.  DO NOT EDIT sys.ml or
    your changes will be lost.
index 8358d6e39fe9fc61eb3279ebce05e94335fcdcfb..4799c74c020b864be12c28bcc32823f3392b9d6a 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: weak.ml,v 1.17 2008/02/29 14:21:22 doligez Exp $ *)
+(* $Id: weak.ml 8823 2008-02-29 14:21:22Z doligez $ *)
 
 (** Weak array operations *)
 
index b2dcf606e2272f990869560ba9b76debeaf4e400..fdc561f21dc1710ce355419cb9fc50e87222accf 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: weak.mli,v 1.16.2.1 2008/11/13 10:39:46 doligez Exp $ *)
+(* $Id: weak.mli 9130 2008-11-13 10:39:46Z doligez $ *)
 
 (** Arrays of weak pointers and hash tables of weak pointers. *)
 
index 3c21adbfec28cb75a31ac5df4bccc8bd41e5576e..2cd82df88a11d773585bbd6a04f28eb3e8a695bc 100644 (file)
@@ -1,6 +1,6 @@
 # Characters
 
-# $Id: Characters,v 1.3 1999/11/29 19:04:21 doligez Exp $
+# $Id: Characters 2629 1999-11-29 19:04:21Z doligez $
 
 # Usage:
 #    Characters n1 to n2
index 28564909b0ff4eafa80de1445b449954f5625a54..87bd7ba35f606a71d242e9a6ae0a48e84f0700ec 100644 (file)
@@ -1,6 +1,6 @@
 # DoMake
 
-# $Id: DoMake,v 1.5 1999/11/29 19:04:23 doligez Exp $
+# $Id: DoMake 2630 1999-11-29 19:04:23Z doligez $
 
 # Execute the output of "Make -f Makefile.Mac -f Makefile.Mac.depend"
 # or "Make -f Makefile -f Makefile.depend" if "Makefile.Mac" does not exist
index fb1e8a2ecef0c64b9a05c7ba8028388189645a5d..0ca8e3d483457718a23f9c989a2125d965227c9a 100644 (file)
@@ -1,6 +1,6 @@
 # MakeDepend
 
-# $Id: MakeDepend,v 1.3 1999/11/29 19:04:25 doligez Exp $
+# $Id: MakeDepend 2631 1999-11-29 19:04:25Z doligez $
 
 
 # Usage: MakeDepend fileÉ
index 6d80e35c6309ac72643bd5be02eed02576a651ac..f7997e85cded57b8f7d012d9d6635a6c79b38d19 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.66 2007/11/22 22:14:43 doligez Exp $
+# $Id: Makefile 8616 2007-11-22 22:14:43Z doligez $
 
 include Makefile.shared
 
index 0fc67a6a0130b4c38d6b7e48c03d773a678e820e..66b4598ed1999fcbf661381ccc00bed2fe0b9fc2 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.26 2007/11/07 10:14:21 frisch Exp $
+# $Id: Makefile.nt 8485 2007-11-07 10:14:21Z frisch $
 
 include Makefile.shared
 
index 9e847456aca7c8181fc05d249e8ac3e43e00f83b..7ec1fa49231d6726276ce7b8b0d827e9b4bdd695 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.shared,v 1.5 2007/11/22 22:14:43 doligez Exp $
+# $Id: Makefile.shared 8616 2007-11-22 22:14:43Z doligez $
 
 include ../config/Makefile
 
index a89fbe513115f0859d51d9630d4378db54261da1..9464a02b6651ae7cec2b66ae20b1bfb80b88a9cf 100644 (file)
@@ -1,4 +1,4 @@
-(* $Id: addlabels.ml,v 1.12 2008/07/09 13:03:37 mauny Exp $ *)
+(* $Id: addlabels.ml 8906 2008-07-09 13:03:38Z mauny $ *)
 
 open StdLabels
 open Asttypes
index 8abbd1e18ddce5084ff629a734d4cb4ccfc95189..8a29580075e59a1818a814441ad74181732615a6 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: checkstack.c,v 1.3 2006/04/16 23:28:21 doligez Exp $ */
+/* $Id: checkstack.c 7382 2006-04-16 23:28:22Z doligez $ */
 
 #include <stdio.h>
 #include <stdlib.h>
index de291abef433bf480c57261b341421767cef34c0..23ea61f49655d5dd37b25088aca242fdf450a03c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: cvt_emit.mll,v 1.4 2000/10/02 14:17:55 maranget Exp $ *)
+(* $Id: cvt_emit.mll 3304 2000-10-02 14:18:05Z maranget $ *)
 
 {
 let first_item = ref false
index 0f33d18be6d41d6c1e256e9b0a4db91931491a4b..3936981bb527a2345b54e8ffbba967de1e29cc40 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: depend.ml,v 1.13 2008/07/09 13:03:37 mauny Exp $ *)
+(* $Id: depend.ml 8906 2008-07-09 13:03:38Z mauny $ *)
 
 open Format
 open Location
index fc022b04270b6993a4f852596d4b274110cbff1d..682d2c6d1c05c6e8b64072c14dab6fdc494d7784 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: depend.mli,v 1.2 2002/04/18 07:27:43 garrigue Exp $ *)
+(* $Id: depend.mli 4694 2002-04-18 07:27:47Z garrigue $ *)
 
 (** Module dependencies. *)
 
index 321de7ade6fb1afdfdebc467d1ab82d776ad6303..0021052e77f459afa2cf78137fbc2577a1eccd5d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: dumpapprox.ml,v 1.15 2003/03/06 16:00:16 xleroy Exp $ *)
+(* $Id: dumpapprox.ml 5423 2003-03-06 16:00:16Z xleroy $ *)
 
 (* Dump a .cmx file *)
 
index 6132de6bdecd0eb99461103f020f6b84845cd187..62fe18c802bc269d7bafcc3b83efd8e0b489a4ee 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: dumpobj.ml,v 1.38 2008/09/10 12:53:05 doligez Exp $ *)
+(* $Id: dumpobj.ml 9015 2008-09-10 12:53:05Z doligez $ *)
 
 (* Disassembler for executable and .cmo object files *)
 
index 3c208b8b8a6697d7cab6c48a73f324121fa0f9cb..1e849518acb9fda8705a28cdcfcf679072af78b1 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: keywords.r,v 1.3 2001/12/07 13:41:01 xleroy Exp $ */
+/* $Id: keywords.r 4144 2001-12-07 13:41:02Z xleroy $ */
 
 type 'Odds' {
   longint;                  /* resource ID of corresponding 'Sods' */
index 871bd287d05b616b3a4b76c113035ec3ee6a75e9..e85c73c37e7cd662da393f6cbefc68dfcf2c55a8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexer299.mll,v 1.4 2005/06/22 13:52:36 doligez Exp $ *)
+(* $Id: lexer299.mll 6924 2005-06-22 13:52:36Z doligez $ *)
 
 (* The lexer definition *)
 
index a73cc343ac7aa1bdc9369e23c5b298c84269c25d..c05db33860fd92a3d64fd44c68e68559c1a41f54 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: lexer301.mll,v 1.5 2004/11/30 18:57:04 doligez Exp $ *)
+(* $Id: lexer301.mll 6720 2004-11-30 18:57:04Z doligez $ *)
 
 (* The lexer definition *)
 
index 2b9ee1fb1ac1a136979d3e655dc55990351a30bc..0c01190ad549b3b1ba68d6bbaa180c85cc794bb8 100755 (executable)
@@ -12,7 +12,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: make-package-macosx,v 1.16.4.1 2008/10/16 15:57:00 doligez Exp $
+# $Id: make-package-macosx 9093 2008-10-16 15:57:00Z doligez $
 
 cd package-macosx
 rm -rf ocaml.pkg ocaml-rw.dmg
index 4b262627dcb55eae9c29ae2083be90f9e2da5b2f..f5141686592050e5b6a50f1f4db539bb13e7b038 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: objinfo.ml,v 1.11 2006/07/05 12:09:18 pouillar Exp $ *)
+(* $Id: objinfo.ml 7469 2006-07-05 12:09:18Z pouillar $ *)
 
 (* Dump a compilation unit description *)
 
index 23589f172b8ca5616cf3e40368def94851cb2c23..99279cf8a913cda27b98f6d7b36c051bd1f6cee3 100755 (executable)
@@ -12,7 +12,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: ocaml-objcopy-macosx,v 1.2 2006/01/04 16:55:50 doligez Exp $
+# $Id: ocaml-objcopy-macosx 7307 2006-01-04 16:55:50Z doligez $
 
 
 TMP="${TMPDIR=/tmp}"
index 6727958e143d45b0ff14afdfcd0726bfc1463a0b..e30d71c95832c7e3652bfe19239204806abb5046 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ocaml299to3.ml,v 1.6 2001/10/03 01:34:05 garrigue Exp $ *)
+(* $Id: ocaml299to3.ml 3838 2001-10-03 01:34:05Z garrigue $ *)
 
 open Lexer299
 
index 2aff55b169e4dc346464f81c530a3ae6a4b31f59..178a3b5e40495faee2d99138cf2c86283622a72f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ocamlcp.ml,v 1.41 2007/05/16 08:21:40 doligez Exp $ *)
+(* $Id: ocamlcp.ml 8232 2007-05-16 08:21:41Z doligez $ *)
 
 open Printf
 
index fc399f72e73304d713d63e7b5a3d3cdaa9988550..7d3c90c4e6fd5fedb8b2844d690cdee4a5eb95ee 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ocamldep.ml,v 1.44 2008/08/01 09:02:55 xleroy Exp $ *)
+(* $Id: ocamldep.ml 8963 2008-08-01 09:02:55Z xleroy $ *)
 
 open Format
 open Location
index cec4877368cb1515ff3b166ed5453bd7c96d8d22..9b047123df92ef7df22ef367c22b84ada3f640dd 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ocamlmklib.mlp,v 1.16 2008/01/08 15:39:47 doligez Exp $ *)
+(* $Id: ocamlmklib.mlp 9365 2009-10-02 12:32:45Z doligez $ *)
 
 open Printf
 open Myocamlbuild_config
@@ -123,9 +123,8 @@ let parse_arguments argv =
   done;
   List.iter
     (fun r -> r := List.rev !r)
-    [ bytecode_objs; native_objs; c_objs; caml_libs; caml_opts; 
+    [ bytecode_objs; native_objs; caml_libs; caml_opts;
       c_libs; c_objs; c_opts; ld_opts; rpath ];
-  (* On retourne deux fois c_objs ??  -- AF *)
 
   if !output_c = "" then output_c := !output
 
@@ -184,7 +183,7 @@ let make_rpath flag =
   else flag ^ String.concat ":" (make_set !rpath)
 
 let make_rpath_ccopt flag =
-  if !rpath = [] || flag = "" 
+  if !rpath = [] || flag = ""
   then ""
   else "-ccopt " ^ flag ^ String.concat ":" (make_set !rpath)
 
@@ -200,10 +199,10 @@ let prepostfix pre name post =
 let transl_path s =
   match Sys.os_type with
     | "Win32" ->
-       let rec aux i = 
-         if i = String.length s || s.[i] = ' ' then s
-         else (if s.[i] = '/' then s.[i] <- '\\'; aux (i + 1))
-       in aux 0
+        let rec aux i =
+          if i = String.length s || s.[i] = ' ' then s
+          else (if s.[i] = '/' then s.[i] <- '\\'; aux (i + 1))
+        in aux 0
     | _ -> s
 
 let build_libs () =
index a64f50d517cda16fee860720c3bc33fd6eabcde2..8104607d025d85760d0e6bb8438eaeb9d73a57f1 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ocamlmktop.ml,v 1.6 2003/03/24 15:27:01 xleroy Exp $ *)
+(* $Id: ocamlmktop.ml 5454 2003-03-24 15:27:01Z xleroy $ *)
 
 let _ =
   let args = Ccomp.quote_files (List.tl (Array.to_list Sys.argv)) in
index 9ee3529b440193372f746859aa4029b2438d0012..f8395e94d09b9ce51107dab99e357a8193512839 100644 (file)
@@ -11,6 +11,6 @@
 #                                                                       #
 #########################################################################
 
-# $Id: ocamlmktop.tpl,v 1.5 2004/02/22 14:52:50 xleroy Exp $
+# $Id: ocamlmktop.tpl 6128 2004-02-22 14:52:50Z xleroy $
 
 exec %%BINDIR%%/ocamlc -linkall toplevellib.cma "$@" topstart.cmo
index 7eeca94d95c3b053dc3ceec0479dd84d720ec8ef..f1d6e557904aa797bb2884d66e5fae4739940e85 100644 (file)
@@ -11,7 +11,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ocamlprof.ml,v 1.42 2007/12/04 13:38:58 doligez Exp $ *)
+(* $Id: ocamlprof.ml 8705 2007-12-04 13:38:58Z doligez $ *)
 
 open Printf
 
index 81c68ad7496d562e463ce7138f50f2152e7db088..74b6aa361a0a94be829f5376c451adb790abab2c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: primreq.ml,v 1.5 2006/07/05 12:09:18 pouillar Exp $ *)
+(* $Id: primreq.ml 7469 2006-07-05 12:09:18Z pouillar $ *)
 
 (* Determine the set of C primitives required by the given .cmo and .cma
    files *)
index b6339defdd313a7dc373ab494c79fac7ebd5c5fc..e9bd5f9fd3069ca2a4845c2d596fbf1748914232 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: profiling.ml,v 1.8 2006/11/28 15:59:35 doligez Exp $ *)
+(* $Id: profiling.ml 7762 2006-11-28 15:59:35Z doligez $ *)
 
 (* Run-time library for profiled programs *)
 
index b7b4d1ab990ab21e43116cf479bfc1d1ef2eea2a..01dc12150dc4059813188bbfdeedf56f9978e2aa 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: profiling.mli,v 1.6 2005/03/24 17:20:54 doligez Exp $ *)
+(* $Id: profiling.mli 6824 2005-03-24 17:20:54Z doligez $ *)
 
 (* Run-time library for profiled programs *)
 
index b17cab965bd9659fe768195dbe5e6f06746de524..67bbc309978ba1e7d51050bead30d65da677c745 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: scrapelabels.ml,v 1.6 2001/10/04 01:55:02 garrigue Exp $ *)
+(* $Id: scrapelabels.ml 3850 2001-10-04 01:55:02Z garrigue $ *)
 
 open StdLabels
 open Lexer301
index a78c5555b4936944926fef5d824730cab3aba657..8180090701ed57bc60b5a7d96648520a2c357323 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: expunge.ml,v 1.16 2004/01/16 15:24:03 doligez Exp $ *)
+(* $Id: expunge.ml 6074 2004-01-16 15:24:03Z doligez $ *)
 
 (* "Expunge" a toplevel by removing compiler modules from the global List.map.
    Usage: expunge <source file> <dest file> <names of modules to keep> *)
index c108811e6e2c4549b24fed22013afe7fdb80b52e..52cf376dc81938837d88fdd5fdd2fb4e87b3e0c3 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: genprintval.ml,v 1.39 2007/10/09 10:29:37 weis Exp $ *)
+(* $Id: genprintval.ml 8418 2007-10-09 10:29:37Z weis $ *)
 
 (* To print values *)
 
index 05a1c2830259ee1ce6661ce91024ba626538f95d..edb8a4a3e6c5fd0b28447888afbba4e4103acc64 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: genprintval.mli,v 1.10 2002/04/18 07:27:44 garrigue Exp $ *)
+(* $Id: genprintval.mli 4694 2002-04-18 07:27:47Z garrigue $ *)
 
 (* Printing of values *)
 
index 7b389f32c2a056011eaa4da911360b9b6de6a7ad..4a39a2839f5f0c76107a471760bd36ec2aca9b42 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: opttopdirs.ml,v 1.2.4.1 2008/11/19 02:35:40 garrigue Exp $ *)
+(* $Id: opttopdirs.ml 9134 2008-11-19 02:35:40Z garrigue $ *)
 
 (* Toplevel directives *)
 
index da8771693fd3eda8c78431e8fd4bbb395d6536dc..77330bda7e64df01dc50b6a347ee175fd93e4f7c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: opttopdirs.mli,v 1.2 2007/11/06 15:16:56 frisch Exp $ *)
+(* $Id: opttopdirs.mli 8477 2007-11-06 15:16:56Z frisch $ *)
 
 (* The toplevel directives. *)
 
index aa5dcccc257b672407f7d600946ca663dc3d6fad..95baaf79e5f2e8991ca30ea673a9b0eed81ca11c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: opttoploop.ml,v 1.3 2007/12/04 13:38:58 doligez Exp $ *)
+(* $Id: opttoploop.ml 8705 2007-12-04 13:38:58Z doligez $ *)
 
 (* The interactive toplevel loop *)
 
index e1261b24483635aa4be1979b2ca577286352cc27..86363ba71ca5e56f41826e1b84e46c07611714d5 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: opttoploop.mli,v 1.3 2007/12/04 13:38:58 doligez Exp $ *)
+(* $Id: opttoploop.mli 8705 2007-12-04 13:38:58Z doligez $ *)
 
 open Format
 
index cb312d1f30e383ae1a4c66060653cc4334718090..76e4149283d1bdf8335d10df55d487b415724889 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: opttopmain.ml,v 1.2 2007/11/06 15:16:56 frisch Exp $ *)
+(* $Id: opttopmain.ml 8477 2007-11-06 15:16:56Z frisch $ *)
 
 open Clflags
 
index 70d24a5a535566e7db3817c52150489d19349405..119cb000a0287546f4720c12401fc2c23c9d9004 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: opttopmain.mli,v 1.2 2007/11/06 15:16:56 frisch Exp $ *)
+(* $Id: opttopmain.mli 8477 2007-11-06 15:16:56Z frisch $ *)
 
 (* Start the [ocaml] toplevel loop *)
 
index 1071a683959d695977f12d8d0feaaa9426b2cd7b..c13cfcbbfd92dc2da33ce6fa4fa107f0e2fe1045 100644 (file)
@@ -10,6 +10,6 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: opttopstart.ml,v 1.2 2007/11/06 15:16:56 frisch Exp $ *)
+(* $Id: opttopstart.ml 8477 2007-11-06 15:16:56Z frisch $ *)
 
 let _ = Opttopmain.main()
index 50cbc4ed47a4c4f9403755739b957caaa70faee9..d45b4f72ab7e52ee8b9c3a9b3698594eb02f0bfb 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: topdirs.ml,v 1.66.14.1 2008/11/19 02:35:40 garrigue Exp $ *)
+(* $Id: topdirs.ml 9134 2008-11-19 02:35:40Z garrigue $ *)
 
 (* Toplevel directives *)
 
index 0dde52d1fe77a0fa72fff45d48fdd917476605c9..1aa708597ea7f2d39291e79a0f327de8f6bb34a5 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: topdirs.mli,v 1.12 2002/04/18 07:27:44 garrigue Exp $ *)
+(* $Id: topdirs.mli 4694 2002-04-18 07:27:47Z garrigue $ *)
 
 (* The toplevel directives. *)
 
index 42f4a848c9a26ecf5c170bdfbeaba6a57ad94d1f..2a6ff83fb1b3bec4bec0c6f19bc89278a9c0f03f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: toploop.ml,v 1.95 2007/12/04 13:38:58 doligez Exp $ *)
+(* $Id: toploop.ml 8705 2007-12-04 13:38:58Z doligez $ *)
 
 (* The interactive toplevel loop *)
 
index 06c7d71f6d587ab65850a4bf77ac7a327b6ac879..be9c27b81c779fb08f15905cfaa6b244913c2c34 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: toploop.mli,v 1.26 2007/12/04 13:38:58 doligez Exp $ *)
+(* $Id: toploop.mli 8705 2007-12-04 13:38:58Z doligez $ *)
 
 open Format
 
index 6abfdb26a53370408cd28d2630117ee648d1ad57..95e6a0516337e6b06afcb5c96168e653f2d596c6 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: topmain.ml,v 1.39 2005/01/28 17:52:58 doligez Exp $ *)
+(* $Id: topmain.ml 6758 2005-01-28 17:52:58Z doligez $ *)
 
 open Clflags
 
index 21591de3b6fd792595fd7c2fa83975412f95a9cf..c2a7c896b1fc03afe033bd23ce66677cf8baa8b3 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: topmain.mli,v 1.1 2002/04/24 08:02:51 xleroy Exp $ *)
+(* $Id: topmain.mli 4731 2002-04-24 08:02:51Z xleroy $ *)
 
 (* Start the [ocaml] toplevel loop *)
 
index 367015bdee239d566271641b99faefb98aea396a..7d853f51b88ea44fe8bd8c1539534a771f213d6e 100644 (file)
@@ -10,6 +10,6 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: topstart.ml,v 1.1 2002/04/24 08:02:51 xleroy Exp $ *)
+(* $Id: topstart.ml 4731 2002-04-24 08:02:51Z xleroy $ *)
 
 let _ = Topmain.main()
index f5ca4ef02003abca9432064e7d4e347e7985bfd8..a306d9b42df0acf0ca6f9504c9225b74392c4173 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: trace.ml,v 1.20 2001/04/19 08:34:20 garrigue Exp $ *)
+(* $Id: trace.ml 3490 2001-04-19 08:34:21Z garrigue $ *)
 
 (* The "trace" facility *)
 
index 22cf754bf1c39760887bc72d0ec89b23da560d84..853509af91d2bfebd377f5224142afedc2680016 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: trace.mli,v 1.9 2000/03/06 22:11:55 weis Exp $ *)
+(* $Id: trace.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 (* The "trace" facility *)
 
index 1dfdbaaeac7d8143f0dc1ccb7797ad66b2d28cb3..95e724377f7a9f481d9207fd4d7d430343bd6ea2 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: annot.mli,v 1.2 2008/07/29 15:42:44 doligez Exp $ *)
+(* $Id: annot.mli 8958 2008-07-29 15:42:44Z doligez $ *)
 
 (* Data types for annotations (Stypes.ml) *)
 
index ab6ee5efe124504a66148ea6acecebba3a3644d8..70fa44862f891a4ddc7b0dd788c103c15b557265 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: btype.ml,v 1.42 2008/07/19 02:13:09 garrigue Exp $ *)
+(* $Id: btype.ml 8922 2008-07-19 02:13:09Z garrigue $ *)
 
 (* Basic operations on core types *)
 
index 96a0bcadd12c01b795add3062f35dcb15a843e73..dad6c4a0f65c9cdd5b507cb7c82fb6c813d11c25 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: btype.mli,v 1.20 2008/07/19 02:13:09 garrigue Exp $ *)
+(* $Id: btype.mli 8922 2008-07-19 02:13:09Z garrigue $ *)
 
 (* Basic operations on core types *)
 
index d84f765c4bb1d6e44dd975c80f7eb5219bd1e5b3..9b9024bb89891234c5c65187830adfc87bb4c23d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ctype.ml,v 1.216.2.5 2009/05/19 05:51:03 garrigue Exp $ *)
+(* $Id: ctype.ml 9453 2009-12-07 13:04:54Z garrigue $ *)
 
 (* Operations on core types *)
 
@@ -3336,39 +3336,29 @@ let nondep_type env id ty =
 let nondep_type_decl env mid id is_covariant decl =
   try
     let params = List.map (nondep_type_rec env mid) decl.type_params in
-    let decl =
-      { type_params = params;
-        type_arity = decl.type_arity;
-        type_kind =
-          begin try
-            match decl.type_kind with
-              Type_abstract ->
-                Type_abstract
-            | Type_variant cstrs ->
-                Type_variant(List.map
-                  (fun (c, tl) -> (c, List.map (nondep_type_rec env mid) tl))
-                  cstrs)
-            | Type_record(lbls, rep) ->
-                Type_record(
-                  List.map
-                    (fun (c, mut, t) -> (c, mut, nondep_type_rec env mid t))
-                    lbls,
-                  rep)
-          with Not_found when is_covariant ->
-            Type_abstract
-          end;
-        type_manifest =
-          begin try
-            match decl.type_manifest with
-              None -> None
-            | Some ty ->
-                Some (unroll_abbrev id params (nondep_type_rec env mid ty))
-          with Not_found when is_covariant ->
-            None
-          end;
-        type_private = decl.type_private;
-        type_variance = decl.type_variance;
-      }
+    let tk =
+      try match decl.type_kind with
+        Type_abstract ->
+          Type_abstract
+      | Type_variant cstrs ->
+          Type_variant
+            (List.map
+               (fun (c, tl) -> (c, List.map (nondep_type_rec env mid) tl))
+               cstrs)
+      | Type_record(lbls, rep) ->
+          Type_record
+            (List.map
+               (fun (c, mut, t) -> (c, mut, nondep_type_rec env mid t))
+               lbls,
+             rep)
+      with Not_found when is_covariant -> Type_abstract
+    and tm =
+      try match decl.type_manifest with
+        None -> None
+      | Some ty ->
+          Some (unroll_abbrev id params (nondep_type_rec env mid ty))
+      with Not_found when is_covariant ->
+        None
     in
     cleanup_types ();
     List.iter unmark_type decl.type_params;
@@ -3383,7 +3373,18 @@ let nondep_type_decl env mid id is_covariant decl =
       None    -> ()
     | Some ty -> unmark_type ty
     end;
-    decl
+    let priv =
+      match tm with
+      | Some ty when Btype.has_constr_row ty -> Private
+      | _ -> decl.type_private
+    in
+    { type_params = params;
+      type_arity = decl.type_arity;
+      type_kind = tk;
+      type_manifest = tm;
+      type_private = priv;
+      type_variance = decl.type_variance;
+    }
   with Not_found ->
     cleanup_types ();
     raise Not_found
index 9444d820cb477468a15671060959f3b4dbe297e9..eea10b49f58353a81f30e7fcc4b50b985522c5ff 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ctype.mli,v 1.55.4.2 2009/02/13 05:05:36 garrigue Exp $ *)
+(* $Id: ctype.mli 9168 2009-02-13 05:05:36Z garrigue $ *)
 
 (* Operations on core types *)
 
index 694f91233f9db96392a4fe18a0d2af77c556a4cc..157dd75e20157c43bab91e55685cda50c0a7629e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: datarepr.ml,v 1.13 2003/07/02 09:14:32 xleroy Exp $ *)
+(* $Id: datarepr.ml 5643 2003-07-02 09:14:35Z xleroy $ *)
 
 (* Compute constructor and label descriptions from type declarations,
    determining their representation. *)
index e87335a76ab2121f92d1d6154ae640757c27f049..563d5f775142f8da9ce37651cb7e4aa03da7a7af 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: datarepr.mli,v 1.9 2003/07/02 09:14:32 xleroy Exp $ *)
+(* $Id: datarepr.mli 5643 2003-07-02 09:14:35Z xleroy $ *)
 
 (* Compute constructor and label descriptions from type declarations,
    determining their representation. *)
index 06c0ec69462bcdddbf1576f707670951b3d7a12a..2fcf9c1be077aaf4d94498d383b649cd9a7c5e05 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: env.ml,v 1.66.2.1 2009/04/28 05:11:54 garrigue Exp $ *)
+(* $Id: env.ml 9240 2009-04-28 05:11:54Z garrigue $ *)
 
 (* Environment handling *)
 
index 76252ba6b4e734dff2b41e2cd2ecf6fbf2f7f50d..5ee7af39d8e20d4a4ff092cbe06026dd65767983 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: env.mli,v 1.35 2008/10/06 13:53:54 doligez Exp $ *)
+(* $Id: env.mli 9074 2008-10-06 13:53:54Z doligez $ *)
 
 (* Environment handling *)
 
index a30aa7a4a2ffd26e25f6b6f4b00136bb6adc803c..4cd5c811a6d118581c38cb6b0a0182f14f64c39d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ident.ml,v 1.23 2004/01/04 14:32:34 doligez Exp $ *)
+(* $Id: ident.ml 6055 2004-01-04 14:32:34Z doligez $ *)
 
 open Format
 
index 9f7372cbbbbb8c7f035f1f1397f5907740a5c271..a6d0a1900774b61a5395e3d837dc84f64f3d2a9d 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ident.mli,v 1.17 2004/01/04 14:32:34 doligez Exp $ *)
+(* $Id: ident.mli 6055 2004-01-04 14:32:34Z doligez $ *)
 
 (* Identifiers (unique names) *)
 
index 2f06f12224963fc39e529bda54bab055d6e20ac2..c722ae7201e412c15da5dc4d42dcff66f49de983 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: includeclass.ml,v 1.8.16.1 2009/04/19 08:42:43 xleroy Exp $ *)
+(* $Id: includeclass.ml 9236 2009-04-19 08:42:43Z xleroy $ *)
 
 (* Inclusion checks for the class language *)
 
index 5e584b05c752b085b2047ae2504ecb5e9696ef8e..8f9cdca1670bbf814f7ad6bf105f023fdeb7612a 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: includeclass.mli,v 1.3 2000/03/06 22:11:58 weis Exp $ *)
+(* $Id: includeclass.mli 2908 2000-03-06 22:12:09Z weis $ *)
 
 (* Inclusion checks for the class language *)
 
index ba4d1120400556730c9c9012705f784cd8f1543c..5b6d66fe1abdd772892614ecd378f6929734a4a2 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: includecore.ml,v 1.35.4.2 2008/10/16 03:05:26 garrigue Exp $ *)
+(* $Id: includecore.ml 9298 2009-06-13 10:26:05Z garrigue $ *)
 
 (* Inclusion checks for the core language *)
 
@@ -40,7 +40,8 @@ let value_descriptions env vd1 vd2 =
 let private_flags decl1 decl2 =
   match decl1.type_private, decl2.type_private with
   | Private, Public ->
-      decl2.type_kind = Type_abstract && decl2.type_manifest = None
+      decl2.type_kind = Type_abstract &&
+      (decl2.type_manifest = None || decl1.type_kind <> Type_abstract)
   | _, _ -> true
 
 (* Inclusion between manifest types (particularly for private row types) *)
index d21f50ae1e52f9fa35b23315832dad63163dae9a..2336c028144cbe035a30da71059cb4885e5c137a 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: includecore.mli,v 1.10 1999/11/17 18:58:54 xleroy Exp $ *)
+(* $Id: includecore.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
 
 (* Inclusion checks for the core language *)
 
index fa7e2fd10528d9ed47bb25aaa77c58cd4b2e829e..3d7efe1d768cf714ce60d764a3537df08156e588 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: includemod.ml,v 1.39 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: includemod.ml 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (* Inclusion checks for the module language *)
 
index 1ea68be9c8d8a1f89b986e8d593d1d14c66d4cef..cc50b134c5545fee8d97161915f66496890eea53 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: includemod.mli,v 1.13 2006/09/20 11:14:37 doligez Exp $ *)
+(* $Id: includemod.mli 7619 2006-09-20 11:14:37Z doligez $ *)
 
 (* Inclusion checks for the module language *)
 
index 882d0f3fb555a3fa18d10b311ab3383b365b365b..485b6be738d3aeb943314943315e2761874b0df8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: mtype.ml,v 1.28.4.1 2009/06/08 02:35:15 garrigue Exp $ *)
+(* $Id: mtype.ml 9291 2009-06-08 02:35:15Z garrigue $ *)
 
 (* Operations on module types *)
 
index be0f7577e9ae4fbc5d1ad548be0454feb0ec1df4..855b35dfcda0ab2bb4c724c76459b6c2b8f7e604 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: mtype.mli,v 1.10 2004/04/09 13:32:28 xleroy Exp $ *)
+(* $Id: mtype.mli 6196 2004-04-09 13:32:28Z xleroy $ *)
 
 (* Operations on module types *)
 
index dfc156390c242d251a9767db54c9e715453343df..63d31034dbf9b105852b562910d2b63a9a6441b7 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: oprint.ml,v 1.26.4.1 2008/10/08 13:07:14 doligez Exp $ *)
+(* $Id: oprint.ml 9079 2008-10-08 13:09:39Z doligez $ *)
 
 open Format
 open Outcometree
index 6569cb8ba40f410ba890194dc09cee14d863ddf9..7687b9993594a9f3c142566f1c282cd5542cd02b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: oprint.mli,v 1.2 2002/04/18 07:27:45 garrigue Exp $ *)
+(* $Id: oprint.mli 4694 2002-04-18 07:27:47Z garrigue $ *)
 
 open Format
 open Outcometree
index 63b53caf19a019e1ff6c7c496a0831bec052d46f..42d68d3d9db47b524143a2158e4ab978a54f026c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: outcometree.mli,v 1.15 2006/04/05 02:28:13 garrigue Exp $ *)
+(* $Id: outcometree.mli 7372 2006-04-05 02:28:13Z garrigue $ *)
 
 (* Module [Outcometree]: results displayed by the toplevel *)
 
index 48e9821bef7fd0cec06f7dd3e44416ca1175f0e7..518cd9eb16a903586969cab3957d43296f77aa72 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: parmatch.ml,v 1.76.2.2 2009/03/16 04:24:05 garrigue Exp $ *)
+(* $Id: parmatch.ml 9187 2009-03-16 04:24:05Z garrigue $ *)
 
 (* Detection of partial matches and unused match cases. *)
 
index 29767c0fa45c51167741401281262d1a416b8ded..3080749fe30b3f85aa6528fc4bad820f05b4a1a4 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: parmatch.mli,v 1.12 2008/07/09 13:03:37 mauny Exp $ *)
+(* $Id: parmatch.mli 8906 2008-07-09 13:03:38Z mauny $ *)
 
 (* Detection of partial matches and unused match cases. *)
 open Types
index 678fc406b592d08899fc1b5b21461e232408f5b6..aaadb8731487412803217d4d9da391707a20934e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: path.ml,v 1.9 2003/07/01 13:05:43 xleroy Exp $ *)
+(* $Id: path.ml 5640 2003-07-01 13:05:43Z xleroy $ *)
 
 type t =
     Pident of Ident.t
index 12d36097d7f05795f29debb542b81b80c40fb95d..e4d06324c9ae99c0af1ec24e5922cb3b21adec2f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: path.mli,v 1.8 2003/07/01 13:05:43 xleroy Exp $ *)
+(* $Id: path.mli 5640 2003-07-01 13:05:43Z xleroy $ *)
 
 (* Access paths *)
 
index ae4527237345d7ffa33c61f913ba8ef51ce55138..240f073402c291a57e6660efe02f6a343a2ae21a 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: predef.ml,v 1.32 2007/10/09 10:29:37 weis Exp $ *)
+(* $Id: predef.ml 8418 2007-10-09 10:29:37Z weis $ *)
 
 (* Predefined type constructors (with special typing rules in typecore) *)
 
index 34ff2a7e071166c64dd2bb16f9002f09ea5d85d9..3cf8b25d8d946eff4a1b9924d61359b365dad1eb 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: predef.mli,v 1.16 2006/10/24 20:54:58 weis Exp $ *)
+(* $Id: predef.mli 7702 2006-10-24 20:54:58Z weis $ *)
 
 (* Predefined type constructors (with special typing rules in typecore) *)
 
index c14a1f3b46d19e68f9fe13068022f9fd7501b349..c7ff952866c028ef189e1ae5a78180795c09a11b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: primitive.ml,v 1.9 2008/07/24 05:35:22 frisch Exp $ *)
+(* $Id: primitive.ml 8930 2008-07-24 05:35:22Z frisch $ *)
 
 (* Description of primitive functions *)
 
index 8b39244c5e638b03e9507de5a734ce3cc353248d..700502292293118fb181568349c6c262938dbd4b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: primitive.mli,v 1.8 2008/07/24 05:35:22 frisch Exp $ *)
+(* $Id: primitive.mli 8930 2008-07-24 05:35:22Z frisch $ *)
 
 (* Description of primitive functions *)
 
index 32f3d57121201bb6428f62a8042a322b252ad9b5..571241d3ffbcbaa849ee5b632165a515cd9a1814 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printtyp.ml,v 1.147 2008/07/19 02:13:09 garrigue Exp $ *)
+(* $Id: printtyp.ml 8922 2008-07-19 02:13:09Z garrigue $ *)
 
 (* Printing functions *)
 
index 2e2f71899f8177459dd3c9d89cd13709365eda69..6f56d164efe55fd7d96a653dfa5c1d87309ed0f6 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: printtyp.mli,v 1.27 2006/04/16 23:28:22 doligez Exp $ *)
+(* $Id: printtyp.mli 7382 2006-04-16 23:28:22Z doligez $ *)
 
 (* Printing functions *)
 
index 23065daf2d967f874e841722de6351203b9fe1dd..64028e101bc67e1254808c0274287dd0676dfe69 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: stypes.ml,v 1.11 2008/07/29 15:42:44 doligez Exp $ *)
+(* $Id: stypes.ml 8958 2008-07-29 15:42:44Z doligez $ *)
 
 (* Recording and dumping (partial) type information *)
 
index 17663ec3768e8794ed816851f994a4bba76e1dfb..06aea2c12966d77773049ef70e43a9d6a39e509f 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: stypes.mli,v 1.5 2008/07/29 15:42:44 doligez Exp $ *)
+(* $Id: stypes.mli 8958 2008-07-29 15:42:44Z doligez $ *)
 
 (* Recording and dumping (partial) type information *)
 
index dc3fb2123ed5ffd2cc29aa5ac0a225234623248e..cff3c64f5dc11d22607d1d03480674bf02534fd5 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: subst.ml,v 1.52.4.1 2009/04/02 09:06:32 xclerc Exp $ *)
+(* $Id: subst.ml 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (* Substitutions *)
 
index bf9f0652facdf21ee711b9264f93d94789865ce7..e0e91cf030bedd222dfc9462ba79185d9692f930 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: subst.mli,v 1.13.4.1 2009/04/02 09:06:33 xclerc Exp $ *)
+(* $Id: subst.mli 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (* Substitutions *)
 
index b18a0aa0b18c995a4e4c8c169f94f63ec4f2de2b..53bd1548abf35c0f1cb3dfd6f6142e3ee46df3f1 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typeclass.ml,v 1.93.4.1 2009/04/19 08:42:43 xleroy Exp $ *)
+(* $Id: typeclass.ml 9236 2009-04-19 08:42:43Z xleroy $ *)
 
 open Misc
 open Parsetree
index f85f6ece22edbbda3ef22f4aed1e09ac156635d2..67acf896be21095cc6743953a29d919c5792ec79 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typeclass.mli,v 1.19 2006/04/05 02:28:13 garrigue Exp $ *)
+(* $Id: typeclass.mli 7372 2006-04-05 02:28:13Z garrigue $ *)
 
 open Asttypes
 open Types
index 55e112b9001f8416d3e2cd02e60b9720a83a7549..488a7b6dee89699fac79112537cf701ae39b2a8b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typecore.ml,v 1.199.2.3 2009/04/19 09:21:08 xleroy Exp $ *)
+(* $Id: typecore.ml 9412 2009-11-09 11:42:39Z weis $ *)
 
 (* Typechecking for the core language *)
 
@@ -752,7 +752,7 @@ let type_format loc fmt =
       and scan_conversion i j =
         if j >= len then incomplete_format fmt else
         match fmt.[j] with
-        | '%' | '!' -> scan_format (j + 1)
+        | '%' | '!' | ',' -> scan_format (j + 1)
         | 's' | 'S' -> conversion j Predef.type_string
         | '[' ->
           let j = range_closing_index fmt j in
index 7e8bea36ab63d58809f2d2fde20d246a029cedae..b7a6ebc0354f82e939997f5777382fb6a348d35e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typecore.mli,v 1.41 2008/01/11 16:13:16 doligez Exp $ *)
+(* $Id: typecore.mli 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (* Type inference for the core language *)
 
index 6e546fedb5bd02d1ba9ea3a430837a75362eb378..c6dd602ff3e0af223866a62dea6e4d67c85a465b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typedecl.ml,v 1.82.2.3 2009/06/08 04:08:14 garrigue Exp $ *)
+(* $Id: typedecl.ml 9292 2009-06-08 04:08:14Z garrigue $ *)
 
 (**** Typing of type definitions ****)
 
index 564524558df55689fba5dab52ce5da9134866e6f..d6d6bb36100a2f02356aa7a60fe3447f92c18e52 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typedecl.mli,v 1.31.4.1 2009/06/08 04:08:14 garrigue Exp $ *)
+(* $Id: typedecl.mli 9292 2009-06-08 04:08:14Z garrigue $ *)
 
 (* Typing of type definitions and primitive definitions *)
 
index e2697d2301b3e6826d4bea99a2eed747c8a983c8..c6f6eed1aa79ea2c420430a33071a1bcd292a841 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typedtree.ml,v 1.39 2008/07/09 13:03:38 mauny Exp $ *)
+(* $Id: typedtree.ml 8906 2008-07-09 13:03:38Z mauny $ *)
 
 (* Abstract syntax tree after typing *)
 
index dfd41711dfa438bae25e4618bb0da74e28538009..9780b34c326a382eab3f88cbb9ec8d484b9211e8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typedtree.mli,v 1.37 2008/07/09 13:03:38 mauny Exp $ *)
+(* $Id: typedtree.mli 8906 2008-07-09 13:03:38Z mauny $ *)
 
 (* Abstract syntax tree after typing *)
 
index 85722ad388f2f4532b655576b5f74e58cc806a83..be810851525ec57cec566e438434db7cb70ceae8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typemod.ml,v 1.86.2.1 2008/10/08 13:07:14 doligez Exp $ *)
+(* $Id: typemod.ml 9079 2008-10-08 13:09:39Z doligez $ *)
 
 (* Type-checking of the module language *)
 
index 33d49c9308b1d09df87ac814dd04ee60a560c2e8..5f96f308b32e56678d6c34a68b5a18dfec71cc81 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typemod.mli,v 1.27 2007/05/16 08:21:40 doligez Exp $ *)
+(* $Id: typemod.mli 8232 2007-05-16 08:21:41Z doligez $ *)
 
 (* Type-checking of the module language *)
 
index 1e9b762acab97ebba11328646e644d7b1438e05d..7a02a500bd0e5f64d60cb31733a1452cb761e933 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: types.ml,v 1.29 2008/07/19 02:13:09 garrigue Exp $ *)
+(* $Id: types.ml 8922 2008-07-19 02:13:09Z garrigue $ *)
 
 (* Representation of types and declarations *)
 
index 8340d95bab760ced06fb89efd5944eb9f5a8e86e..3941bc981ad10b8aba2c219d6d5b42d742eb466c 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: types.mli,v 1.29 2008/07/19 02:13:09 garrigue Exp $ *)
+(* $Id: types.mli 8922 2008-07-19 02:13:09Z garrigue $ *)
 
 (* Representation of types and declarations *)
 
index ec2b7ed8dfd639336c1896661b577b3c3dcc4b69..52046b661e47d18fab51864fec4612afe48a688a 100644 (file)
@@ -39,6 +39,7 @@ type error =
   | Variant_tags of string * string
   | Invalid_variable_name of string
   | Cannot_quantify of string * type_expr
+  | Repeated_method_label of string
 
 exception Error of Location.t * error
 
@@ -156,7 +157,7 @@ let rec transl_type env policy styp =
       end;
       constr
   | Ptyp_object fields ->
-      newobj (transl_fields env policy fields)
+      newobj (transl_fields env policy [] fields)
   | Ptyp_class(lid, stl, present) ->
       let (path, decl, is_variant) =
         try
@@ -384,15 +385,16 @@ let rec transl_type env policy styp =
       unify_var env (newvar()) ty';
       ty'
 
-and transl_fields env policy =
+and transl_fields env policy seen =
   function
     [] ->
       newty Tnil
   | {pfield_desc = Pfield_var}::_ ->
       if policy = Univars then new_pre_univar () else newvar ()
-  | {pfield_desc = Pfield(s, e)}::l ->
+  | {pfield_desc = Pfield(s, e); pfield_loc = loc}::l ->
+      if List.mem s seen then  raise (Error (loc, Repeated_method_label s));
       let ty1 = transl_type env policy e in
-      let ty2 = transl_fields env policy l in
+      let ty2 = transl_fields env policy (s::seen) l in
         newty (Tfield (s, Fpresent, ty1, ty2))
 
 
@@ -557,3 +559,6 @@ let report_error ppf = function
         (if v.desc = Tvar then "it escapes this scope" else
          if v.desc = Tunivar then "it is aliased to another variable"
          else "it is not a variable")
+  | Repeated_method_label s ->
+      fprintf ppf "@[This is the second method `%s' of this object type.@ %s@]"
+        s "Multiple occurences are not allowed."
index b7d3a5598b8e9260fc4544d6e7fb39eb5e192ed8..52a32e9f650e5f22af3c4ebd9ba4e37b9f9a9c73 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: typetexp.mli,v 1.19 2003/05/19 09:21:17 garrigue Exp $ *)
+(* $Id: typetexp.mli 9297 2009-06-12 12:40:55Z garrigue $ *)
 
 (* Typechecking of type expressions for the core language *)
 
@@ -54,6 +54,7 @@ type error =
   | Variant_tags of string * string
   | Invalid_variable_name of string
   | Cannot_quantify of string * Types.type_expr
+  | Repeated_method_label of string
 
 exception Error of Location.t * error
 
index 3d44a85f23d0594944ba3aec6b70048dfa642ab2..d0c63a33291752a0e753df7fc6be7e36714394dc 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: unused_var.ml,v 1.7 2008/07/09 13:03:38 mauny Exp $ *)
+(* $Id: unused_var.ml 8906 2008-07-09 13:03:38Z mauny $ *)
 
 open Parsetree
 
index 7945ef306327ce277d3240cd71795515639e0b69..6d4086866b43e0831637da8725182fdd7cbf5b15 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: unused_var.mli,v 1.2 2006/01/04 16:55:50 doligez Exp $ *)
+(* $Id: unused_var.mli 7307 2006-01-04 16:55:50Z doligez $ *)
 
 val warn : Format.formatter -> Parsetree.structure -> Parsetree.structure;;
 (* Warn on unused variables; return the second argument. *)
index 91a6a9d497b362ccce01e2edd4a9bf569ba357bd..58e4947e0fa5d9e85637b7724a815bbfa108172b 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ccomp.ml,v 1.28.4.2 2008/10/16 15:57:00 doligez Exp $ *)
+(* $Id: ccomp.ml 9093 2008-10-16 15:57:00Z doligez $ *)
 
 (* Compiling C files and building C libraries *)
 
index 3843a6d4addd3a4391585a2aa252c87251bd5958..47f15059c3a523995bbcff589f612ebff6942b39 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: ccomp.mli,v 1.16 2008/01/11 16:13:18 doligez Exp $ *)
+(* $Id: ccomp.mli 8768 2008-01-11 16:13:18Z doligez $ *)
 
 (* Compiling C files and building C libraries *)
 
index 4ac0de8c2a498704b37ee84d74c622f9cbf5520e..a4c58c436dd21fd248f45991a1708ececb7f6b6e 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: clflags.ml,v 1.53.2.1 2008/10/15 08:48:51 xleroy Exp $ *)
+(* $Id: clflags.ml 9084 2008-10-15 08:48:51Z xleroy $ *)
 
 (* Command-line parameters *)
 
index eba4f9eec614e81866ff9386a74154375b97ae43..6914904f7b6ae750ce1c35ef6f51dacafa4c7dd6 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: clflags.mli,v 1.4.2.1 2008/10/15 08:48:51 xleroy Exp $ *)
+(* $Id: clflags.mli 9084 2008-10-15 08:48:51Z xleroy $ *)
 
 val objfiles : string list ref
 val ccobjs : string list ref
index ee8e66a0d18e2d61e47da5eba1e8e866f4912e39..d49ff62300e88c690ccf482c79f6c6aa44c0b6b0 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: config.mlbuild,v 1.3.4.4 2009/05/19 14:41:21 doligez Exp $ *)
+(* $Id: config.mlbuild 9266 2009-05-19 14:41:21Z doligez $ *)
 
 (***********************************************************************)
 (**                                                                   **)
index b3b71ca1efb26f57550cc225847c0828250335a5..92894b6583023784aa7b6d130113fbbbe7a211c7 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: config.mli,v 1.41 2008/04/16 06:50:31 frisch Exp $ *)
+(* $Id: config.mli 8868 2008-04-16 06:50:31Z frisch $ *)
 
 (* System configuration *)
 
index ce6bc7d5d87700d9c50b2583519160e50b48d670..3f6d14eca4955e2aae561a023dc3a0402502c7e8 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: config.mlp,v 1.208.2.2 2009/05/18 09:38:16 doligez Exp $ *)
+(* $Id: config.mlp 9260 2009-05-18 09:38:16Z doligez $ *)
 
 (***********************************************************************)
 (**                                                                   **)
index 527de76485be25128289a5e799de1264d74955d1..c9ffaf257c753f75158bb7940670cc4dec6c5b56 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: consistbl.ml,v 1.2 2002/11/18 10:41:26 xleroy Exp $ *)
+(* $Id: consistbl.ml 5275 2002-11-18 10:41:26Z xleroy $ *)
 
 (* Consistency tables: for checking consistency of module CRCs *)
 
index ca5f73eaccb5da297b10044f0d558df2822633d9..0e58dd57e570f332050cfeaaf11f2e88cdcb58a3 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: consistbl.mli,v 1.2 2002/11/18 10:41:26 xleroy Exp $ *)
+(* $Id: consistbl.mli 5275 2002-11-18 10:41:26Z xleroy $ *)
 
 (* Consistency tables: for checking consistency of module CRCs *)
 
index 0ad0c0d7ab9f06871d8277c4f455cf8ac964ec15..04a07125c03347bcc6429166e92c2b86af6be342 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: misc.ml,v 1.35 2007/02/23 13:44:51 ertai Exp $ *)
+(* $Id: misc.ml 7909 2007-02-23 13:44:51Z ertai $ *)
 
 (* Errors *)
 
index 2b4f7cf43225e5dd2065a5825b47362a20a0d6dd..73af6fa9ff94ccb3d050423d0320c919d3eba8be 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: misc.mli,v 1.26 2007/02/23 13:44:51 ertai Exp $ *)
+(* $Id: misc.mli 7909 2007-02-23 13:44:51Z ertai $ *)
 
 (* Miscellaneous useful types and functions *)
 
index eaa9f14045fd3aeb961340ad80753f1bcac106e4..c6391279fad949950e076283ac45935571066332 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: tbl.ml,v 1.13.22.1 2009/04/02 09:06:33 xclerc Exp $ *)
+(* $Id: tbl.ml 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 type ('a, 'b) t =
     Empty
index ee840dd41fcb8e71cfd344cd6f305f42f525e4c9..e869f26ed0e693286f9046572cd9d40a1986e505 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: tbl.mli,v 1.7.44.1 2009/04/02 09:06:33 xclerc Exp $ *)
+(* $Id: tbl.mli 9221 2009-04-02 09:06:33Z xclerc $ *)
 
 (* Association tables from any ordered type to any type.
    We use the generic ordering to compare keys. *)
index d2f98312e66358a3b73dc55fc397231a103914ac..8f1d5af8344186380790b90d0d603d1646d4b006 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: terminfo.ml,v 1.6 2004/01/01 16:42:42 doligez Exp $ *)
+(* $Id: terminfo.ml 6045 2004-01-01 16:42:43Z doligez $ *)
 
 (* Basic interface to the terminfo database *)
 
index d8a07651e93d9b3e18f5d76d1733e8f107cf8616..9198c13b77645ec985a072cdb0cb9f1524d551da 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: terminfo.mli,v 1.7 2004/01/01 16:42:43 doligez Exp $ *)
+(* $Id: terminfo.mli 6045 2004-01-01 16:42:43Z doligez $ *)
 
 (* Basic interface to the terminfo database *)
 
index c0fbe9f2622ac8d4ba9bf11bd969d8156648e461..378515936440c53984e98e207f7a1adc31797d58 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: warnings.ml,v 1.28 2008/10/06 13:53:54 doligez Exp $ *)
+(* $Id: warnings.ml 9074 2008-10-06 13:53:54Z doligez $ *)
 
 (* Please keep them in alphabetical order *)
 
index 42af60ccf6c425e51f3c8b6452424fbefc10260b..3e7a61e92e8fd20d6c17d7c4896a63ca4cfe657a 100644 (file)
@@ -10,7 +10,7 @@
 (*                                                                     *)
 (***********************************************************************)
 
-(* $Id: warnings.mli,v 1.19 2008/10/06 13:53:54 doligez Exp $ *)
+(* $Id: warnings.mli 9074 2008-10-06 13:53:54Z doligez $ *)
 
 open Format
 
index c803ace7bf964b01ab028e939852168ff0969ef4..518ce9e7378d1053786943ab6e040f8a9d3e7509 100644 (file)
@@ -11,7 +11,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.12 2007/11/15 13:21:15 frisch Exp $
+# $Id: Makefile 8521 2007-11-15 13:21:15Z frisch $
 
 include ../config/Makefile
 
index ce8dccfdc80f17cf893467221f68504cec319d3c..91e2999c317782d35ddd45acf2c3c3204097cf57 100644 (file)
@@ -31,17 +31,17 @@ typedef struct tagEditBuffer {
        int                                     LineCount;
        struct tagLineList      *Lines;
        BOOL                            isCorrect;
-} EditBuffer;\r
-\r
-BOOL           editbuffer_addline                      (EditBuffer* edBuf, char* line);\r
-BOOL           editbuffer_updateline           (EditBuffer* edBuf, int idx, char* line);\r
-BOOL           editbuffer_updateoraddline      (EditBuffer* edBuf, int idx, char* line);\r
-BOOL           editbuffer_removeline           (EditBuffer* edBuf, int idx);\r
-char*          editbuffer_getasline            (EditBuffer* edBuf);\r
-char*          editbuffer_getasbuffer          (EditBuffer* edBuf);\r
-char*          editbuffer_lastline                     (EditBuffer* edBuf);\r
-EditBuffer*    editbuffer_copy                         (EditBuffer* edBuf);\r
-void           editbuffer_destroy                      (EditBuffer* edBuf);\r
-EditBuffer*    editbuffer_new                          (void);\r
-\r
+} EditBuffer;
+
+BOOL           editbuffer_addline                      (EditBuffer* edBuf, char* line);
+BOOL           editbuffer_updateline           (EditBuffer* edBuf, int idx, char* line);
+BOOL           editbuffer_updateoraddline      (EditBuffer* edBuf, int idx, char* line);
+BOOL           editbuffer_removeline           (EditBuffer* edBuf, int idx);
+char*          editbuffer_getasline            (EditBuffer* edBuf);
+char*          editbuffer_getasbuffer          (EditBuffer* edBuf);
+char*          editbuffer_lastline                     (EditBuffer* edBuf);
+EditBuffer*    editbuffer_copy                         (EditBuffer* edBuf);
+void           editbuffer_destroy                      (EditBuffer* edBuf);
+EditBuffer*    editbuffer_new                          (void);
+
 #endif
index 446c1fe1e36c03a15154cf1538b48666a3c63ab2..7f8e6efb9c711baaf0b90298dccff7ab75ca9b6f 100644 (file)
@@ -10,7 +10,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: inria.h,v 1.6.4.1 2008/10/08 13:07:14 doligez Exp $ */
+/* $Id: inria.h 9079 2008-10-08 13:09:39Z doligez $ */
 
 /*------------------------------------------------------------------------
  Module:        D:\lcc\inria\inria.h
index 8423f22503eef99a744f1409b3e340578187d5e2..f36c0752f62d06fe34ce84bcdf4447d072fea96d 100644 (file)
@@ -11,7 +11,7 @@
 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: libgraph.h,v 1.3 2002/07/23 14:12:02 doligez Exp $ */
+/* $Id: libgraph.h 5029 2002-07-23 14:12:03Z doligez $ */
 
 #include <stdio.h>
 #include <windows.h>
index f09c5cc6bae754d8b65573047b0da205b329131b..ba7af01ed7a5bac02bf73a45998488e8851cead2 100644 (file)
@@ -15,7 +15,7 @@
 /* Began 14 Sept 2003 - watford@uiuc.edu                               */
 /***********************************************************************/
 
-/* $Id: menu.c,v 1.8 2006/05/09 16:03:48 xleroy Exp $ */
+/* $Id: menu.c 7411 2006-05-09 16:03:48Z xleroy $ */
 
 #include <stdio.h>
 #include <windows.h>
@@ -627,33 +627,33 @@ static void SaveML(char *fname)
 ------------------------------------------------------------------------*/
 static void Add_Clipboard_To_Queue(void)
 {
-    if (IsClipboardFormatAvailable(CF_TEXT) && OpenClipboard(hwndMain))\r
-    {\r
-        HANDLE hClipData = GetClipboardData(CF_TEXT);\r
-\r
-        if (hClipData != NULL)\r
-        {\r
-            char *str = GlobalLock(hClipData);\r
-\r
-            if (str != NULL)\r
-                       {\r
-                while ((*str) != 0)\r
-                {\r
-                    if (*str != '\r')\r
-                        Add_Char_To_Queue(*str);\r
-\r
-                    str++;\r
-                }\r
-\r
-                               // added to fix odd errors\r
-                               RefreshCurrentEditBuffer();\r
-                       }\r
-\r
-            GlobalUnlock(hClipData);\r
-        }\r
-\r
-        CloseClipboard();\r
-    }\r
+    if (IsClipboardFormatAvailable(CF_TEXT) && OpenClipboard(hwndMain))
+    {
+        HANDLE hClipData = GetClipboardData(CF_TEXT);
+
+        if (hClipData != NULL)
+        {
+            char *str = GlobalLock(hClipData);
+
+            if (str != NULL)
+                       {
+                while ((*str) != 0)
+                {
+                    if (*str != '\r')
+                        Add_Char_To_Queue(*str);
+
+                    str++;
+                }
+
+                               // added to fix odd errors
+                               RefreshCurrentEditBuffer();
+                       }
+
+            GlobalUnlock(hClipData);
+        }
+
+        CloseClipboard();
+    }
 }
 
 /*------------------------------------------------------------------------
index 17ef689e093f38eea7adc19a941d9dc7e0a97cc0..cd50cb9d16cc2f77feccc7bb4b79d72a0f5d6fdb 100644 (file)
@@ -14,7 +14,7 @@
 /* Began 14 Sept 2003 - watford@uiuc.edu                               */
 /***********************************************************************/
 
-/* $Id: ocaml.c,v 1.9 2006/05/09 16:03:48 xleroy Exp $ */
+/* $Id: ocaml.c 7411 2006-05-09 16:03:48Z xleroy $ */
 
 /*@@ Wedit generated application. Written Sat Jun 02 18:22:38 2001
 @@header: D:\lcc\inria\inriares.h
index c10ecdba871afe2fb91ce5d38e0f4da3e7a5781c..52ae9497428168812d0e171070a396c93e06478c 100644 (file)
-// Microsoft Visual C++ generated resource script.\r
-//\r
-#include "resource.h"\r
-\r
-#define APSTUDIO_READONLY_SYMBOLS\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Generated from the TEXTINCLUDE 2 resource.\r
-//\r
-#define APSTUDIO_HIDDEN_SYMBOLS\r
-#include "windows.h"\r
-#undef APSTUDIO_HIDDEN_SYMBOLS\r
-#include "inriares.h"\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-#undef APSTUDIO_READONLY_SYMBOLS\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// English (U.S.) resources\r
-\r
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r
-#ifdef _WIN32\r
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US\r
-#pragma code_page(1252)\r
-#endif //_WIN32\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Icon\r
-//\r
-\r
-// Icon with lowest ID value placed first to ensure application icon\r
-// remains consistent on all systems.\r
-1000                    ICON                    "ocaml.ico"\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Menu\r
-//\r
-\r
-IDMAINMENU MENU \r
-BEGIN\r
-    POPUP "&File"\r
-    BEGIN\r
-        MENUITEM "&Open...",                    IDM_OPEN\r
-        MENUITEM "&Save ML...",                 IDM_SAVE\r
-        MENUITEM "Save &Transcript...",         IDM_SAVEAS\r
-        MENUITEM SEPARATOR\r
-        MENUITEM "&Print",                      IDM_PRINT, GRAYED\r
-        MENUITEM "P&rint Setup...",             IDM_PRINTSU, GRAYED\r
-        MENUITEM SEPARATOR\r
-        MENUITEM "E&xit",                       IDM_EXIT\r
-    END\r
-    POPUP "&Edit"\r
-    BEGIN\r
-        MENUITEM "&Undo\tAlt+BkSp",             IDM_EDITUNDO\r
-        MENUITEM SEPARATOR\r
-        MENUITEM "Cu&t\t Shift+Del",            IDM_EDITCUT\r
-        MENUITEM "&Copy\tCtrl+Ins",             IDM_EDITCOPY\r
-        MENUITEM "&Paste\tShift+Ins",           IDM_EDITPASTE\r
-    END\r
-    POPUP "Workspace"\r
-    BEGIN\r
-        MENUITEM "&Font...",                    IDM_FONT\r
-        MENUITEM "Text &Color...",              IDM_COLORTEXT\r
-        MENUITEM "&Background Color...",        IDM_BACKCOLOR\r
-        MENUITEM SEPARATOR\r
-        MENUITEM "&History...",                 IDM_HISTORY\r
-        MENUITEM "&Garbage Collect",            IDM_GC\r
-        MENUITEM "&Interrupt",                  IDCTRLC\r
-    END\r
-    POPUP "&Window", GRAYED\r
-    BEGIN\r
-        MENUITEM "&Tile",                       IDM_WINDOWTILE, INACTIVE\r
-        MENUITEM "&Cascade",                    IDM_WINDOWCASCADE, INACTIVE\r
-        MENUITEM "Arrange &Icons",              IDM_WINDOWICONS, INACTIVE\r
-        MENUITEM "Close &All",                  IDM_WINDOWCLOSEALL, INACTIVE\r
-    END\r
-    POPUP "&Help"\r
-    BEGIN\r
-        MENUITEM "&About...",                   IDM_ABOUT\r
-    END\r
-END\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Accelerator\r
-//\r
-\r
-BARMDI ACCELERATORS \r
-BEGIN\r
-    "Q",            IDM_EXIT,               VIRTKEY, CONTROL\r
-END\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Dialog\r
-//\r
-\r
-IDD_ABOUT DIALOGEX 7, 29, 236, 81\r
-STYLE DS_SETFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | \r
-    WS_SYSMENU\r
-EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE\r
-CAPTION "About OCamlWinPlus"\r
-FONT 8, "MS Sans Serif", 0, 0, 0x1\r
-BEGIN\r
-    LTEXT           "Objective Caml for Windows",101,75,7,90,12\r
-    LTEXT           "New Windows Interface 1.9RC4",102,68,15,104,12\r
-    CTEXT           "Copyright 1996-2001\nUpdated 2003",103,88,25,66,23\r
-    CTEXT           "Institut National de Recherche en Informatique et Automatique",\r
-                    104,16,46,211,10\r
-    CTEXT           "Réalisé par Jacob Navia 2001.  Updated by Chris Watford 2003.\nwatford@uiuc.edu",\r
-                    105,18,54,207,19\r
-END\r
-\r
-IDD_HISTORY DIALOGEX 6, 18, 261, 184\r
-STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | \r
-    WS_SYSMENU | WS_THICKFRAME\r
-EXSTYLE WS_EX_TOOLWINDOW\r
-CAPTION "Session History"\r
-FONT 8, "MS Sans Serif", 0, 0, 0x1\r
-BEGIN\r
-    LISTBOX         IDLIST,7,7,247,173,LBS_USETABSTOPS | WS_VSCROLL | \r
-                    WS_HSCROLL | WS_TABSTOP\r
-END\r
-\r
-\r
-#ifdef APSTUDIO_INVOKED\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// TEXTINCLUDE\r
-//\r
-\r
-1 TEXTINCLUDE \r
-BEGIN\r
-    "resource.h\0"\r
-END\r
-\r
-2 TEXTINCLUDE \r
-BEGIN\r
-    "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"\r
-    "#include ""windows.h""\r\n"\r
-    "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"\r
-    "#include ""inriares.h""\r\n"\r
-    "\0"\r
-END\r
-\r
-3 TEXTINCLUDE \r
-BEGIN\r
-    "\r\n"\r
-    "\0"\r
-END\r
-\r
-#endif    // APSTUDIO_INVOKED\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// String Table\r
-//\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    3010                    "Switches to "\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    2000                    "Create, open, save, or print documents"\r
-    2010                    "Get help"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    500                     "Displays information about this application"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    440                     "Closes all open windows"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    420                     "Arranges windows as overlapping tiles"\r
-    430                     "Arranges minimized window icons"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    410                     "Arranges windows as non-overlapping tiles"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    340                     "Inserts the clipboard contents at the insertion point"\r
-    350                     "Removes the selection without putting it on the clipboard"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    320                     "Cuts the selection and puts it on the clipboard"\r
-    330                     "Copies the selection and puts it on the clipboard"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    310                     "Reverses the last action"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    260                     "Changes the printer selection or configuration"\r
-    270                     "Quits this application"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    240                     "Closes the active document"\r
-    250                     "Prints the active document"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    230                     "Saves the active document under a different name"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    210                     "Opens an existing document"\r
-    220                     "Saves the active document"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    200                     "Creates a new session"\r
-END\r
-\r
-#endif    // English (U.S.) resources\r
-/////////////////////////////////////////////////////////////////////////////\r
-\r
-\r
-\r
-#ifndef APSTUDIO_INVOKED\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Generated from the TEXTINCLUDE 3 resource.\r
-//\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-#endif    // not APSTUDIO_INVOKED\r
-\r
+// Microsoft Visual C++ generated resource script.
+//
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+#undef APSTUDIO_HIDDEN_SYMBOLS
+#include "inriares.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#endif //_WIN32
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+1000                    ICON                    "ocaml.ico"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Menu
+//
+
+IDMAINMENU MENU 
+BEGIN
+    POPUP "&File"
+    BEGIN
+        MENUITEM "&Open...",                    IDM_OPEN
+        MENUITEM "&Save ML...",                 IDM_SAVE
+        MENUITEM "Save &Transcript...",         IDM_SAVEAS
+        MENUITEM SEPARATOR
+        MENUITEM "&Print",                      IDM_PRINT, GRAYED
+        MENUITEM "P&rint Setup...",             IDM_PRINTSU, GRAYED
+        MENUITEM SEPARATOR
+        MENUITEM "E&xit",                       IDM_EXIT
+    END
+    POPUP "&Edit"
+    BEGIN
+        MENUITEM "&Undo\tAlt+BkSp",             IDM_EDITUNDO
+        MENUITEM SEPARATOR
+        MENUITEM "Cu&t\t Shift+Del",            IDM_EDITCUT
+        MENUITEM "&Copy\tCtrl+Ins",             IDM_EDITCOPY
+        MENUITEM "&Paste\tShift+Ins",           IDM_EDITPASTE
+    END
+    POPUP "Workspace"
+    BEGIN
+        MENUITEM "&Font...",                    IDM_FONT
+        MENUITEM "Text &Color...",              IDM_COLORTEXT
+        MENUITEM "&Background Color...",        IDM_BACKCOLOR
+        MENUITEM SEPARATOR
+        MENUITEM "&History...",                 IDM_HISTORY
+        MENUITEM "&Garbage Collect",            IDM_GC
+        MENUITEM "&Interrupt",                  IDCTRLC
+    END
+    POPUP "&Window", GRAYED
+    BEGIN
+        MENUITEM "&Tile",                       IDM_WINDOWTILE, INACTIVE
+        MENUITEM "&Cascade",                    IDM_WINDOWCASCADE, INACTIVE
+        MENUITEM "Arrange &Icons",              IDM_WINDOWICONS, INACTIVE
+        MENUITEM "Close &All",                  IDM_WINDOWCLOSEALL, INACTIVE
+    END
+    POPUP "&Help"
+    BEGIN
+        MENUITEM "&About...",                   IDM_ABOUT
+    END
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Accelerator
+//
+
+BARMDI ACCELERATORS 
+BEGIN
+    "Q",            IDM_EXIT,               VIRTKEY, CONTROL
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Dialog
+//
+
+IDD_ABOUT DIALOGEX 7, 29, 236, 81
+STYLE DS_SETFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | 
+    WS_SYSMENU
+EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE
+CAPTION "About OCamlWinPlus"
+FONT 8, "MS Sans Serif", 0, 0, 0x1
+BEGIN
+    LTEXT           "Objective Caml for Windows",101,75,7,90,12
+    LTEXT           "New Windows Interface 1.9RC4",102,68,15,104,12
+    CTEXT           "Copyright 1996-2001\nUpdated 2003",103,88,25,66,23
+    CTEXT           "Institut National de Recherche en Informatique et Automatique",
+                    104,16,46,211,10
+    CTEXT           "Réalisé par Jacob Navia 2001.  Updated by Chris Watford 2003.\nwatford@uiuc.edu",
+                    105,18,54,207,19
+END
+
+IDD_HISTORY DIALOGEX 6, 18, 261, 184
+STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | 
+    WS_SYSMENU | WS_THICKFRAME
+EXSTYLE WS_EX_TOOLWINDOW
+CAPTION "Session History"
+FONT 8, "MS Sans Serif", 0, 0, 0x1
+BEGIN
+    LISTBOX         IDLIST,7,7,247,173,LBS_USETABSTOPS | WS_VSCROLL | 
+                    WS_HSCROLL | WS_TABSTOP
+END
+
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE 
+BEGIN
+    "resource.h\0"
+END
+
+2 TEXTINCLUDE 
+BEGIN
+    "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
+    "#include ""windows.h""\r\n"
+    "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
+    "#include ""inriares.h""\r\n"
+    "\0"
+END
+
+3 TEXTINCLUDE 
+BEGIN
+    "\r\n"
+    "\0"
+END
+
+#endif    // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// String Table
+//
+
+STRINGTABLE 
+BEGIN
+    3010                    "Switches to "
+END
+
+STRINGTABLE 
+BEGIN
+    2000                    "Create, open, save, or print documents"
+    2010                    "Get help"
+END
+
+STRINGTABLE 
+BEGIN
+    500                     "Displays information about this application"
+END
+
+STRINGTABLE 
+BEGIN
+    440                     "Closes all open windows"
+END
+
+STRINGTABLE 
+BEGIN
+    420                     "Arranges windows as overlapping tiles"
+    430                     "Arranges minimized window icons"
+END
+
+STRINGTABLE 
+BEGIN
+    410                     "Arranges windows as non-overlapping tiles"
+END
+
+STRINGTABLE 
+BEGIN
+    340                     "Inserts the clipboard contents at the insertion point"
+    350                     "Removes the selection without putting it on the clipboard"
+END
+
+STRINGTABLE 
+BEGIN
+    320                     "Cuts the selection and puts it on the clipboard"
+    330                     "Copies the selection and puts it on the clipboard"
+END
+
+STRINGTABLE 
+BEGIN
+    310                     "Reverses the last action"
+END
+
+STRINGTABLE 
+BEGIN
+    260                     "Changes the printer selection or configuration"
+    270                     "Quits this application"
+END
+
+STRINGTABLE 
+BEGIN
+    240                     "Closes the active document"
+    250                     "Prints the active document"
+END
+
+STRINGTABLE 
+BEGIN
+    230                     "Saves the active document under a different name"
+END
+
+STRINGTABLE 
+BEGIN
+    210                     "Opens an existing document"
+    220                     "Saves the active document"
+END
+
+STRINGTABLE 
+BEGIN
+    200                     "Creates a new session"
+END
+
+#endif    // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif    // not APSTUDIO_INVOKED
+
index 27bf5ea142846ce9bb3877dab2bc8aae6c9c9f4e..67625979c8ff7fdb6457c962a9f70d8d1884593f 100644 (file)
@@ -1,16 +1,16 @@
-//{{NO_DEPENDENCIES}}\r
-// Microsoft Visual C++ generated include file.\r
-// Used by ocaml.rc\r
-//\r
-\r
-// Next default values for new objects\r
-// \r
-#ifdef APSTUDIO_INVOKED\r
-#ifndef APSTUDIO_READONLY_SYMBOLS\r
-#define _APS_NO_MFC                     1\r
-#define _APS_NEXT_RESOURCE_VALUE        101\r
-#define _APS_NEXT_COMMAND_VALUE         40001\r
-#define _APS_NEXT_CONTROL_VALUE         1000\r
-#define _APS_NEXT_SYMED_VALUE           101\r
-#endif\r
-#endif\r
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by ocaml.rc
+//
+
+// Next default values for new objects
+// 
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NO_MFC                     1
+#define _APS_NEXT_RESOURCE_VALUE        101
+#define _APS_NEXT_COMMAND_VALUE         40001
+#define _APS_NEXT_CONTROL_VALUE         1000
+#define _APS_NEXT_SYMED_VALUE           101
+#endif
+#endif
index 3f6dbaa33242ccaea98f939c83963b949c5184db..8b0ae8c50e439f9591fee6925438b707a0250271 100644 (file)
@@ -15,7 +15,7 @@
 /* Began 14 Sept 2003 - watford@uiuc.edu                               */
 /***********************************************************************/
 
-/* $Id: startocaml.c,v 1.11 2005/03/24 17:20:54 doligez Exp $ */
+/* $Id: startocaml.c 6824 2005-03-24 17:20:54Z doligez $ */
 
 #include <windows.h>
 #include <stdio.h>
index bd1533756ecece253c816ae0000d3fdfa0df883c..c51d0fc25f6a3f9fd2e9cf6048e173be9c5ed96d 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile,v 1.10 2007/02/07 14:49:42 doligez Exp $
+# $Id: Makefile 7833 2007-02-07 14:49:42Z doligez $
 
 # Makefile for the parser generator.
 
index 3ec232dfa78f0c6f4fec2696139cd38e18a89156..c90e17dafb18e16980758ddbd95146f818ea1720 100644 (file)
@@ -10,7 +10,7 @@
 #                                                                       #
 #########################################################################
 
-# $Id: Makefile.nt,v 1.11 2007/11/15 13:21:15 frisch Exp $
+# $Id: Makefile.nt 8521 2007-11-15 13:21:15Z frisch $
 
 # Makefile for the parser generator.
 
index 7ea396dcc046f98ec298ba18cb71bbe144b900bd..dfb32be1d8b2c5503ae76e61b51ed162deb088da 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: closure.c,v 1.9 2001/07/12 12:54:22 doligez Exp $ */
+/* $Id: closure.c 3573 2001-07-12 12:54:24Z doligez $ */
 
 #include "defs.h"
 
index 7991b5908a88df08f2ea7511416e29ec242707ef..522c54c44bdd72a2b2e8a544b427f4757ff3df07 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: defs.h,v 1.22 2004/04/21 23:26:05 doligez Exp $ */
+/* $Id: defs.h 6244 2004-04-21 23:26:06Z doligez $ */
 
 #include <assert.h>
 #include <ctype.h>
index 9bc29a772e9d7764a29cd7c3b3b6ffd69a20d2a8..bae9c19409e2207daf7704a648fc04a7fd6245de 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: error.c,v 1.15 2004/11/02 10:48:14 doligez Exp $ */
+/* $Id: error.c 6654 2004-11-02 10:48:14Z doligez $ */
 
 /* routines for printing error messages  */
 
index a89d8a3f3c744e24ee8189d60ce3b074fa953c78..196fa37d3bcf1ca58332a9f058b9847840ff9bc8 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: lalr.c,v 1.8 2001/07/12 12:54:23 doligez Exp $ */
+/* $Id: lalr.c 3573 2001-07-12 12:54:24Z doligez $ */
 
 #include "defs.h"
 
index 55109bac9932748cb2df64687c3650afcbb54e42..58bf42ef222d90d338eec5fb4709a188faabc1ff 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: lr0.c,v 1.8 2001/07/12 12:54:23 doligez Exp $ */
+/* $Id: lr0.c 3573 2001-07-12 12:54:24Z doligez $ */
 
 
 #include "defs.h"
index 5d79e558b6126e7523afe745096b5c8470a0da83..818be35e06fe52fb80f2c9624bc0ccaeda4fff83 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: main.c,v 1.20 2006/04/16 23:28:22 doligez Exp $ */
+/* $Id: main.c 7382 2006-04-16 23:28:22Z doligez $ */
 
 #include <signal.h>
 #include <string.h>
index 46dfb6d5bc4a822711ee98ff202b03aa3b465eaa..1086a632074b752958506718bc0fae24618389bf 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: mkpar.c,v 1.11 2001/07/12 12:54:23 doligez Exp $ */
+/* $Id: mkpar.c 3573 2001-07-12 12:54:24Z doligez $ */
 
 
 #include "defs.h"
index 5b9687850704b135dd6699765283b6c067efee27..b293ae742f14cd0e9f95bf786c7d0f7bf8151e77 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: output.c,v 1.14 2002/11/02 22:36:46 doligez Exp $ */
+/* $Id: output.c 5232 2002-11-02 22:36:46Z doligez $ */
 
 #include "defs.h"
 
index a8f751d3ae1be4fa6c2a1b01c9317a21e30e9d27..b4990585239ba4c3f697fa68fb0e3a7a23667da5 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: reader.c,v 1.32.18.1 2009/05/20 11:58:43 doligez Exp $ */
+/* $Id: reader.c 9271 2009-05-20 11:58:43Z doligez $ */
 
 #include <string.h>
 #include "defs.h"
index fef9dbe688d462c910a73c0c48b1ba95515f77c8..7b12a6332b807f90ae05577f3f31c2bbb4311c24 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: skeleton.c,v 1.13 2005/08/13 20:59:37 doligez Exp $ */
+/* $Id: skeleton.c 7019 2005-08-13 20:59:37Z doligez $ */
 
 #include "defs.h"
 
index e29ba390241ac4b2e2315f8863288ed2cb670806..92ad7d399e380abcfe2a4d12cb03dc60fc1a0d83 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: symtab.c,v 1.8 2001/07/12 12:54:23 doligez Exp $ */
+/* $Id: symtab.c 3573 2001-07-12 12:54:24Z doligez $ */
 
 #include <string.h>
 #include "defs.h"
index 2ab794f6d4d6d31c9c6cbaba19aa17ff063b4c69..a1219793d4017d6b1a310da7a5b83dac50e715f7 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: verbose.c,v 1.9 2001/07/12 12:54:23 doligez Exp $ */
+/* $Id: verbose.c 3573 2001-07-12 12:54:24Z doligez $ */
 
 
 #include "defs.h"
index 72b5940270d6a4e0d2890e78b95b8fbe2e18559f..f1caabb6a0e4f18c4ef42ab751103c7ddd277f1f 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Based on public-domain code from Berkeley Yacc */
 
-/* $Id: warshall.c,v 1.8 2001/07/12 12:54:23 doligez Exp $ */
+/* $Id: warshall.c 3573 2001-07-12 12:54:24Z doligez $ */
 
 #include "defs.h"