git@sv
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
070a741
)
doc: Tweak example.
author
Bruno Haible
<bruno@clisp.org>
Sun, 6 Dec 2020 11:49:58 +0000
(12:49 +0100)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 6 Dec 2020 11:49:58 +0000
(12:49 +0100)
* doc/intprops.texi (Checking Integer Overflow): Use 'printf', not
'print'.
ChangeLog
patch
|
blob
|
history
doc/intprops.texi
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index e0280219a0b42293303ed12939d88a5898c570a8..8f749e286dc9c48d3fd5e8dc4cde1948352b1599 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,9
@@
+2020-12-06 Bruno Haible <bruno@clisp.org>
+
+ doc: Tweak example.
+ * doc/intprops.texi (Checking Integer Overflow): Use 'printf', not
+ 'print'.
+
2020-12-06 Bruno Haible <bruno@clisp.org>
filenamecat-tests: Use idx_t for nonnegative ptrdiff_t variables.
diff --git
a/doc/intprops.texi
b/doc/intprops.texi
index f3a958a75f2de49b371683b93a4fee1344a0304a..b668285c5155ffa793d433014e72a6498ad4772b 100644
(file)
--- a/
doc/intprops.texi
+++ b/
doc/intprops.texi
@@
-167,7
+167,7
@@
arithmetic. For example:
if ((a + b < b) == (a < 0))
a += b;
else
- print
("overflow
");
+ print
f ("overflow\n
");
@end example
@noindent