]> granicus.if.org Git - cronie/commitdiff
Fix for ppc: int ch='\0' is initialized.
authormmaslano <mmaslano@redhat.com>
Fri, 17 Aug 2007 13:02:43 +0000 (15:02 +0200)
committermmaslano <mmaslano@redhat.com>
Fri, 24 Aug 2007 12:53:49 +0000 (14:53 +0200)
Makefile
crontab.c

index bcbf548acb19239abfe3d3234a8fc6cf2667a4c1..b118376a0958c9905669e429d20e807402b262fb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,7 @@ DEFS          =       -DWITH_SELINUX -DWITH_PAM
 #INSTALL = installbsd
 INSTALL = install
 #<<any special load flags>>
-LDFLAGS                =
+LDFLAGS                =       -g
 #################################### end configurable stuff
 
 SHELL          =       /bin/sh
index d77452f8d13e969f4bcb6dd8a7d9775385540f60..ce2af91878dbbd2a34bd8ddb2538e383c1140209 100644 (file)
--- a/crontab.c
+++ b/crontab.c
@@ -318,7 +318,7 @@ static void
 edit_cmd(void) {
        char n[MAX_FNAME], q[MAX_TEMPSTR], *editor;
        FILE *f;
-       int ch, t, x;
+       int ch='\0', t, x;
        struct stat statbuf;
        struct utimbuf utimebuf;
        WAIT_T waiter;