Bug 1857

Summary: paramater of opendir gets thrashed
Product: Base System Reporter: xaa <xaa>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 2.1.5-STABLE   
Hardware: Any   
OS: Any   

Description xaa 1996-10-21 12:00:01 UTC
        char *dirname;
	DIR *dir;
	printf("%s\n",dirname);
	dir=opendir(dirname);
	printf("%s\n",dirname);

	gives:
	/var/spool/news/stack/announce
	/var/spool/news/stack/announ^O^B

Fix: 

Well... it works ok on my current machine...
How-To-Repeat: 
	See code above
Comment 1 John-Mark Gurney freebsd_committer freebsd_triage 1997-02-19 02:01:12 UTC
State Changed
From-To: open->closed

this seems to be fixed in 2.2 and -current