Why not to let gRT->GetTime() itself to return the time(1980.1.1) if it fails
to get the real time? If we update the code in FatPkg, other places that call
gRT->GetTime() may also need to be updated.
Thanks.
Star
From: Olivier Martin [mailto:[email protected]]
Sent: Wednesday, May 08, 2013 1:00 AM
To: Ni, Ruiyu; 'Jordan Justen'
Cc: [email protected]
Subject: [edk2] [PATCH] FatPkg: Make FatGetCurrentFatTime() always return a
valid time
Dear FatPkg maintainers,
Please find this patch that makes FatGetCurrentFatTime() always return a valid
time.
Without this patch if gRT->GetTime fails to return the time then some
operations on the filesystem could fail.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin
<[email protected]<mailto:[email protected]>>
Regards,
Olivier
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel