Bug 20925

Summary: doscmd(1) does not truncate a file int write functio-call.
Product: Base System Reporter: Tatsuya Kudoh <cdr>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.5-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Tatsuya Kudoh 2000-08-29 19:00:01 UTC
	Under MS-DOS, the write function-call with size parameter is 0,
	it means file truncating.
	This function is not implemented in doscmd(1).

Fix: This is a patch for dsmcd(1) on 3.5-RELEASE
	-------------------------------------------
How-To-Repeat: 
	Some MS-DOS applications. In my environment, LSI Japans's
	LSI C-86 C compiler does not work.
Comment 1 Thomas Gellekum freebsd_committer freebsd_triage 2001-05-25 13:31:11 UTC
State Changed
From-To: open->closed

Committed, thanks.