Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37383151
en ru br
ALT Linux repos
S:4.1.20060426-alt10.3
5.0: 4.1.20060426-alt6
4.1: 4.1.20060426-alt4
4.0: 4.1.20060426-alt4
3.0: 4.1.20040916-alt2

Group :: System/Servers
RPM: vixie-cron

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: vixie-cron-4.1.20060426-alt-warnings.patch
Download


diff -upk.orig vixie-cron-4.1.20060426.orig/usr.sbin/cron/do_command.c vixie-cron-4.1.20060426/usr.sbin/cron/do_command.c
--- vixie-cron-4.1.20060426.orig/usr.sbin/cron/do_command.c	2004-06-17 22:11:55 +0000
+++ vixie-cron-4.1.20060426/usr.sbin/cron/do_command.c	2004-11-02 21:46:16 +0000
@@ -372,7 +372,7 @@ child_process(entry *e, user *u) {
 		int	ch = getc(in);
 
 		if (ch != EOF) {
-			FILE	*mail;
+			FILE	*mail = 0;
 			int	bytes = 1;
 			int	status = 0;
 
diff -upk.orig vixie-cron-4.1.20060426.orig/usr.sbin/cron/env.c vixie-cron-4.1.20060426/usr.sbin/cron/env.c
--- vixie-cron-4.1.20060426.orig/usr.sbin/cron/env.c	2005-01-30 20:44:50 +0000
+++ vixie-cron-4.1.20060426/usr.sbin/cron/env.c	2006-04-30 22:13:52 +0000
@@ -205,6 +205,7 @@ load_env(char *envstr, FILE *f) {
 			else
 				state++;
 			break;
+		default: break;
 		}
 	}
 	if (state != FINI && !(state == VALUE && !quotechar)) {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin