patchCompact Disc Input and Control Library - Patches: patch #8475, Fix binary file IO and console...

 
 

patch #8475: Fix binary file IO and console output on Windows

Submitter:  Robert Kausch <enzo1982>
Submitted:  Tue 03 Jun 2014 08:11:43 PM UTC
   
 
Category:  libcdio Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  rocky Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 04 Jun 2014 12:47:34 PM UTC, comment #1: 

As before, many thanks. If you want commit rights, let me know.

Rocky Bernstein <rocky>
Group administrator
Tue 03 Jun 2014 08:11:43 PM UTC, original submission:  

The attached patches add the O_BINARY flag to open() calls on Windows. This is required to prevent Windows from translating 0x0A to 0x0D0A when writing and vice versa when reading binary files.

There are separate patches for libcdio and libcdio-paranoia.

In addition, the libcdio-paranoia patch also removes the -mwindows linker option. This option is used to create non-console binaries on Windows and is the complement of -mconsole. Using it on console applications makes them run detached from the console so you won't see any output. The libcdio configure script did not have this problem.

Robert Kausch <enzo1982>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rocky (Posted a comment)
  • -email is unavailable- added by enzo1982 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-06-04 rocky Open/ClosedOpen Closed
    2014-06-04 rocky StatusNone Done
        Assigned toNone rocky
    2014-06-03 enzo1982 Attached File- Added libcdio-windows_io.patch, #31497
        Attached File- Added libcdio-paranoia-windows.patch, #31498

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code