Package: at Version: 3.1.18-2 Severity: normal Tags: patch Dear Maintainer,
at's manpage lists "at -b" as equivalent to "batch", but the "b" option isn't declared in the options passed to getopt() so it doesn't work at all. The attached patch fixes this. Regards, Stephen -- System Information: Debian Release: stretch/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages at depends on: ii init-system-helpers 1.24 ii libc6 2.21-6 ii libpam-runtime 1.1.8-3.2 ii libpam0g 1.1.8-3.2 ii libselinux1 2.4-3 ii lsb-base 9.20160110 Versions of packages at recommends: ii exim4-daemon-heavy [mail-transport-agent] 4.86-7+b1 at suggests no packages. -- Configuration Files: /etc/at.deny [Errno 13] Permission denied: u'/etc/at.deny' -- no debconf information
diff --git a/at.c b/at.c index 5f5038d..b4cd175 100644 --- a/at.c +++ b/at.c @@ -746,7 +746,7 @@ main(int argc, char **argv) char *pgm; int program = AT; /* our default program */ - char *options = "q:f:MmvlrdhVct:"; /* default options for at */ + char *options = "q:f:MmvlrdhVct:b"; /* default options for at */ int disp_version = 0; time_t timer = 0; struct passwd *pwe;