Hi Yves,
now fixed in CVS.
Cheers, Fons.
Yves SCHUTZ wrote:
>
> Let me answer myself to my question:
>
> TApplication has been changed to check if the macro given in the command line
> is a regular file (flag from GetPathInfo() =0). If the file can be executed (x
> privilige, GetPathInfo()=1) the file in the command line is ignored.
>
> Yves
>
> Yves SCHUTZ wrote:
>
> > I have the following feature: root3.01/05 apparently does not recognize
> > anymore if a macro name is given in the command line. Bug or feature?
> >
> > ROOT 3.01/05
> > ===========
> > [schutz@nanpc51 macros]$root -b ThisMacroDoesNotExist.C
> > *******************************************
> > * *
> > * W E L C O M E to R O O T *
> > * *
> > * Version 3.01/05 12 June 2001 *
> > * *
> > * You are welcome to visit our Web site *
> > * http://root.cern.ch *
> > * *
> > *******************************************
> >
> > CINT/ROOT C/C++ Interpreter version 5.15.02, June 2 2001
> > Type ? for help. Commands must be C++ statements.
> > Enclose multiple statements between { }.
> >
> > WELCOME to ALICE
> >
> > root [0]
> >
> > ROOT 3.00/06
> > ===========
> > [schutz@nanpc51 macros]$root -b ThisMacroDoesNotExist.C
> > *******************************************
> > * *
> > * W E L C O M E to R O O T *
> > * *
> > * Version 3.00/06 13 March 2001 *
> > * *
> > * You are welcome to visit our Web site *
> > * http://root.cern.ch *
> > * *
> > *******************************************
> >
> > CINT/ROOT C/C++ Interpreter version 5.14.79, Feb 24 2001
> > Type ? for help. Commands must be C++ statements.
> > Enclose multiple statements between { }.
> > root [0]
> > Processing ThisMacroDoesNotExist.C...
> > Error in <TRint::ProcessFile>: macro ThisMacroDoesNotExist.C not found in
> > path
> > .:/home/commun/root/pro/macros;/home/schutz/work:/home/commun/aliroot/pro/macros
> >
> > root [1]
> >
> > --
> > __________________________________________________________________
> > |Yves SCHUTZ (IN2P3 - CNRS) collaboration TAPS/WA98/PHENIX/ALICE |
> > |SUBATECH |
> > |Ecole des Mines de Nantes Telephone: (+33/0) 2 51 85 84 71 |
> > |4, rue Alfred Kastler Fax : (+33/0) 2 51 85 84 79 |
> > |F-44070 Nantes cedex 03 e-mail : yves.schutz@subatech.in2p3.fr|
> > | : (+33/0) 6 72 76 40 25 |
> > |__________________________________________________________________|
> >
> >
>
> --
> __________________________________________________________________
> |Yves SCHUTZ (IN2P3 - CNRS) collaboration TAPS/WA98/PHENIX/ALICE |
> |SUBATECH |
> |Ecole des Mines de Nantes Telephone: (+33/0) 2 51 85 84 71 |
> |4, rue Alfred Kastler Fax : (+33/0) 2 51 85 84 79 |
> |F-44070 Nantes cedex 03 e-mail : yves.schutz@subatech.in2p3.fr|
> | : (+33/0) 6 72 76 40 25 |
> |__________________________________________________________________|
>
>
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:50 MET