summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Bixby <mark@bixby.org>1998-11-19 09:10:45 -0800
committerJarkko Hietaniemi <jhi@iki.fi>1998-11-20 08:22:06 +0000
commit9d7f10f2fcf4722ba2d0742a5b1dac717e493166 (patch)
tree7b683c1d5129abbf3b62dab85dad6e08cbe177c0
parentcf0d5662e34a5af60128872de1d16ed1d7f8d954 (diff)
downloadperl-9d7f10f2fcf4722ba2d0742a5b1dac717e493166.tar.gz
MPE/iX Perl 5.005_02 oops
To: jhi@iki.fi Message-Id: <199811200110.RAA07395@spock.dis.cccd.edu> p4raw-id: //depot/cfgperl@2253
-rw-r--r--ext/DynaLoader/dl_mpeix.xs11
-rwxr-xr-xinstallperl5
2 files changed, 11 insertions, 5 deletions
diff --git a/ext/DynaLoader/dl_mpeix.xs b/ext/DynaLoader/dl_mpeix.xs
index 808c3b0f19..4cc07ec4c3 100644
--- a/ext/DynaLoader/dl_mpeix.xs
+++ b/ext/DynaLoader/dl_mpeix.xs
@@ -2,6 +2,7 @@
* Author: Mark Klein (mklein@dis.com)
* Version: 2.1, 1996/07/25
* Version: 2.2, 1997/09/25 Mark Bixby (markb@cccd.edu)
+ * Version: 2.3, 1998/11/19 Mark Bixby (markb@cccd.edu)
*/
#include "EXTERN.h"
@@ -59,13 +60,13 @@ flags));
",filename);
obj = (p_mpe_dld) safemalloc(sizeof(t_mpe_dld));
memzero(obj, sizeof(t_mpe_dld));
- if (filename[0] == '.')
+ if (filename[0] != '/')
{
getcwd(buf,sizeof(buf));
- sprintf(obj->filename,"$%s/%s$",buf,filename);
+ sprintf(obj->filename," %s/%s ",buf,filename);
}
else
- sprintf(obj->filename,"$%s$",filename);
+ sprintf(obj->filename," %s ",filename);
DLDEBUG(2,PerlIO_printf(PerlIO_stderr()," libref=%x\n", obj));
@@ -90,11 +91,11 @@ dl_find_symbol(libhandle, symbolname)
ST(0) = sv_newmortal() ;
errno = 0;
- sprintf(symname, "$%s$", symbolname);
+ sprintf(symname, " %s ", symbolname);
HPGETPROCPLABEL(8, symname, &symaddr, &status, obj->filename, 1,
0, &datalen, 1, 0, 0);
- DLDEBUG(2,PerlIO_printf(PerlIO_stderr()," symbolref(PROCEDURE) = %x\n", symaddr));
+ DLDEBUG(2,PerlIO_printf(PerlIO_stderr()," symbolref(PROCEDURE) = %x, status=%x\n", symaddr, status));
if (status != 0) {
SaveError("%s",(errno) ? Strerror(errno) : "Symbol not found") ;
diff --git a/installperl b/installperl
index 0ce39bf73a..4331d83910 100755
--- a/installperl
+++ b/installperl
@@ -220,6 +220,11 @@ else {
@corefiles = <*.h libperl*.*>;
# AIX needs perl.exp installed as well.
push(@corefiles,'perl.exp') if $^O eq 'aix';
+ if ($^O eq 'mpeix') {
+ # MPE needs mpeixish.h installed as well.
+ mkpath("$installarchlib/CORE/mpeix", 1, 0777);
+ push(@corefiles,'mpeix/mpeixish.h');
+ }
# If they have built sperl.o...
push(@corefiles,'sperl.o') if -f 'sperl.o';
}