/[monit]/monit/p.y
ViewVC logotype

Diff of /monit/p.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by hauk, Fri Sep 6 18:13:37 2002 UTC revision 1.14 by hauk, Thu Sep 12 16:46:07 2002 UTC
# Line 498  int parse(char *controlfile) { Line 498  int parse(char *controlfile) {
498    
499    processlist= tail= current= NULL;    processlist= tail= current= NULL;
500        
501    if ( ! isreg_file(controlfile) ) {    if(! rcfile_check(controlfile)) {
502            
     error("%s: The control file '%s' is not a regular file\n",  
           prog, controlfile);  
503      return (FALSE);      return (FALSE);
504            
505    }    }
506      
507    if ((yyin = fopen(controlfile,"r")) == (FILE *)NULL) {    if ((yyin = fopen(controlfile,"r")) == (FILE *)NULL) {
508            
509      error("%s: Error opening the control file '%s' -- %s\n",      error("%s: Error opening the control file '%s' -- %s\n",

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26