Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!decwrl!pyramid!hplabs!ucbvax!buffalo.CSNET!colonel From: colonel@buffalo.CSNET.UUCP Newsgroups: mod.computers.vax Subject: lib$ routine fails Message-ID: <8608121100.AA07807@ucbvax.Berkeley.EDU> Date: Mon, 11-Aug-86 14:52:07 EDT Article-I.D.: ucbvax.8608121100.AA07807 Posted: Mon Aug 11 14:52:07 1986 Date-Received: Tue, 12-Aug-86 22:45:08 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 15 Approved: info-vax@sri-kl.arpa Can anybody help with this problem? Here's a simple fortran program: C TEST OF LIB$FIND_FILE. CHARACTER*255 EXP CHARACTER*255 SPEC INTEGER LIB$FIND_FILE SPEC = '*.CHR' IDUMMY = LIB$FIND_FILE(SPEC,EXP,0) PRINT *,EXP(1:78) STOP END When I run it, it bombs on a HALT instruction. The CALLG to LIB$FIND_FILE points to a longword address in SHARE-LIBRTL rather than to the subroutine itself. What am I doing wrong?