FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [linux-minidisc] Presentation and issues with mz-n710

<-- thread -->
<-- date -->
  • From: Michael Karcher <Michael.Karcher@fu-berlin.de>
  • To: Thomas Arp <manner.moe@gmx.de>
  • Date: Sat, 17 Sep 2011 13:52:01 +0200
  • Cc: linux-minidisc@lists.fu-berlin.de
  • Subject: Re: [linux-minidisc] Presentation and issues with mz-n710

(I put the list back in the recipient list)

Am Samstag, den 17.09.2011, 10:15 +0200 schrieb Thomas Arp:
> As far as i remember on testing the python scripts, i´vehad some
> problems downloading a track if it is opened in text mode because of
> different line endings. Changing this to open the file in binary mode
> should work better, but this depends on how the file was created. 
In fact, this bug is again in the C code, to be exact, it is line 510 of
netmdcli.c, but this bug does not affect Linux systems, just Windows
systems. And the *only* correct mode to read a binary file is opening it
in binary mode. If the file was created in "text mode", and thus can be
read in text mode yielding correct results, the file already is broken
by definition.
Linux spoils programmers by not making any difference between these
modes, so if you develop on Linux, you don't notice bugs like this. The
effect of this bug would be that certain files fail to upload reliably,
regardless of disk fill level.

Anyhow, I just committed the fix for the Problem you mentioned into the
git repository. I still expect Enrique to have used netmdcli on Linux or
MacOS (as your Windows build fix is only in since short time) where the
binary mode makes no difference.

Regards,
  Michael Karcher




<-- thread -->
<-- date -->
  • References:
    • [linux-minidisc] Presentation and issues with mz-n710
      • From: Enrique Medina Gremaldos <quiqueiii@gmail.com>
    • Re: [linux-minidisc] Presentation and issues with mz-n710
      • From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
    • Re: [linux-minidisc] Presentation and issues with mz-n710
      • From: "Thomas Arp" <manner.moe@gmx.de>
    • Re: [linux-minidisc] Presentation and issues with mz-n710
      • From: Enrique Medina Gremaldos <quiqueiii@gmail.com>
    • Re: [linux-minidisc] Presentation and issues with mz-n710
      • From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
    • Re: [linux-minidisc] Presentation and issues with mz-n710
      • From: Enrique Medina Gremaldos <quiqueiii@gmail.com>
    • Re: [linux-minidisc] Presentation and issues with mz-n710
      • From: Michael Karcher <Michael.Karcher@fu-berlin.de>
  • linux-minidisc - September 2011 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the linux-minidisc mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal