|
From: Joern E. <je...@us...> - 2002-05-05 01:21:46
|
Update of /cvsroot/squeak/squeak/platforms/unix/vm
In directory usw-pr-cvs1:/tmp/cvs-serv27437
Modified Files:
sqUnixExternalPrims.c
Log Message:
suppress misleading error message while trying to load an external plugin
with a directory of the same name present
Index: sqUnixExternalPrims.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/unix/vm/sqUnixExternalPrims.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** sqUnixExternalPrims.c 24 Oct 2001 23:14:17 -0000 1.1.1.1
--- sqUnixExternalPrims.c 5 May 2002 01:21:43 -0000 1.2
***************
*** 115,119 ****
{
/* insist on the error message: the shared lib really _is_ broken */
! fprintf(stderr, "ioLoadModule(%s): %s\n", libName, dlerror());
}
else
--- 115,122 ----
{
/* insist on the error message: the shared lib really _is_ broken */
! if (!(S_ISDIR(buf.st_mode)))
! {
! fprintf(stderr, "ioLoadModule(%s): %s\n", libName, dlerror());
! }
}
else
|