Sisyphus repository
Last update: 20 october 2017 | SRPMs: 17933 | Visits: 10204713
en ru br
ALT Linux repos
S:4.1.20060426-alt10
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.20040916-alt-setlocale.patch
Download


diff -uprk.orig vixie-cron-4.1.20040916.orig/usr.sbin/cron/cron.c vixie-cron-4.1.20040916/usr.sbin/cron/cron.c
--- vixie-cron-4.1.20040916.orig/usr.sbin/cron/cron.c	2004-11-03 01:37:36 +0300
+++ vixie-cron-4.1.20040916/usr.sbin/cron/cron.c	2004-11-03 01:38:00 +0300
@@ -76,7 +76,9 @@ main(int argc, char *argv[]) {
 	ProgramName = program_invocation_short_name;
 	FixedName = "crond";
 
+#ifdef HAVE_SETLOCALE
 	setlocale(LC_ALL, "");
+#endif
 
 #if defined(BSD)
 	setlinebuf(stdout);
diff -uprk.orig vixie-cron-4.1.20040916.orig/usr.sbin/cron/crontab.c vixie-cron-4.1.20040916/usr.sbin/cron/crontab.c
--- vixie-cron-4.1.20040916.orig/usr.sbin/cron/crontab.c	2004-11-03 01:37:36 +0300
+++ vixie-cron-4.1.20040916/usr.sbin/cron/crontab.c	2004-11-03 01:38:00 +0300
@@ -83,7 +83,9 @@ main(int argc, char *argv[]) {
 	ProgramName = argv[0];
 	FixedName = "crontab";
 
+#ifdef HAVE_SETLOCALE
 	setlocale(LC_ALL, "");
+#endif
 
 #if defined(BSD)
 	setlinebuf(stderr);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin