Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 356d2adb855e4d09f4fd86937d130bca47748d67
Ticket: 465765ffffffffffffffffffffffffffffffffff
zero-length write considered harmful
User & Date: nobody on 2002-02-02 10:32:34
Changes

  1. icomment:
    Logged In: NO 
    
    If you want to be conservative with the fix, you
    could use
    
    if (toWrite == 0 && isatty(fsPtr->fd)) return 0;
    
    or similar to avoid _only_ the effect of logging out
    the user.  (Sockets are not ttys.)
    
    I just lost five hours of my life on this braindamage and 
    want them back.
    
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"