On Mon, Apr 23, 2012 at 8:37 PM, Matthew Dempsky <matt...@dempsky.org> wrote:
> There's no reason for the kernel to track the system's timezone
> anymore. B This is handled in userspace by the TZ environment variable,
> and POSIX doesn't even define what happens if you pass a non-NULL
> pointer as the 'struct timezone *' argument to gettimeofday() (and
> settimeofday() has never been in POSIX).
> The diff below:
> B - eliminates tz
> B - adds a compile-time check to detect configs with non-0 timezone
> B - changes settimeofday() to return EINVAL when given a non-0 timezone
> B - eliminates the userconf code for changing/printing the timezone
> B - removes clock and msdosfs code that looks at the kernel timezone
> After this, we'll be able to move gettimeofday() and settimeofday()
> into libc as user-space wrappers around clock_gettime() and
> clock_settime(), respectively.
> Any objections?

I think it's a good idea. Should have been done long ago.

### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le
Dans L'Ombre ###

Reply via email to