Rectification de l'appel de unix_error.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@494 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
18e825ee64
commit
49d5e3a750
|
@ -34,7 +34,7 @@ value unix_getcwd() /* ML */
|
|||
value unix_getcwd()
|
||||
{
|
||||
char buff[MAXPATHLEN];
|
||||
if (getwd(buff) == 0) uerror("getcwd", buff);
|
||||
if (getwd(buff) == 0) uerror("getcwd", alloc_string(buff));
|
||||
return copy_string(buff);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue