[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #17313] unnamed file handles should be temporary

From: Ben Pfaff
Subject: PSPP-BUG: [bug #17313] unnamed file handles should be temporary
Date: Thu, 3 Aug 2006 19:12:41 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060406 Firefox/ (Debian-1.5.dfsg+


                 Summary: unnamed file handles should be temporary
                 Project: PSPP
            Submitted by: blp
            Submitted on: Thursday 08/03/06 at 19:12
                Category: System/Portable File I/O
                Severity: 1 - Wishlist
                  Status: None
             Assigned to: blp
             Open/Closed: Open
                 Release: None
                  Effort: 0.00



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.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]