bugPSPP - Bugs: bug #17313, unnamed file handles should be...

 
 

bug #17313: unnamed file handles should be temporary

Submitter:  Ben Pfaff <blp>
Submitted:  Fri 04 Aug 2006 02:12:40 AM UTC
   
 
Category:  System/Portable File I/O Severity:  1 - Wishlist
Status:  Fixed Assigned to:  blp
Open/Closed:  Closed Release:  Post-0.6.0
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 16 Apr 2011 03:50:49 AM UTC, comment #1: 

This has been fixed for some time now.

Ben Pfaff <blp>
Group administrator
Fri 04 Aug 2006 02:12:40 AM UTC, original submission:  

When an unnamed file handle is created (e.g. by specifying a quoted string in a context where a file handle is required), PSPP currently retains a file handle data structure in memory for the remainder of the run (or until CLOSE FILE HANDLE is used).  But in fact there's no reason to retain it beyond the expiration of the last reference to the file handle (which is probably the execution of the next procedure).  We should try to free such file handles at that time.

Named file handles (e.g. those created on an explicit FILE HANDLE command) are different, because we need to retain the name-to-file mapping and possibly some metadata (e.g. record length) also.

Ben Pfaff <blp>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-04-16 blp StatusNone Fixed
        Open/ClosedOpen Closed
    2006-12-18 blp ReleaseNone Post-0.6.0

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code