On Tue, 15 Jul 2014 10:02:18 Dan Oriani wrote:
> On Mon, Jul 14, 2014 at 10:04:36PM +0100, Stroller wrote:
> > On Mon, 14 July 2014, at 6:54 pm, meino.cra...@gmx.de wrote:
> > > I am running Gentoo Linux, which I update on a ~daily basis.
> > > ...
> > > solfire:/home/user>fstat smartlog.txt
> > 
> > What package provides `fstat`, please?
> > 
> > I don't have it installed on this machine, and the first google
> > hit for "fstat gentoo" suggests it's a BSD command, unavailable
> > on Linux.
> > 
> > http://forums.gentoo.org/viewtopic-p-1853116.html#1853116
> > 
> > Stroller.
> 
> Not to get terribly off topic here, but fstat is, in fact, a C call. I
> wonder if this is simply a user-made tool. If you look at code
> examples for this call, it's not terribly difficult to use at all.
> 
> Actually, I wonder if the tool this user is using pulls the wrong
> field and calls it 'year'.

I don't think it's the wrong field. Most (all?) C time calls use "years since 
1900" instead of the actual year value, so the 114 return values from the 
original message look like they are just the raw returned data.

(See 'man time.h' for more information)

In 1999 or earlier this just gave you the correct 2-digit year value so yes, 
this does like like a Y2K problem, if not a very serious one.


-- 
Reverend Paul Colquhoun, ULC.     http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
     http://catb.org/~esr/faqs/smart-questions.html#intro

Reply via email to