[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libltdl crashes under Solaris LP64 64-bit model
From: |
Bob Friesenhahn |
Subject: |
Re: libltdl crashes under Solaris LP64 64-bit model |
Date: |
Sat, 29 Sep 2001 22:56:13 -0500 (CDT) |
The problem with libltdl in the Solaris LP64 64-bit model is due to a
mismatch with sizes. argzize_path requires size_t. Under 64-bits
size_t is 8 bytes and int is 4 bytes. Here is a patch which should
resolve the problem.
Index: ltdl.c
===================================================================
RCS file: /home/cvs/libtool/libltdl/ltdl.c,v
retrieving revision 1.159
diff -u -r1.159 ltdl.c
--- ltdl.c 2001/09/21 17:38:39 1.159
+++ ltdl.c 2001/09/30 03:53:19
@@ -2165,7 +2165,7 @@
int result = 0;
int filenamesize = 0;
int lenbase = LT_STRLEN (base_name);
- int argz_len = 0;
+ long argz_len = 0;
char *argz = 0;
char *filename = 0;
char *canonical = 0;