Update a configuration file: Difference between revisions
Content added Content deleted
(→{{header|C}}: Time a Real Programmer solution to shame the script jockeys. :) With innovative, Lisp-inspired code formatting.) |
(→{{header|C}}: Critical flaw addressed, resulting in perfection.) |
||
Line 210: | Line 210: | ||
{ if (!updlist[i].flag) |
{ if (!updlist[i].flag) |
||
if (output_opt(to, &updlist[i]) < 0) |
if (output_opt(to, &updlist[i]) < 0) |
||
return -1; }} |
return -1; } } |
||
return feof(from) ? 0 : -1; } |
return feof(from) ? 0 : -1; } |
||