diff options
author | Ilya Zakharevich <ilya@math.ohio-state.edu> | 1997-06-09 16:52:06 +1200 |
---|---|---|
committer | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-08-07 00:00:00 +1200 |
commit | 367f3c247e808d76465803ec861b19fd55ffd90d (patch) | |
tree | 4ca58250b62dedd5b9ff9bae8d8a993b3debb769 /README.os2 | |
parent | 17fd57d4d5d145d80aa9549b4fb89625b31a4148 (diff) | |
download | perl-367f3c247e808d76465803ec861b19fd55ffd90d.tar.gz |
Assorted OS/2 fixes
In article <9706131709.AA05526@toad.ig.co.uk>,
Tim Bunce <Tim.Bunce@ig.co.uk> wrote:
> It give me great pleasure to announce the arrival of perl5.004_01.
Thank you for a great job! You even corrected os2/diff.configure!
Unfortunately, several sections of os2/diff.configure were erroneously
removed, so it will not create a valid config.sh any more (ar used
instead of $ar, and one extra method to extract symbols is not
tried). Unfortunately, I was away from my development machine, so
could not try it earlier.
A patch to correct this problem, and some other ones, follows.
a) Missing sections restored;
os2/diff.configure
b) my_flock added to os2/os2.c (libc contains a dummy
implementation only) (switchable off in case CRT DLL
is fixed in this respect);
os2/os2ish.h os2/Makefile.SHs os2/os2.c
c) depending on architecture, waitpid may be implemented or not.
New define HAS_WAITPID_RUNTIME is added and wait4pid
corrected correspondingly;
os2/os2ish.h util.c
d) if -S was given and the file name contained \ , it was
nevertheless searched on path;
perl.c
e) updated:
os2/Changes README.os2
f) by default use better gcc optimization options (as mbeattie
advices):
hints/os2.sh
[editor's note: this was applied in the reverse order to one a couple
of commits ago]
p5p-msgid: 1997Jun16.163234.2091727@hmivax.humgen.upenn.edu
Diffstat (limited to 'README.os2')
-rw-r--r-- | README.os2 | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/README.os2 b/README.os2 index 947a56926d..667423c382 100644 --- a/README.os2 +++ b/README.os2 @@ -1085,8 +1085,13 @@ eventually). =item -Since L<flock(3)> is present in EMX, but is not functional, the same is -true for perl. Here is the list of things which may be "broken" on +Since L<flock(3)> is present in EMX, but is not functional, it is +emulated by perl. To disable the emulations, set environment variable +C<USE_PERL_FLOCK=0>. + +=item + +Here is the list of things which may be "broken" on EMX (from EMX docs): =over @@ -1102,7 +1107,7 @@ L<sock_init(3)> is not required and not implemented. =item * -L<flock(3)> is not yet implemented (dummy function). +L<flock(3)> is not yet implemented (dummy function). (Perl has a workaround.) =item * @@ -1158,6 +1163,12 @@ a dummy implementation. C<os2_stat> special-cases F</dev/tty> and F</dev/con>. +=item C<flock> + +Since L<flock(3)> is present in EMX, but is not functional, it is +emulated by perl. To disable the emulations, set environment variable +C<USE_PERL_FLOCK=0>. + =back =head1 Perl flavors @@ -1337,6 +1348,12 @@ memory handling code is buggy. Specific for EMX port. Gives the directory part of the location for F<sh.exe>. +=head2 C<USE_PERL_FLOCK> + +Specific for EMX port. Since L<flock(3)> is present in EMX, but is not +functional, it is emulated by perl. To disable the emulations, set +environment variable C<USE_PERL_FLOCK=0>. + =head2 C<TMP> or C<TEMP> Specific for EMX port. Used as storage place for temporary files, most |