1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/ext/v8/upstream/scons/os_spawnv_fix.diff
Charles Lowell 205c52c5bf import v8 source
move v8 src to google dir

moving v8 source into main extension

move google upstream source dir into v8 ext dir

include v8 library in generated bundle

prep for 0.4.7

roll the upstream build into the main extension build

Documentation was confusing the gem packager.

simplify build instructions with bundled v8.

Only install scons and build v8 if it has not been built already.

Missing CVS.py from the scons library due to ignore patterns.

Don't need libv8 anymore, only python 2.5 which is required to build it.
2010-02-04 13:41:54 -06:00

83 lines
2.4 KiB
Diff

? dist/src/Mac/IDE scripts/Hold option to open a script
? dist/src/Mac/IDE scripts/Insert file name
? dist/src/Mac/IDE scripts/Insert folder name
? dist/src/Mac/IDE scripts/Search Python Documentation
? dist/src/Mac/IDE scripts/Hack/Remove .pyc files
? dist/src/Mac/IDE scripts/Hack/Toolbox Assistant
Index: dist/src/Modules/posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.213
diff -c -c -r2.213 posixmodule.c
*** dist/src/Modules/posixmodule.c 2001/12/03 20:41:00 2.213
--- dist/src/Modules/posixmodule.c 2001/12/05 00:52:58
***************
*** 1668,1674 ****
#ifdef HAVE_SPAWNV
static char posix_spawnv__doc__[] =
"spawnv(mode, path, args)\n\
! Execute an executable path with arguments, replacing current process.\n\
\n\
mode: mode of process creation\n\
path: path of executable file\n\
--- 1668,1674 ----
#ifdef HAVE_SPAWNV
static char posix_spawnv__doc__[] =
"spawnv(mode, path, args)\n\
! Execute the program 'path' in a new process.\n\
\n\
mode: mode of process creation\n\
path: path of executable file\n\
***************
*** 1717,1724 ****
if (mode == _OLD_P_OVERLAY)
mode = _P_OVERLAY;
spawnval = _spawnv(mode, path, argvlist);
!
PyMem_DEL(argvlist);
if (spawnval == -1)
--- 1717,1727 ----
if (mode == _OLD_P_OVERLAY)
mode = _P_OVERLAY;
+
+ Py_BEGIN_ALLOW_THREADS
spawnval = _spawnv(mode, path, argvlist);
! Py_END_ALLOW_THREADS
!
PyMem_DEL(argvlist);
if (spawnval == -1)
***************
*** 1734,1740 ****
static char posix_spawnve__doc__[] =
"spawnve(mode, path, args, env)\n\
! Execute a path with arguments and environment, replacing current process.\n\
\n\
mode: mode of process creation\n\
path: path of executable file\n\
--- 1737,1743 ----
static char posix_spawnve__doc__[] =
"spawnve(mode, path, args, env)\n\
! Execute the program 'path' in a new process.\n\
\n\
mode: mode of process creation\n\
path: path of executable file\n\
***************
*** 1830,1836 ****
--- 1833,1843 ----
if (mode == _OLD_P_OVERLAY)
mode = _P_OVERLAY;
+
+ Py_BEGIN_ALLOW_THREADS
spawnval = _spawnve(mode, path, argvlist, envlist);
+ Py_END_ALLOW_THREADS
+
if (spawnval == -1)
(void) posix_error();
else