| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
| |
Fixes http://caml.inria.fr/mantis/view.php?id=5253
|
|\
| |
| | |
Windows sockets in asynchronous mode
|
| | |
|
| |
| |
| |
| | |
This is an attempt to address PR#4466, #5325, #6771. Not tested yet.
|
|\ \
| | |
| | | |
Revert user defined indexing operators
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 7e47735db8bbc4e54e1653d218cc1e6c90813ba4.
(Again, this required manual conflict resolution in parsing/parser.mly,
due to the change in argument label type)
|
| |/
| |
| |
| |
| |
| |
| | |
This reverts commit 4a80e9da1114cb1e351a8c61cab6f04e6c1ba927.
(The revert required some manual conflict resolution because of use of
function argument labels in the parser.)
|
| |
| |
| |
| |
| |
| | |
exactly 0.0
Also: use utimes() in preference to utime() so as to get sub-second resolution.
|
| |
| |
| |
| | |
loaded inside the toplevel loop
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
can be consulted with Str.matched_group.
There used to be a limitation to 32 binding groups, which is now lifted by dynamically allocating the groups data if it is too big.
Also:
- Modernize strstubs.c to use the Caml namespace
- Fixed a potential bug with backreferences \\n referring to a nonexistent group.
|
|/ |
|
|
|
|
| |
Check the return code of st_mutex_create so that, in particular, out-of-memory conditions cause an exception.
|
|
|
|
| |
line" means for "^" and "$" regexps.
|
|
|
|
|
|
|
| |
containing the null character '\000'
Continuation of commit dc043a7.
Fix wrong declaration of cstringvect.
|
|
|
|
| |
Follow-up to commit 50648ed: update otherlibs/threads.
|
|
|
|
|
|
|
| |
Unix.sleepf provides sleep with sub-second resolution.
Unix.sleep is implemented on top of Unix.sleepf.
If a handled signal causes the sleep to return early with an EINTR
error, catch it and restart the sleep for the remaining time.
|
|
|
|
|
|
|
|
|
|
|
|
| |
containing the null character '\000'
Continuation of commit dc043a7. The following otherlibs/unix/ functions were not protected:
unix_inet_of_string
unix_getgrnam
unix_getpwnam
unix_initgroups
unix_readlink
unix_utimes
|
|
|
|
|
|
|
|
| |
containing the null character '\000'
Continuation of commits dc043a7 and 9dfa69e:
- Add checks for the command-line arguments and for the environment
variables passed via Unix.exec* and variants.
|
|
|
|
|
|
|
|
| |
containing the null character '\000'
Continuation of commit dc043a7:
- Update the win32unix/ files with the new checks.
- Completely untested, not even compiled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
containing the null character '\000'
Implementation notes:
- Based on c-cube's GPR#227 code, but many Unix functions were missing.
- For Unix.bind and Unix.connect to a PF_UNIX address, tolerate
file names whose first character is '\000': in Linux, these have
a meaning as "abstract socket addresses", and in other operating
systems, the resulting empty path name causes a EINVAL error
(tested under MacOS X).
- Very lightly tested.
- win32unix remains to be fixed.
|
|
|
|
| |
Fix implemented: return ADDR_UNIX "" in this case (the file name is the empty string).
|
|
|
|
| |
tools/check-typo
|
| |
|
|\ |
|
| |
| |
| |
| | |
Share the declaration in "unixsupport.h", and give it a full prototype.
|
| |
| |
| |
| | |
Under Glibc, 'h_errno' is a macro that expands to a system call, like 'errno'. Here, we just want a local variable.
|
|/ |
|
|
|
|
|
|
|
| |
Tentative fix, to be tested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16490 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
|
|
|
|
|
| |
(user 'octachron')
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16480 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
|
|
|
|
|
| |
(user 'octachron')
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16479 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
|
|
|
| |
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16456 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
|
|
|
| |
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16455 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
|
|
|
|
|
| |
This is to replace the "noalloc" annotation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16454 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
|
|
|
| |
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
support.
Merge of branch 'ppc64'.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| |\
| | |
| | |
| | | |
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/ppc64@16362 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| |\ \
| | | |
| | | |
| | | | |
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/ppc64@16340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/ppc64@16320 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Removed MacOS X support, long dead.
- Added support for PowerPC 64 bits, big-endian, ELF v1 ABI
(tested, mostly works, some issues remain with marshaling of code pointers)
- Added support for PowerPC 64 bits, little-endian, ELF v2 ABI
(completely untested)
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/ppc64@16226 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
From: Frédéric Bour <frederic.bour@lakaban.net>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16366 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16354 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16352 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| |_|/
|/| |
| | |
| | | |
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16345 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the case HAS_GETHOSTBYNAME_R == 6, hp may point into h or into buffer,
so don't end the scope of h and buffer before hp is used.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| |/
|/|
| |
| | |
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| |
| |
| |
| | |
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
| |
| |
| |
| |
| |
| | |
(Bernhard Schommer)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16313 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|