/[baselayout]/trunk/src/librc-misc.c
Gentoo

Diff of /trunk/src/librc-misc.c

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

Revision 2890 Revision 2891
317 int i = 0; 317 int i = 0;
318 bool replaced; 318 bool replaced;
319 char *entry; 319 char *entry;
320 char *newline; 320 char *newline;
321 321
322 if (! file)
323 return (NULL);
324
322 if (! (fp = fopen (file, "r"))) { 325 if (! (fp = fopen (file, "r"))) {
323 ewarn ("load_config_file `%s': %s", file, strerror (errno)); 326 ewarn ("rc_get_config `%s': %s", file, strerror (errno));
324 return (NULL); 327 return (NULL);
325 } 328 }
326 329
327 while (fgets (buffer, RC_LINEBUFFER, fp)) { 330 while (fgets (buffer, RC_LINEBUFFER, fp)) {
328 p = buffer; 331 p = buffer;

Legend:
Removed from v.2890  
changed lines
  Added in v.2891

  ViewVC Help
Powered by ViewVC 1.1.20