diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-04-12 07:57:16 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-04-12 07:57:16 -0600 |
commit | baa14ab7769b95f8ff62aaa90885bf4622624bcc (patch) | |
tree | 3f6d646fdf02f392e49bb22e3b4e5a3e7f83a9af /nuttx | |
parent | 96e03d7f6c687e68710d856ecf9039ff1c4945b6 (diff) | |
download | px4-nuttx-baa14ab7769b95f8ff62aaa90885bf4622624bcc.tar.gz px4-nuttx-baa14ab7769b95f8ff62aaa90885bf4622624bcc.tar.bz2 px4-nuttx-baa14ab7769b95f8ff62aaa90885bf4622624bcc.zip |
Local time support is now EXPERIMENTAL
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/libc/Kconfig | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/nuttx/libc/Kconfig b/nuttx/libc/Kconfig index 0ee8e6b5a..2ee379ecf 100644 --- a/nuttx/libc/Kconfig +++ b/nuttx/libc/Kconfig @@ -265,10 +265,19 @@ config ARCH_LOWPUTC config LIBC_LOCALTIME bool "localtime API call support" default "n" - depends on !DISABLE_ENVIRON + depends on !DISABLE_ENVIRON && EXPERIMENTAL ---help--- localtime API call support + Logic currently depends on file system support with, at a minimum, these + files in the zoneinfo directory: GMT and posixrules. + + There is also an issue with mktime being called very early in + initialization by the OS before there are any file systems available. + + And finally, the times presented by the NSH date command are wrong with + this logic is enabled. + if LIBC_LOCALTIME config LIBC_TZ_MAX_TIMES |