caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Florent Monnier <monnier.florent@gmail.com>
To: ygrek <ygrek@autistici.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] portable truncate
Date: Sat, 27 Jul 2013 16:41:42 +0200	[thread overview]
Message-ID: <CAE1DttAiiLZYVBWK8+1e+bWokUc5DAa7OzcRPuJt-+WA46fq1A@mail.gmail.com> (raw)
In-Reply-To: <20130727181711.65d8456f@kiwi.local.tld>

2013/07/27, ygrek wrote:
> On Fri, 26 Jul 2013 12:35:03 +0200
> Florent Monnier wrote:
>
>> I would like to know how to truncate a file under MS/Windows.
>
> There is a patch sitting for ExtUnix implementing ftruncate.
> if you are willing to test it - it could be integrated into extunix
> and maybe further find it's way into upstream.

Sorry I don't know how to switch language to english in Cygwin.
On Linux I export LANG and/or LANGUAGE but here it doesn't do the trick.

$ sh configure
'C:\cygwin\bin\flexlink' n'est pas reconnu en tant que commande interne
ou externe, un programme ex▒cutable ou un fichier de commandes.
'C:\cygwin\bin\flexlink' n'est pas reconnu en tant que commande interne
ou externe, un programme ex▒cutable ou un fichier de commandes.
'C:\cygwin\bin\flexlink' n'est pas reconnu en tant que commande interne
ou externe, un programme ex▒cutable ou un fichier de commandes.
E: Field 'native_dynlink' is not set: Field 'flexdll_version' is not
set: Command 'C:\cygwin\bin\flexlink -help >
"C:\cygwin\tmp\oasis-374005.txt"' terminated with error code 1

$ which flexlink
/usr/bin/flexlink

$ ls c:/cygwin/bin/flexlink
c:/cygwin/bin/flexlink*

-- 
Regards

  parent reply	other threads:[~2013-07-27 14:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26 10:35 Florent Monnier
2013-07-26 10:46 ` Mihamina Rakotomandimby
2013-07-26 10:48   ` Török Edwin
2013-07-26 10:52 ` Daniel Bünzli
2013-07-26 12:02 ` [Caml-list] " Florent Monnier
2013-07-27  7:05   ` David Allsopp
2013-07-27  8:54     ` Florent Monnier
2013-07-27  8:38   ` Adrien Nader
2013-07-27  9:05     ` Adrien Nader
2013-07-27 14:11     ` Florent Monnier
2013-07-27 14:23       ` Adrien Nader
2013-07-27 15:34         ` Florent Monnier
2013-07-27 15:43           ` Adrien Nader
2013-07-27 19:45             ` Florent Monnier
2013-07-27 19:53               ` Adrien Nader
2013-07-27 20:03                 ` Török Edwin
     [not found] ` <20130727181711.65d8456f@kiwi.local.tld>
2013-07-27 14:41   ` Florent Monnier [this message]
2013-07-27 15:26     ` [Caml-list] " Adrien Nader
2013-07-27 15:40       ` Florent Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAE1DttAiiLZYVBWK8+1e+bWokUc5DAa7OzcRPuJt-+WA46fq1A@mail.gmail.com \
    --to=monnier.florent@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=ygrek@autistici.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).