Hi Pasha, fix by Maarten now in cvs (the user and passwd fields were not copied in the copy ctor and assignment operator). -- Fons On Tue, 2004-03-02 at 01: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 > ------------------------------------------------------------------------------- -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://www.rademakers.org/fons/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET