mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [bug #14101] BT : make_torrent produce corrupted torrent


From: spiralvoice
Subject: [Mldonkey-bugs] [bug #14101] BT : make_torrent produce corrupted torrent files
Date: Wed, 17 Aug 2005 13:09:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050811 Firefox/1.0.6

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14101>

                 Summary: BT : make_torrent produce corrupted torrent files
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: beedauchon
            Submitted on: Fr 12.08.2005 um 03:19
                Category: Bittorrent-Plugin
                Severity: 3 - Normal
              Item Group: Program malfunction
                  Status: Fixed
             Assigned to: None
             Open/Closed: Open
                 Release: 2.6.2
                 Release: 
        Platform Version: MinGW W2K/WinXP
         Binaries Origin: CVS / Self compiled
                CPU type: Intel x86

    _______________________________________________________

Details:

linux :
space -> 0x20
newline -> 0x0A

windows
space -> 0x00
newline -> 0x0D0A



    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mo 15.08.2005 um 19:32        By: spiralvoice <spiralvoice>
Please try the attached patch

-------------------------------------------------------
Date: Mo 15.08.2005 um 16:00        By: Beedauchon <beedauchon>
thanks for the tip spiral, fix will be included in a soon to come patch with
other stuffs..

-------------------------------------------------------
Date: Fr 12.08.2005 um 15:38        By: spiralvoice <spiralvoice>
http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html

"val set_binary_mode_in : in_channel -> bool -> unit

set_binary_mode_in ic true sets the channel ic to binary mode: no
translations take place during input. set_binary_mode_out ic false sets the
channel ic to text mode: depending on the operating system, some translations
may take place during input. For instance, under Windows, end-of-lines will be
translated from \r\n to \n. This function has no effect under operating
systems that do not distinguish between text mode and binary mode."

-------------------------------------------------------
Date: Fr 12.08.2005 um 14:10        By: Beedauchon <beedauchon>
sorry i mismatched a bit the datas (was getting tired) so here is the correct
table :

linux :
space -> 0x00
newline -> 0x0A

windows
space -> 0x20
newline -> 0x0D0A







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mo 15.08.2005 um 19:32  Name: make_torrent.patch  Size: 1,51KB   By:
spiralvoice

<http://savannah.nongnu.org/bugs/download.php?item_id=14101&item_file_id=2825>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14101>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]