From owner-cvs-libexec Sat Nov 30 12:59:45 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06978 for cvs-libexec-outgoing; Sat, 30 Nov 1996 12:59:45 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06964; Sat, 30 Nov 1996 12:59:34 -0800 (PST) Date: Sat, 30 Nov 1996 12:59:34 -0800 (PST) From: Joerg Wunsch Message-Id: <199611302059.MAA06964@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/tftpd tftpd.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/11/30 12:59:33 Modified: libexec/tftpd tftpd.c Log: Truncate the file when opening it with write intent. Otherwise, there's a good chance that garbage will remain at the end. Closes PR # bin/2112: tftpd doesn't truncate ... Reviewed by: fenner Revision Changes Path 1.5 +2 -2 src/libexec/tftpd/tftpd.c