| 1 | after 5.003_05:
|
|---|
| 2 | PERLLIB_PREFIX was not active if it matches an element of @INC
|
|---|
| 3 | as a whole.
|
|---|
| 4 | Do not need PERL_SBRK if crtdll-revision is >= 50.
|
|---|
| 5 | Use -Zsmall-conv if crtdll-revision is >= 50 (in static perl!).
|
|---|
| 6 | :7: warning: #warning <dirent.h> requires <sys/types.h>
|
|---|
| 7 | We compile miniperl static. It cannot fork, thus there may be
|
|---|
| 8 | problems with pipes (since HAS_FORK is in
|
|---|
| 9 | place). Pipes are required by makemaker.
|
|---|
| 10 | We compile perl___.exe A.OUT and dynamic. It should be able to
|
|---|
| 11 | fork.
|
|---|
| 12 | If we can fork, we my_popen by popen unless "-|". Thus we
|
|---|
| 13 | write a cooky "-1" into the pid array to indicate
|
|---|
| 14 | this.
|
|---|
| 15 | Apparently we can fork, and we can load dynamic extensions
|
|---|
| 16 | now, though probably not simultaneously.
|
|---|
| 17 | *DB tests corrected for OS/2 one-user stat[2].
|
|---|
| 18 | /bin/sh is intercepted and replaced by SH_PATH.
|
|---|
| 19 | Note that having '\\' in the command line of one-arg `system'
|
|---|
| 20 | would trigger call via shell.
|
|---|
| 21 | Segfault with system {'ls'} 'blah'; corrected.
|
|---|
| 22 | Documentation of OS/2-different features added to main PODs.
|
|---|
| 23 | New buitins in Cwd::
|
|---|
| 24 |
|
|---|
| 25 | Cwd::current_drive
|
|---|
| 26 | Cwd::sys_chdir - leaves drive as it is.
|
|---|
| 27 | Cwd::change_drive
|
|---|
| 28 | Cwd::sys_is_absolute - has drive letter and is_rooted
|
|---|
| 29 | Cwd::sys_is_rooted - has leading [/\\] (maybe
|
|---|
| 30 | after a drive)
|
|---|
| 31 | Cwd::sys_is_relative - changes with current dir
|
|---|
| 32 | Cwd::sys_cwd - Interface to cwd from EMX.
|
|---|
| 33 | Cwd::sys_abspath(name, dir)
|
|---|
| 34 | - Really really odious
|
|---|
| 35 | function. Returns absolute
|
|---|
| 36 | name of file which would
|
|---|
| 37 | have 'name' if CWD were 'dir'.
|
|---|
| 38 | Dir defaults to the current dir.
|
|---|
| 39 | Cwd::extLibpath [type] - Get/set current value of extended
|
|---|
| 40 | Cwd::extLibpath_set - library search path.
|
|---|
| 41 | path [type]
|
|---|
| 42 | The optional last argument redirects
|
|---|
| 43 | to END-path if true,
|
|---|
| 44 | default is to search BEGIN-path.
|
|---|
| 45 | (Note that some of these may be moved to different
|
|---|
| 46 | libraries - eventually).
|
|---|
| 47 | Executables:
|
|---|
| 48 | perl - can fork, can dynalink (but not simultaneously)
|
|---|
| 49 | perl_ - can fork, cannot dynalink
|
|---|
| 50 | perl__ - same as perl___, but PM.
|
|---|
| 51 | perl___ - cannot fork, can dynalink.
|
|---|
| 52 | The build of the first one - perl - is rather convoluted, and
|
|---|
| 53 | requires a build of miniperl_.
|
|---|
| 54 |
|
|---|
| 55 | after 5.003_07:
|
|---|
| 56 | custom tmpfile and tmpname which may use $TMP, $TEMP.
|
|---|
| 57 | all the calls to OS/2 API wrapped so that it is safe to use
|
|---|
| 58 | them under DOS (may die(), though).
|
|---|
| 59 | Tested that popen works under DOS with modified PDKSH and RSX.
|
|---|
| 60 | File::Copy works under DOS.
|
|---|
| 61 | MakeMaker modified to work under DOS (perlmain.c.tmp and sh -c true).
|
|---|
| 62 |
|
|---|
| 63 | after 5.003_08:
|
|---|
| 64 | OS2::PrfDB exports symbols as documented;
|
|---|
| 65 | should work on OS/2 2.1 again.
|
|---|
| 66 | uses reliable signals when spawing.
|
|---|
| 67 | do not use popen() any more - no intermediate shell unless needed.
|
|---|
| 68 |
|
|---|
| 69 | after 5.003_11:
|
|---|
| 70 | Functions emx_{malloc,realloc,calloc,free} are exported from DLL.
|
|---|
| 71 | get_sysinfo() bugs corrected (flags were not used and wrongly defined).
|
|---|
| 72 |
|
|---|
| 73 | after 5.003_20:
|
|---|
| 74 | _isterm is substituted instead of isatty, s?random instead of srand.
|
|---|
| 75 | `register' disabled if -DDEBUGGING and not AOUT build: stupid SD386.
|
|---|
| 76 | 3-argument select() was stomping over memory.
|
|---|
| 77 |
|
|---|
| 78 | after 5.003_21:
|
|---|
| 79 | Can start scripts by executing 'dir/script' and
|
|---|
| 80 | 'script.sh'. Form without extension will call shell only if
|
|---|
| 81 | the specified file exists (will not look on path) (to prohibit
|
|---|
| 82 | trying to run shell commands directly). - Needed by magic.t.
|
|---|
| 83 |
|
|---|
| 84 | after 5.003_27:
|
|---|
| 85 | ALTERNATE_SHEBANG="extproc " supported, thus options on this
|
|---|
| 86 | line are processed (possibly twice). -S is made legal on such
|
|---|
| 87 | a line. This -S -x is not needed any more.
|
|---|
| 88 | perl.dll may be used from non-EMX programs (via PERL_SYS_INIT
|
|---|
| 89 | - the caller should have valid variable "env" with
|
|---|
| 90 | environment). Known problems: $$ does not work - is 0, waitpid
|
|---|
| 91 | returns immediately, thus Perl cannot wait for completion of
|
|---|
| 92 | started programs.
|
|---|
| 93 |
|
|---|
| 94 | after 5.004_01:
|
|---|
| 95 | flock emulation added (disable by setting env PERL_USE_FLOCK=0),
|
|---|
| 96 | thanks to Rocco Caputo;
|
|---|
| 97 | RSX bug with missing waitpid circomvented;
|
|---|
| 98 | -S bug with full path with \ corrected.
|
|---|
| 99 |
|
|---|
| 100 | before 5.004_02:
|
|---|
| 101 | -S switch to perl enables a search with additional extensions
|
|---|
| 102 | .cmd, .btm, .bat, .pl as well. This means that if you have
|
|---|
| 103 | mycmd.pl or mycmd.bat on PATH,
|
|---|
| 104 | perl -S mycmd
|
|---|
| 105 | will work. Perl will also look in the current directory first.
|
|---|
| 106 | Moreover, a bug with \; in PATH being non-separator is fixed.
|
|---|
| 107 |
|
|---|
| 108 | after 5.004_03:
|
|---|
| 109 | $^E tracks calls to CRT now. (May break if Perl masks some
|
|---|
|
|---|