summaryrefslogtreecommitdiffstats
path: root/lib/ChangeLog
diff options
context:
space:
mode:
authorMartin Liska <[email protected]>2021-04-19 14:33:36 +0200
committerMark Wielaard <[email protected]>2021-05-12 11:56:57 +0200
commitadc201f81902f3015a841869756ed4b9b811fe33 (patch)
tree735ab647b6e749f7bbbd1cd88256f89c2de266a9 /lib/ChangeLog
parent857546d176a36d2b5dc18b81dcafa3fb8ec0123d (diff)
Come up with startswith function.
New function in system.h that returns true if a string has a given prefix, false otherwise. Use it in place of strncmp. Signed-off-by: Martin Liška <[email protected]>
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r--lib/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 371e2133..dd3ebcab 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,10 @@
+2021-04-19 Martin Liska <[email protected]>
+
+ * system.h (startswith): New function.
+ (pwrite_retry): Cast to char *.
+ (write_retry): Likewise.
+ (pread_retry): Likewise.
+
2021-02-05 Mark Wielaard <[email protected]>
* printversion.c (print_version): Update copyright year.