Hi Pasha, This seems a bug, I sent a patch to Rene. Cheers, Maarten On Mon, 2004-03-01 at 19:10, Pasha Murat wrote: > Dear ROOT'ers, > > in v 3.05/07 (I know that it is a bit old) TUrl assignment seems to have a > little bit non-intuitive behaviour - note empty string returned by u1.GetUser(): > > root [35] TUrl u("ewk@fcdfdata030.fnal.gov:/gmbs08/stntuple/dev_240">ftp://ewk@fcdfdata030.fnal.gov:/gmbs08/stntuple/dev_240") > root [36] u.GetUser() > (const char* 0x984f7fc)"ewk" > root [37] TUrl u1("ee") > root [38] u1=u > (class TUrl)169796072 > root [39] u1.GetUser() > (const char* 0x4041a6cc)"" > > wonder if this has changed in the newer versions. -thanks a lot, Pasha > ------------------------------------------------------------------------------- > Pasha Murat (murat@fnal.gov) | CDF/FNAL B0 trailers 169G, MS 318 > office: 630-840-8237 | cell: 630-854-9188 > ------------------------------------------------------------------------------- -- Maarten Ballintijn <maartenb@mit.edu> Massachusetts Institute of Technology
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET