Package: bash
Version: 4.4-5
Severity: normal

Dear Maintainer,

Current bash of source using by this package is not supporting
nanoseconds timestamp comparing (e.g. [ A -ot B ]) correctly.

The bug is missing update of bash-4.4/config.h.in. Without this, bash
supports only second precision, so it becomes the cause of fail of some
scripts (e.g. setupcon miss understands updated cache file).

(bash.git commitid is b90cb5a280ebb8ac03306a5b19aea6b997c71ee7)

---

 config.h.in |    1 +
 1 file changed, 1 insertion(+)

diff -puN config.h.in~stat-time-fix config.h.in
--- bash-4.4/config.h.in~stat-time-fix  2017-12-29 15:48:33.524667872 +0900
+++ bash-4.4-hirofumi/config.h.in       2017-12-29 15:48:48.893632593 +0900
@@ -449,6 +449,7 @@
 #undef SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
 #undef PTHREAD_H_DEFINES_STRUCT_TIMESPEC
 
+#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
 #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC
 #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
 #undef HAVE_STRUCT_STAT_ST_ATIMENSEC
_


-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.8 (SMP w/8 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), 
LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages bash depends on:
ii  base-files   10
ii  dash         0.5.8-2.5
ii  debianutils  4.8.3
ii  libc6        2.25-5
ii  libtinfo5    6.0+20171125-1

Versions of packages bash recommends:
pn  bash-completion  <none>

Versions of packages bash suggests:
ii  bash-doc  4.4-5

-- no debconf information

-- 
OGAWA Hirofumi <hirof...@mail.parknet.co.jp>

Reply via email to