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

  • From: "Philippe Houdoin" <philippe.houdoin@xxxxxxx>
  • To: openbeos-midi@xxxxxxxxxxxxx
  • Date: Sat, 11 Jan 2003 01:15:02 +0100 (added by postmaster@wanadoo.fr)

>       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: