[haiku-commits] Re: r37888 - in haiku/trunk: headers/posix/sys headers/private/kernel headers/private/system src/add-ons/kernel/file_systems/fat src/bin ...

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 04 Aug 2010 08:50:08 +0200

zooey@xxxxxxxxxxxxxxx wrote:
> * got rid of get_rtc_info() and rtc_info struct in kernel, as it was 
> only
>   being referred to by the FAT add-on and that one (like 
> gettimeofday()) put a
>   different meaning to tz_minuteswest. Added a comment to FAT's util.
> c
>   showing a possible solution, should the hardcoded GMT timezone pose 
> a problem.

Ah, I already wondered what broke FAT time over here. However, FAT is a 
stupid file system that actually writes the current time to its 
structures - if we want to be compatible with other systems (and we 
definitely want to IMO), we must do that, too.

That's something to fix in the other file systems as well, though: they 
should always store their times in UTC/GMT. So we definitely need that 
kind of information in the kernel as well - a new dedicated function to 
return the current offset to GMT should do, though.

Bye,
   Axel.


Other related posts: