Re: The first version of Milestone 3

"Philippe Houdoin" <[email protected]> Sat, 11 Jan 2003 01:15:02 +0100 (added by [email protected])
Newsgroups gmane.os.openbeos.midi
Message-ID <11707225459-BeMail@hamlet>
> 	dir.Rewind();
> 	while (dir.GetNextEntry(&entry) >=3D3D 0) {
> 		BPath name;
> 		entry.GetPath(&name);
> 		if (entry.IsDirectory())
> 			lookup=3D5Fdevices(name.Path());
> 
> 		int file =3D3D open("/dev/midi/ymf754/1", O=3D5FRDWR | O=3D5FEXCL);

Obvioulsy, it should be here :

	int file =3D open(name.Path(), O=5FRDWR | O=5FEXCL);

-Philippe

--
Fortune Cookie Says:

Immigration is the sincerest form of flattery.
		-- Jack Paar