Displaying 1 result from an estimated 1 matches for "max_envstr".
1996 Dec 16
0
Re: vixie-crontab for redhat linux (Fix)
...icular problem:
diff -ru vixie-cron-3.0.1~/env.c vixie-cron-3.0.1/env.c
--- vixie-cron-3.0.1~/env.c Mon Dec 16 22:42:55 1996
+++ vixie-cron-3.0.1/env.c Mon Dec 16 22:55:52 1996
@@ -115,8 +115,9 @@
{
long filepos;
int fileline;
- char name[MAX_TEMPSTR], val[MAX_ENVSTR];
+ char name[MAX_ENVSTR], val[MAX_ENVSTR];
int fields;
+ int Error = 0;
filepos = ftell(f);
fileline = LineNumber;
@@ -128,8 +129,14 @@
name[0] = val[0] = ''\0'';
fields = sscanf(envstr, "%[^ =] = %[^\n#]",...