RE: file disappear unexpectedly

From: Bertrand Bellenot <Bertrand.Bellenot_at_cern.ch>
Date: Wed, 1 Jul 2009 17:21:16 +0200


Hi Wei,

OK, thanks a lot for the info.

Cheers, Bertrand.

-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Wei Xie Sent: Wednesday, July 01, 2009 16:03
Cc: roottalk (Mailing list discussing all aspects of the ROOT system.) Subject: Re: [ROOT] file disappear unexpectedly

I used the good-old "vi" and had such problem. Using a different editor like emacs, it's OK.

Cheers
--Wei

Bertrand Bellenot wrote:
> Hi,
>
> I cannot reproduce the problem... (using joe editor in cygwin)
> But anyway, on Windows, it is often not possible to change a macro being used by ROOT.
> But this is a OS (Windows) issue...
>
> Cheers,
> Bertrand.
>
> -----Original Message-----
> From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Wei Xie
> Sent: Wednesday, July 01, 2009 04:03
> To: roottalk (Mailing list discussing all aspects of the ROOT system.)
> Subject: [ROOT] file disappear unexpectedly
>
> This happens for VC++9.0 version of root. Following the following steps,
> the file being edited disappears unexpectedly.
>
> 1. open the first console (cygwin), and edit any simple code in it, e.g.
>
> void oo()
> {
> cout<<"hello"<<endl;
> }
>
> 2. open the second console, start ROOT and run the macro, e.g.
>
> .x oo.C
>
> 3. Don't quit ROOT after running the command.
>
> 4. go to the first console and make some changes on oo.C and save it.
>
> 6. go to the second console, and type ".q" to quit ROOT.
>
> 7. check the oo.C now in the directory and it disappeared. Note that the
> same problem won't happen with the following code, i.e. w/o "void oo()"
>
> {
> cout<<"hello"<<endl;
> }
>
Received on Wed Jul 01 2009 - 17:21:22 CEST

This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 23:50:02 CEST