![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Having blank lines in -f scripts was causing silent failures. This fixes it, for some value of "fixes." If it's OK, please apply to 8.1 CURRENT and CVS TIP ![]() if (strncmp(buf, "\n", 1) !=3D 0) { commands =3D process_commands(buf); if (commands =3D=3D NULL) { fclose(fd); return false; } } else { lineno++; |
|
continue; } my_commands[lineno] =3D commands; |
#2
| |||
| |||
|
|
Having blank lines in -f scripts was causing silent failures. This fixes it, for some value of "fixes." If it's OK, please apply to 8.1 CURRENT and CVS TIP ![]() Thanks. I have committed your patches to current and 8.1 stable. |
#3
| |||
| |||
|
|
Please apply the following patch that removes an unneeded (and broken) counter increment. |
![]() |
| Thread Tools | |
| Display Modes | |
| |