Hi Gregory,
Don't see a problem here.
Andy
----- Original Message -----
From: "Gregory J. Sharp" <[log in to unmask]>
To: "Xrootd Mailing List" <[log in to unmask]>
Sent: Tuesday, December 14, 2004 12:48 PM
Subject: Suggested change to xrclient
> Per the discussion in the xrootd meeting today, here are the changes
> that make xrclient a little more friendly for me to use as a test
> program. The changes are to a single file. The two timeouts need to be
> longer for when a file is not on disk and must be fetched from the HSM.
> The change to getline() is so that if you type ^D the program exits
> instead of printing a gazillion lines of error messages about how it
> doesn't understand where its input stream went.
>
> I hope these changes don't offend and can be part of the next release.
>
> FILE: xrootd/src/XrdXr/XrdXrMain.cc
> 241c241
> < client->setMaxWaitTime(10);
> ---
> > client->setMaxWaitTime(120);
> 324c324
> < client->setMaxWaitTime(10);
> ---
> > client->setMaxWaitTime(120);
> 556c556,561
> < cin.getline(input, len);
> ---
> >
> > if (!cin.getline(input, len)) {
> > // Reached EOF
> > cout << endl;
> > break;
> > }
>
> --
> Gregory J. Sharp email: [log in to unmask]
> Wilson Synchrotron Laboratory url:
> http://www.lepp.cornell.edu/~gregor
> Dryden Rd ph: +1 607 255 4882
> Ithaca, NY 14853 fax: +1 607 255 8062
>
>
|