Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: f8db6527da8678f1480f08ba99b745279e8d104a
      
https://github.com/tianocore/edk2/commit/f8db6527da8678f1480f08ba99b745279e8d104a
  Author: Yonghong Zhu <yonghong....@intel.com>
  Date:   2016-09-15 (Thu, 15 Sep 2016)

  Changed paths:
    M BaseTools/Source/Python/GenFds/FfsFileStatement.py
    M BaseTools/Source/Python/GenFds/Fv.py
    M BaseTools/Source/Python/GenFds/FvImageSection.py
    M BaseTools/Source/Python/GenFds/Region.py

  Log Message:
  -----------
  BaseTools: Fix the bug to handle the read-only file

change the 'r+b' to 'rb' for some file's open, since these files we only
read it and no need to write. It can fix the bug that the file's attribute
had been set to read-only.

Cc: Liming Gao <liming....@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong....@intel.com>
Reviewed-by: Liming Gao <liming....@intel.com>


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to