Bug 1857 - paramater of opendir gets thrashed
Summary: paramater of opendir gets thrashed
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 2.1.5-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1996-10-21 12:00 UTC by xaa
Modified: 1997-02-19 02:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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