Bug#961366: /usr/bin/ncal: -b ignores locale and -s for Gregorian adoption date

2020-05-23 Thread Carl W.

Package: bsdmainutils
Version: 11.1.2+b1
Severity: normal
File: /usr/bin/ncal

Dear Maintainer,

I was interested in [n]cal's behaviour around the Gregorian adoption
dates and noticed that ncal -b defaults to October 1582 regardless of
locale or -s specified country code, whereas plain "cal" uses the locale
correctly.

There follows an example shell session. Use of the "env" command is to
ensure shell aliases and functions are not responsible for the
unexpected behaviour.

Best Regards,
Carl W.


$ env cal 9 1752
   September 1752
Su Mo Tu We Th Fr Sa
   1  2 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30



$ env ncal 9 1752
September 1752
Mo18 25
Tu  1 19 26
We  2 20 27
Th 14 21 28
Fr 15 22 29
Sa 16 23 30
Su 17 24
$ env ncal -b 9 1752
   September 1752
Mo Tu We Th Fr Sa Su
 1  2  3
 4  5  6  7  8  9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30

$ env ncal -p
 AL Albania1912-11-30  IT Italy  1582-10-04
 AT Austria1583-10-05  JP Japan  1918-12-18
 AU Australia  1752-09-02  LI Lithuania  1918-02-01
 BE Belgium1582-12-14  LN Latin  -05-31
 BG Bulgaria   1916-03-18  LU Luxembourg 1582-12-14
 CA Canada 1752-09-02  LV Latvia 1918-02-01
 CH Switzerland1655-02-28  NL Netherlands1582-12-14
 CN China  1911-12-18  NO Norway 1700-02-18
 CZ Czech Republic 1584-01-06  PL Poland 1582-10-04
 DE Germany1700-02-18  PT Portugal   1582-10-04
 DK Denmark1700-02-18  RO Romania1919-03-31
 ES Spain  1582-10-04  RU Russia 1918-01-31
 FI Finland1753-02-17  SI Slovenia   1919-03-04
 FR France 1582-12-09  SE Sweden 1753-02-17
*GB United Kingdom 1752-09-02  TR Turkey 1926-12-18
 GR Greece 1924-03-09  US United States  1752-09-02
 HU Hungary1587-10-21  YU Yugoslavia 1919-03-04
 IS Iceland1700-11-16
$ env ncal -s GB 9 1752
September 1752
Mo18 25
Tu  1 19 26
We  2 20 27
Th 14 21 28
Fr 15 22 29
Sa 16 23 30
Su 17 24
$ env ncal -b 9 1752
   September 1752
Mo Tu We Th Fr Sa Su
 1  2  3
 4  5  6  7  8  9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30

$ env ncal -s GB -b 9 1752
   September 1752
Mo Tu We Th Fr Sa Su
 1  2  3
 4  5  6  7  8  9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30

$ env ncal -b 9 1752 -s GB
   September 1752
Mo Tu We Th Fr Sa Su
 1  2  3
 4  5  6  7  8  9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30

$ env ncal -b 10 1582 -s GB
October 1582
Mo Tu We Th Fr Sa Su
 1  2  3  4 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31



$


-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)

Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bsdmainutils depends on:
ii  bsdutils 1:2.33.1-0.1
ii  debianutils  4.8.6.1
ii  libbsd0  0.9.1-2
ii  libc62.28-10
ii  libtinfo66.1+20181013-2+deb10u2

bsdmainutils recommends no packages.

Versions of packages bsdmainutils suggests:
ii  cpp   4:8.3.0-1
pn  vacation  
ii  wamerican [wordlist]  2018.04.16-1
ii  wbritish [wordlist]   2018.04.16-1
ii  whois 5.4.3

-- no debconf information



Bug#343680: Does not correctly unzip links; previous version worked fine

2005-12-16 Thread Carl W. Hoffman
Package: unzip
Version: 5.52-1sarge2
Severity: important


Unzipping a zipfile containing links which link to files later in the zipfile 
now fails.
It worked before the most recent release of unzip.

If you type "unzip" with no arguments, the -bad- version will print:

  UnZip 5.52 of 28 February 2005, by Debian. Original by Info-ZIP.

However, the -good- version will print:

  UnZip 5.52 of 28 February 2005, by Info-ZIP.  Maintained by C. Spieler.  Send
  bug reports using http://www.info-zip.org/zip-bug.html; see README for 
details.

The -good- version prints "finishing deferred symbolic links" when unzipping a 
zipfile
which contains symbolic links.  The -bad- version does not do this.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages unzip depends on:
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]