Bug#974656: vdr: disk used percentage negative

Timo Weingärtner timo at tiwe.de
Fri Nov 13 11:19:43 GMT 2020


Package: vdr
Version: 2.4.1-1
Severity: minor
Tags: upstream

Dear Maintainer,

my recordings use more than (INT_MAX / 100) MiBytes so the used percentage
in the OSD gets negative:
https://sources.debian.org/src/vdr/2.4.1-4.1/videodir.c/?hl=194#L161
The problem is in the (non-)choice of type: signed int is too small, even
on platforms where it has 32 bits; better use uint64_t or double.


-- System Information:
Debian Release: 10.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-12-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vdr depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-10
ii  libcap2                1:2.25-2
ii  libfontconfig1         2.13.1-2
ii  libfreetype6           2.9.1-3+deb10u2
ii  libgcc1                1:8.3.0-6
ii  libjpeg62-turbo        1:1.5.2-2+b1
ii  libstdc++6             8.3.0-6
ii  libsystemd0            241-7~deb10u4
ii  lsb-base               10.2019051400

Versions of packages vdr recommends:
ii  lirc                                     0.10.1-6.2~deb10u1
pn  ttf-bitstream-vera | fonts-freefont-ttf  <none>

Versions of packages vdr suggests:
pn  vdr-plugin-dvbsddevice  <none>

-- Configuration Files:
/etc/vdr/command-hooks/reccmds.custom.conf changed:
Werbung markieren: /usr/bin/markad -b nice

/etc/vdr/conf.d/00-vdr.conf changed:
[vdr]
--video=/var/lib/video
--config=/var/lib/vdr
--lib=/usr/lib/vdr/plugins
--record=/usr/lib/vdr/vdr-recordingaction
--epgfile=/var/cache/vdr/epg.data
--user=vdr
--grab=/tmp
--port=6419
--watchdog=60
--lirc

/etc/vdr/diseqc.conf changed:
1 2 3 4:
S19.2E  11700 V  9750  [E0 10 38 F0]
S19.2E  99999 V 10600  [E0 10 38 F1]
S19.2E  11700 H  9750  [E0 10 38 F2]
S19.2E  99999 H 10600  [E0 10 38 F3]
S13.0E  11700 V  9750  [E0 10 38 F4]
S13.0E  99999 V 10600  [E0 10 38 F5]
S13.0E  11700 H  9750  [E0 10 38 F6]
S13.0E  99999 H 10600  [E0 10 38 F7]

/etc/vdr/keymacros.conf changed:
Red	Timers
Green	Recordings
Yellow	Schedule
Blue	Info
User0	@osdteletext
User1	@femon
User2	@xineliboutput


-- debconf information:
* vdr/create_video_dir: false
* vdr/select_dvb_card: Satellite



More information about the pkg-vdr-dvb-devel mailing list