Kiraneki / nulldc

Automatically exported from code.google.com/p/nulldc
0 stars 0 forks source link

bug in ioctl.cpp #432

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is no return statement in the end of function PhysicalDrive:Disc::Build

    bool Build(wchar* path)
    {
        drive = CreateFile( path, GENERIC_READ|GENERIC_WRITE,FILE_SHARE_READ|FILE_SHARE_WRITE,NULL, OPEN_EXISTING, 0, NULL);

                ......
                ......
                ......

        //done !
        if (resultIO)
            use_scsi=true;
        else
            use_scsi=false;

    }

Original issue reported on code.google.com by dreamn...@gmail.com on 9 Apr 2012 at 8:30

GoogleCodeExporter commented 9 years ago
Fixed in r141

Original comment by drkiiraz...@emudev.org on 10 Apr 2012 at 11:55