Remove pointless EOF lines from all sources.

This commit is contained in:
Andrew Wood
2024-11-30 16:40:50 +00:00
parent 5b0697b68c
commit 0d618efd0d
66 changed files with 0 additions and 132 deletions
-2
View File
@@ -35,5 +35,3 @@ for ((buffer=100; buffer<=1000; buffer+=100)); do
echo -e "${buffer}\t${rate}\t${rdata}\t${wdata}"
done
done
# EOF
-2
View File
@@ -43,5 +43,3 @@ typedef bool _Bool;
# define true 1
# define __bool_true_false_are_defined 1
#endif
/* EOF */
-2
View File
@@ -93,5 +93,3 @@ extern bool opts_add_file(opts_t, const char *);
#endif
#endif /* _OPTIONS_H */
/* EOF */
-2
View File
@@ -398,5 +398,3 @@ void pv_watchpid_setname(pvstate_t, pvwatchfd_t);
#endif
#endif /* _PV_INTERNAL_H */
/* EOF */
-2
View File
@@ -299,5 +299,3 @@ void debugging_output(const char *, const char *, int, const char *, ...);
#endif
#endif /* _PV_H */
/* EOF */
-2
View File
@@ -118,5 +118,3 @@ void debugging_output( __attribute__((unused))
}
#endif /* ENABLE_DEBUGGING */
/* EOF */
-2
View File
@@ -607,5 +607,3 @@ void display_help(void)
printf("\n");
}
/* EOF */
-2
View File
@@ -540,5 +540,3 @@ int main(int argc, char **argv)
return retcode;
}
/* EOF */
-2
View File
@@ -773,5 +773,3 @@ opts_t opts_parse(unsigned int argc, char **argv)
return opts;
}
/* EOF */
-2
View File
@@ -432,5 +432,3 @@ int pv_remote_set( /*@unused@ */
}
#endif /* SA_SIGINFO */
/* EOF */
-2
View File
@@ -31,5 +31,3 @@ void display_version(void)
/* Project web site link */
printf("\n%s: <%s>\n", _("Project web site"), PACKAGE_URL);
}
/* EOF */
-2
View File
@@ -169,5 +169,3 @@ void pv_calculate_transfer_rate(pvstate_t state, bool final)
if (state->calc.percentage > 100000)
state->calc.percentage = 100000;
}
/* EOF */
-2
View File
@@ -689,5 +689,3 @@ void pv_crs_fini(pvstate_t state)
(void) remove(state->cursor.lock_file);
}
}
/* EOF */
-2
View File
@@ -1308,5 +1308,3 @@ void pv_display(pvstate_t state, bool final)
debug("%s: [%s]", "display", state->display.display_buffer);
}
/* EOF */
-2
View File
@@ -251,5 +251,3 @@ void pv_nanosleep(long long nanoseconds)
/*@+null@ *//* splint doesn't know about select() */
#endif
}
/* EOF */
-2
View File
@@ -447,5 +447,3 @@ int pv_next_file(pvstate_t state, unsigned int filenum, int oldfd)
/*@+onlytrans@ */
/*@+observertrans@ */
}
/* EOF */
-2
View File
@@ -1023,5 +1023,3 @@ int pv_watchpid_loop(pvstate_t state)
return 0;
}
/* EOF */
-2
View File
@@ -295,5 +295,3 @@ int pv_percentage(off_t amount, const off_t total)
return (int) amount;
}
/* EOF */
-2
View File
@@ -551,5 +551,3 @@ void pv_sig_checkbg(void)
pv_crs_needreinit(pv_sig_state);
#endif
}
/* EOF */
-2
View File
@@ -527,5 +527,3 @@ void pv_state_inputfiles(pvstate_t state, unsigned int input_file_count, const c
/*@+nullstate@*/
/* splint: see unqualifiedtrans note by free() above. */
/* EOF */
-2
View File
@@ -179,5 +179,3 @@ void *pv_memrchr(const void *buffer, int match, size_t length)
return NULL;
#endif
}
/* EOF */
-2
View File
@@ -1182,5 +1182,3 @@ ssize_t pv_transfer(pvstate_t state, int fd, bool *eof_in, bool *eof_out, off_t
return state->transfer.written;
}
/* EOF */
-2
View File
@@ -645,5 +645,3 @@ void pv_watchpid_setname(pvstate_t state, pvwatchfd_t info)
debug("%s: %d: [%s]", "set name for fd", info->watch_fd, info->display_name);
}
/* EOF */
@@ -28,5 +28,3 @@ test "${lineLengthCount}" = "1" && exit 0
echo "variable line lengths detected"
tr '\r' '\n' < "${workFile1}"
exit 1
# EOF
@@ -29,5 +29,3 @@ test "${lineLengthCount}" = "1" && exit 0
echo "variable line lengths detected"
tr '\r' '\n' < "${workFile1}"
exit 1
# EOF
-2
View File
@@ -39,5 +39,3 @@ fi
rm -rf "${testInstallDir}"
exit "${exitStatus}"
# EOF
-2
View File
@@ -27,5 +27,3 @@ test "${lineCount}" -lt 2 && exit 0
echo "average rate varied more than expected"
tr '\r' '\n' < "${workFile1}"
exit 1
# EOF
-2
View File
@@ -13,5 +13,3 @@ test "${counterValue}" = "800b" && exit 0
echo "unexpected bit counter value: ${counterValue}"
exit 1
# EOF
-2
View File
@@ -17,5 +17,3 @@ test "${differentLines}" -gt 1 && exit 0
echo "expected output changes not seen"
tr '\r' '\n' < "${workFile1}" | sed 's/^ *$/d' | sort | uniq
exit 1
# EOF
-2
View File
@@ -13,5 +13,3 @@ test "${counterValue}" = "100B" && exit 0
echo "unexpected byte counter value: ${counterValue}"
exit 1
# EOF
@@ -29,5 +29,3 @@ if ! test "${valueCount}" -lt 12; then
fi
exit 0
# EOF
@@ -28,5 +28,3 @@ if ! test "${valueCount}" -lt 8; then
fi
exit 0
# EOF
-2
View File
@@ -30,5 +30,3 @@ if ! test "${lastLine}" = "${expectedLastLine}"; then
fi
exit 0
# EOF
-2
View File
@@ -31,5 +31,3 @@ if ! test "${finalLine}" = "100"; then
fi
exit 0
# EOF
-2
View File
@@ -30,5 +30,3 @@ if ! test "${finalLine}" = "500"; then
echo "final byte count was not 500 (${finalLine})"
exit 1
fi
# EOF
@@ -33,5 +33,3 @@ if ! test "${finalStdoutLine}" = "100"; then
fi
exit 0
# EOF
-2
View File
@@ -37,5 +37,3 @@ if ! test "${finalPercentage}" = "100"; then
fi
exit 0
# EOF
@@ -18,5 +18,3 @@ if ! test "${lineCount}" -gt 2; then
fi
exit 0
# EOF
@@ -28,5 +28,3 @@ if ! test "${differentBarLengthsCount}" -gt 5; then
fi
exit 0
# EOF
-2
View File
@@ -15,5 +15,3 @@ if test -s "${workFile1}"; then
fi
exit 0
# EOF
@@ -27,5 +27,3 @@ if ! test "${rateCount}" -gt 2; then
fi
exit 0
# EOF
@@ -18,5 +18,3 @@ if ! test "${valueCount}" -gt 1; then
fi
exit 0
# EOF
-2
View File
@@ -46,5 +46,3 @@ if ! test "${pidValid}" = "1"; then
fi
exit 0
# EOF
@@ -20,5 +20,3 @@ checkSizeArgument 1M 1048576
checkSizeArgument 8G 8589934592
exit 0
# EOF
-2
View File
@@ -23,5 +23,3 @@ if ! test "${inputString}" = "${outputString}"; then
fi
exit 0
# EOF
-2
View File
@@ -19,5 +19,3 @@ outputChecksum=$(cksum "${workFile2}" | awk '{print $1}')
test "${inputChecksum}" = "${outputChecksum}" || exit 1
exit 0
# EOF
@@ -52,5 +52,3 @@ if ! test "${inputChecksum}" = "${outputChecksum}"; then
fi
exit 0
# EOF
@@ -76,5 +76,3 @@ if ! test "${bytesReported}" -eq "${fileSize}"; then
fi
exit 0
# EOF
@@ -36,5 +36,3 @@ if ! test "${stopAtByteCount}" = "${bytesTransferred}"; then
fi
exit 0
# EOF
@@ -57,5 +57,3 @@ if ! test "${inputChecksum}" = "${outputChecksum}"; then
fi
exit 0
# EOF
-2
View File
@@ -34,5 +34,3 @@ seq -w 3 1 100 \
| { runWithValgrind -bnl -i 0.2 -f -L 100 2>"${workFile1}" > "${workFile2}"; } 4>&1 || exit 1
exit 0
# EOF
@@ -39,5 +39,3 @@ done
{ runWithValgrind -L 100k -i 0.1 -f -P "${workFile3}" "${workFile1}" > "${workFile2}" 2>/dev/null; } 4>&1 || exit 1
exit 0
# EOF
@@ -35,5 +35,3 @@ runWithValgrind -R "$(cat "${workFile3}")" -L 10M 4>&1 || exit 1
wait
exit 0
# EOF
-2
View File
@@ -51,5 +51,3 @@ if ! test "${doubleInputChecksum}" = "${outputChecksum}"; then
fi
exit 0
# EOF
-2
View File
@@ -32,5 +32,3 @@ if test -s "${workFile1}"; then
fi
exit 0
# EOF
-2
View File
@@ -17,5 +17,3 @@ if ! test "${lineCount}" -gt 6; then
fi
exit 0
# EOF
-2
View File
@@ -28,5 +28,3 @@ if ! test "${lineCount}" -gt 3; then
fi
exit 0
# EOF
-2
View File
@@ -52,5 +52,3 @@ if ! test "${finalLine}" = "200"; then
fi
exit 0
# EOF
@@ -45,5 +45,3 @@ sizeCheck 200 50
sizeCheck 50 200
exit 0
# EOF
-2
View File
@@ -41,5 +41,3 @@ if ! test "${inputChecksum}" = "${outputChecksum}"; then
fi
exit 0
# EOF
-2
View File
@@ -86,5 +86,3 @@ widthTest 400
widthTest 20
exit 0
# EOF
-2
View File
@@ -17,5 +17,3 @@ if test "${startTime}" = "${endTime}"; then
fi
exit 0
# EOF
-2
View File
@@ -32,5 +32,3 @@ if ! test "${line_lengths}" -gt 1; then
fi
exit 0
# EOF
-2
View File
@@ -23,5 +23,3 @@ if ! test "${inputChecksum}" = "${outputChecksum}"; then
fi
exit 0
# EOF
-2
View File
@@ -33,5 +33,3 @@ if ! test "${differentNumbers}" -gt 1; then
fi
exit 0
# EOF
-2
View File
@@ -62,5 +62,3 @@ runWithValgrind () {
return "${returnValue}"
}
# EOF