[openbeos-midi] Re: The first version of Milestone 3

>       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


Other related posts: