Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1740

BinaryFile is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 2.1.0
    • 2.0.1
    • API: JavaScript
    • None
    • Linux/X11
    • 1af935aec (2.1)

    Description

      BinaryFile is broken

       

      The following code generates a error. This did not happen with prev 1.xx versions.
       
      outfile.write(infile.read(256));
      where infile and outfile are BinaryFile opened for reading/writing
       
      Error:
      ERROR: BinaryFile.write requires an array of bytes as argument 1
               at JavaScriptCommand.sourceCode
               at Rule.prepare in....

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            bdmihai bdmihai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes