Number: 1686

Date: 22-Jul-84 12':03':53

Submitter: Roach

Source: Roach

Subject: Reference to GLOBALRESOURCES in EXPORTS.ALL -- breaks when loaded

Assigned To: jonl

Attn: 

Status: Closed

In/By: 

Problem Type: Bug

Impact: Annoying

Difficulty: 

Frequency: 

Priority: Hopefully

System: Other Software

Subsystem: Other

Machine: 1132

Disk: 

Lisp Version: 19-Jul-84 19':54':20

Source Files: 

Microcode Version: 5124

Memory Size: 4096

File Server: 

Server Software Version: 

Disposition: '
["Sannella.PA" "22-Aug-84 17':46':05" Status':(Fixed->Closed)]

Description: When I try to'
     (LOAD {ERIS}<LISPCORE>SOURCES>EXPORTS.ALL;9)'
(or only earlier version number 7), I get as far as "(\\PNAMESTRING.GLOBALRESOURCE reset)" before a break window opens with the message "invalid file package type/GLOBALRESOURCES."  LOAD barfs after reading the form'
     (PUTDEF ''\NUMSTR'
             ''GLOBALRESOURCES'
             ''(NEW (ALLOCSTRING 38)))'
'
-----'
'
Date': 23 Jul 84 21':35 PDT'
From': JonL.pa'
Subject': Re': AR 1686': Reference to GLOBALRESOURCES in EXPORTS.ALL -- breaks when loaded'
In-reply-to': Kaplan.pa''s message of 22 Jul 84 12':46 PDT'
To': Kaplan.pa'
cc': Roach.pa, LispSupport.pa, JonL.pa'
'
I just checked, and indeed my "meanderings around" in FILEPKG last week fixed this problem.  It did so by, in effect, giving GLOBALRESOURCES a filepkgtype of (TYPE RESOURCES), which seems to be the way to make a "synonym" in the filepkgtype category.  Shouldn''t this be documented in the IRM?'
'
-- JonL --'
'
'


Workaround: The following ADVISE seems to get aroud the problem':'
     (ADVISE ''GETFILEPKGTYPE'
             ''BEFORE'
             ''(COND ((EQ TYPE ''GLOBALRESOURCES)'
                     (RETURN ''RESOURCES))))

Test Case: 

Edit-By: Sannella.PA

Edit-Date: 22-Aug-84 17':46':06