Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 66699ab53756e456ea493de26fda340a6f4c5b55
Ticket: 1942222fffffffffffffffffffffffffffffffff
useless call to endgrent()/endpwent()
User & Date: karllim on 2008-04-14 16:22:30
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    in unix/tclUnixFCmd.c, GetGroupAttribute() and GetOwnerAttribute() make calls to non-wrapped POSIX calls endpwent() and endgrent().
    These two calls are marked to be avoided by the Open Group http://www.opengroup.org/onlinepubs/009695399/functions/getgrent.html
    Moreover, the actual calls are useless since TclpGetPwUid() and TclpGetGrUid() do use the newer grgetpw() and grgetgid().
    
    Solution : remove the calls.
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "karllim"
  10. subsystem changed to: "None"
  11. title changed to: "useless call to endgrent()/endpwent()"
  12. type changed to: "Bug"