OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <errno.h> | 5 #include <errno.h> |
6 #include <fcntl.h> | 6 #include <fcntl.h> |
| 7 #include <signal.h> |
7 #include <stdlib.h> | 8 #include <stdlib.h> |
8 #include <string.h> | 9 #include <string.h> |
9 #include <sys/select.h> | 10 #include <sys/select.h> |
10 #include <sys/stat.h> | 11 #include <sys/stat.h> |
11 #include <sys/time.h> | 12 #include <sys/time.h> |
12 #include <sys/types.h> | 13 #include <sys/types.h> |
13 #include <sys/wait.h> | 14 #include <sys/wait.h> |
14 #include <unistd.h> | 15 #include <unistd.h> |
15 | 16 |
16 #include "src/d8.h" | 17 #include "src/d8.h" |
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 FunctionTemplate::New(isolate, UnsetEnvironment)); | 706 FunctionTemplate::New(isolate, UnsetEnvironment)); |
706 os_templ->Set(String::NewFromUtf8(isolate, "umask"), | 707 os_templ->Set(String::NewFromUtf8(isolate, "umask"), |
707 FunctionTemplate::New(isolate, SetUMask)); | 708 FunctionTemplate::New(isolate, SetUMask)); |
708 os_templ->Set(String::NewFromUtf8(isolate, "mkdirp"), | 709 os_templ->Set(String::NewFromUtf8(isolate, "mkdirp"), |
709 FunctionTemplate::New(isolate, MakeDirectory)); | 710 FunctionTemplate::New(isolate, MakeDirectory)); |
710 os_templ->Set(String::NewFromUtf8(isolate, "rmdir"), | 711 os_templ->Set(String::NewFromUtf8(isolate, "rmdir"), |
711 FunctionTemplate::New(isolate, RemoveDirectory)); | 712 FunctionTemplate::New(isolate, RemoveDirectory)); |
712 } | 713 } |
713 | 714 |
714 } // namespace v8 | 715 } // namespace v8 |
OLD | NEW |