Commit Graph

84 Commits (90bbd2594801bc046ff024c3abb1277d5502138a)

Author SHA1 Message Date
Damien Doligez def31744f9 remove all $Id keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez 0c3a7de507 merge changes from 4.00 branching to 4.00.0 (part 1)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-26 19:21:54 +00:00
Fabrice Le Fessant 8055158a17 Fix ENOMEM error on Windows when reading from terminal
On Windows, an error ENOMEM is returned when reading more than ~ 24 kB a
file descriptor attached to the terminal. This patch fixes this problem by
retrying to read a smaller amount of data (16kB), only on Windows.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12640 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-25 12:00:44 +00:00
Damien Doligez e7f5b858c2 More renaming to OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 16:15:24 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Xavier Leroy f90ddc8c22 PR#5290: added hash functions for channels, nats, mutexes, conditions.
Also: added "custom_compare_ext_default" to all struct custom_operations:
default initialization to 0 did what we want, but explicit initialization
better documents the C sources.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11143 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 10:07:25 +00:00
Mark Shinwell 62d8b11287 fix mantis 5032
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10300 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-23 07:58:59 +00:00
Mark Shinwell cf088abef1 release runtime lock for lseek (mantis 4801)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10223 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-01 07:36:49 +00:00
Xavier Leroy 160e4050d8 Raise Sys_blocked_io only in I/O operations that return EAGAIN/EWOULDBLOCK. Other, non-I/O related system calls can also return EAGAIN (e.g. in Sys.command); these should raise Sys_error, not Sys_blocked_io
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7919 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-25 12:38:36 +00:00
Xavier Leroy f3fab9a259 Tentative fix for PR#4098. Need testing.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 17:37:08 +00:00
Nicolas Pouillard 1f8ca2dc7b Put parenthesis around arguments to please the compilation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 19:30:18 +00:00
Damien Doligez 865ec79b34 PR#4039, PR#4062
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7499 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 08:05:26 +00:00
Damien Doligez 1279ab4b76 fusion des changements 3.09.1 -> 3.09.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Michel Mauny a136b3fedd Fixed bug #3818 (set_binary_mode_out for Cygwin)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7165 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 19:15:36 +00:00
Xavier Leroy 3aff9998a1 close_in, close_out en temps constant (PR#3727,3278)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7076 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-24 16:14:41 +00:00
Xavier Leroy 3de54dec26 Remplacement long/unsigned long par intnat/uintnat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-22 14:21:50 +00:00
Xavier Leroy 072e77b3ba Nettoyage du code qui teste les signaux en attente.
Tester systematiquement les signaux dans leave_blocking_section.
Tester aussi dans Sys.signal (s'il y a un signal en attente dont on
change le comportement en Signal_ignore, p.ex.)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6999 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-31 12:31:03 +00:00
Damien Doligez 794c184571 suppression du support Mac OS 9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-08 22:28:48 +00:00
Damien Doligez 5a678d29f5 depollution suite (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +00:00
Damien Doligez 331b2d89c3 depollution suite (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-31 14:20:40 +00:00
Damien Doligez 31943bac1d depollution suite (PR#1914 et PR#1956); byterun/weak.c: PR#1929 suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-29 22:15:02 +00:00
Damien Doligez 8fde08275d deuxieme tranche des travaux de depollution (PR#1914 et PR#1956) + dependances
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-15 16:29:53 +00:00
Xavier Leroy 3195a6f480 alloc_channel: chan pouvait etre finalise lors de l'allocation (en cas d'appel depuis caml_out_channels_list) (PR#1734)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5758 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-29 11:48:34 +00:00
Xavier Leroy 22649ba49d Traiter correctement les grands fichiers dans pos_in et pos_out (PR#1511)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-06 10:59:07 +00:00
Damien Doligez eac092b352 PR#1494
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5363 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-03 15:04:08 +00:00
Bruno Verlyck 21bc67fa0c Re-export de do_read pour Cash (que Damien le nettoyeur avait zappé)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5253 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-07 18:08:27 +00:00
Damien Doligez 1ba3a292a9 fix du fix du PR#1249
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5212 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 10:37:53 +00:00
Damien Doligez 0738514628 PR#1249
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-29 13:55:33 +00:00
Damien Doligez 85acae0a8a fix petits bugs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5187 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-22 13:02:46 +00:00
Bruno Verlyck bdb009f5f9 2 trucs pour pouvoir emuler un mode non bufferise avec un buffer de taille 1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4846 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 14:31:09 +00:00
Xavier Leroy 384a4cd437 Software emulation of 64-bit integers if needed. Use safe division for int32 and nativeint if necessary
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4832 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-25 08:32:53 +00:00
Damien Doligez fc5d8b4344 ne pas lever d'exception si on flushe un channel ferme
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-26 14:28:25 +00:00
Xavier Leroy cefcfba94a Mettre -D_FILE_OFFSET_BITS=64 dans les options de compilation partagees par tout le monde
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4533 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-15 14:38:37 +00:00
Xavier Leroy bddfe5d0ce Ajout operations sur gros fichiers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-02 09:16:39 +00:00
Damien Doligez 30e7601af2 assertions fausses
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4435 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-21 15:05:26 +00:00
Xavier Leroy 7501784c80 MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Xavier Leroy 48d41c5c0a Exporter do_read pour Cash
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4005 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-13 15:41:01 +00:00
Xavier Leroy 2f7123618c Ajout de flush_all + modifs pour Cash (Bruno Verlyck)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3872 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-09 15:14:01 +00:00
Xavier Leroy ddd99c7e5d Chargement dynamique de primitives C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-28 14:47:48 +00:00
Xavier Leroy 217f88b19a Ne pas echouer si on fait exit' plante si on a ferme stdout / stderr avant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3429 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-20 10:02:59 +00:00
Xavier Leroy 2771f4343c Vider les buffers lorsqu'on fait close histoire d'avoir une exception Sys_error a la premiere lecture ou ecriture suivante
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-06 15:21:50 +00:00
Damien Doligez cdf19e15fc bcopy -> memmove; pas de virgule finale dans instruct.h
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3310 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-10-12 18:05:42 +00:00
Xavier Leroy 221c25753b Ajout d'une fonction de comparaison sur les channels (necessaire entre autres pour Unix.close_process*)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3163 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-05-16 09:11:51 +00:00
Damien Doligez 511b966ba7 MacOS
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3102 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-17 20:01:40 +00:00
Xavier Leroy 9e206909f4 Introduction des blocs de type Custom.
Remplacement des blocs de type Final par des blocs de type Custom.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2804 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-10 14:04:59 +00:00
Xavier Leroy a1795152bd Correction de race conditions entre I/O, GC, et marshaling (PR #24 et #25)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2794 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-07 14:07:31 +00:00
Damien Doligez 00089ba61a detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2741 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-07 16:05:19 +00:00
Damien Doligez 63e272ecc5 Begin_roots -> CAMLparam
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:03:05 +00:00
Xavier Leroy cc0f32b054 Changement de la licence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Xavier Leroy 6c209fd054 Ajout de Sys_blocked_io pour traiter les erreurs EAGAIN
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2186 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-11-20 15:36:27 +00:00