From: John Hodge Date: Sun, 22 Sep 2013 11:08:08 +0000 (+0800) Subject: (minor) Kernel - Commenting in PTY X-Git-Tag: rel0.15~196 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=e32c8a698d24004a6dd7c0e16d836c812d145784;p=tpg%2Facess2.git (minor) Kernel - Commenting in PTY --- diff --git a/KernelLand/Kernel/drv/pty.c b/KernelLand/Kernel/drv/pty.c index 56f26211..2ba10980 100644 --- a/KernelLand/Kernel/drv/pty.c +++ b/KernelLand/Kernel/drv/pty.c @@ -495,6 +495,7 @@ tVFS_Node *PTY_FindDir(tVFS_Node *Node, const char *Name, Uint Flags) } RWLock_Release(&glPTY_NamedPTYs); } +// Debug("PTY_FindDir('%s') returned %p", Name, &ret->ClientNode); if( ret ) { tVFS_Node *retnode = &ret->ClientNode; retnode->ReferenceCount ++; @@ -595,8 +596,6 @@ size_t PTY_WriteClient(tVFS_Node *Node, off_t Offset, size_t Length, const void void PTY_ReferenceClient(tVFS_Node *Node) { Node->ReferenceCount ++; - // TODO: Add PID to list of client PIDs -// Log_Notice("PTY", "ReferenceClient: TODO - List of client PIDs"); } void PTY_CloseClient(tVFS_Node *Node)