bug-gnu-pspp
[Top][All Lists]
Advanced

[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:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17313>

                 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

    _______________________________________________________

Details:

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:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17313>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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