From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 87F2BBBCA for ; Tue, 18 Mar 2008 02:33:52 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlABACO53kfAbSoIk2dsb2JhbACQfgEBAQEHBAYJIJcl X-IronPort-AV: E=Sophos;i="4.25,515,1199660400"; d="scan'208";a="10380972" Received: from einhorn.in-berlin.de ([192.109.42.8]) by mail3-smtp-sop.national.inria.fr with ESMTP; 18 Mar 2008 02:33:52 +0100 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from einhorn.in-berlin.de (localhost [127.0.0.1]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id m2I1Xpg3008459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 18 Mar 2008 02:33:51 +0100 Received: (from www-data@localhost) by einhorn.in-berlin.de (8.13.6/8.13.6/Submit) id m2I1Xpgw008457 for caml-list@yquem.inria.fr; Tue, 18 Mar 2008 02:33:51 +0100 X-Authentication-Warning: einhorn.in-berlin.de: www-data set sender to oliver@first.in-berlin.de using -f Received: from dslb-088-074-029-074.pools.arcor-ip.net (dslb-088-074-029-074.pools.arcor-ip.net [88.74.29.74]) by webmail.in-berlin.de (IMP) with HTTP for ; Tue, 18 Mar 2008 02:33:51 +0100 Message-ID: <1205804031.47df1bff08f91@webmail.in-berlin.de> Date: Tue, 18 Mar 2008 02:33:51 +0100 From: Oliver Bandel To: caml-list Subject: Re: [Caml-list] copy the rest of a file after scanning References: <8cc3d8520803171629o497c4838q4ed03534bc3becfc@mail.gmail.com> In-Reply-To: <8cc3d8520803171629o497c4838q4ed03534bc3becfc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Spam: no; 0.00; bandel:01 in-berlin:01 oliver:01 oliver:01 caml-list:01 bin:01 newline:02 sentence:04 problem:05 scan:06 channel:06 linux:07 viktor:07 viktor:07 file:11 Hello, so much text... not easy to follow you... ...there is no code for "scan"... ...but one sentence was there that might point to the problem... Zitat von viktor tron : [...] > > On my mac and linux, all works smoothly, till I used it on windows. > 3) does not work on windows, since in_channel_length and seek do not > take > into account the newline translations that take > place at reading. [...] Did you used "open_in_bin"? Ciao, Oliver