From owner-cvs-src-old@FreeBSD.ORG Fri Dec 25 20:04:43 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A47761065772 for ; Fri, 25 Dec 2009 20:04:43 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 522D08FC2A for ; Fri, 25 Dec 2009 20:04:42 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nBPK4grB047972 for ; Fri, 25 Dec 2009 20:04:42 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBPK4gBW047971 for cvs-src-old@freebsd.org; Fri, 25 Dec 2009 20:04:42 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200912252004.nBPK4gBW047971@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Fri, 25 Dec 2009 20:04:36 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libulog ulog_pututxline.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 20:04:43 -0000 ed 2009-12-25 20:04:36 UTC FreeBSD src repository Modified files: lib/libulog ulog_pututxline.c Log: SVN rev 200996 on 2009-12-25 20:04:36Z by ed Don't corrupt logout entries in utmp files. An older version of the code used a structure on the stack, instead of a pointer to the structure. It looks like I didn't adjust the parameters of the write(2) call, causing the first four/eight bytes of the entry to be corrupted, instead of writing the entire entry to disk. Revision Changes Path 1.2 +1 -1 src/lib/libulog/ulog_pututxline.c