[go: up one dir, main page]

Menu

#1 Remove data command adds extra bytes

1.0
closed
b.zaar
Bug (1)
2014-05-08
2014-04-26
b.zaar
No

hexed is dumping 4 additional bytes hex – 0D when you try to remove data from a file

Discussion

  • b.zaar

    b.zaar - 2014-05-06

    The compiled Windows version using MinGW would ignore the 'r+b' file mode and open the file using text mode not binary. This would convert any 0x0a codes to Windows CR, LF codes. I'm now setting _fmode to O_BINARY in bfcntl and it seems correct.

     
  • b.zaar

    b.zaar - 2014-05-06
    • status: open --> closed
     
  • b.zaar

    b.zaar - 2014-05-08
    • labels: --> Bug
     

Anonymous
Anonymous

Add attachments
Cancel