Skip to content

Commit 0232aa0

Browse files
committed
docs: typo, example
1 parent e50eef9 commit 0232aa0

File tree

11 files changed

+8
-5
lines changed

11 files changed

+8
-5
lines changed

.env

100644100755
File mode changed.

.gitignore

100644100755
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
build
44
a.out
55

6+
67
README-*.md
7-
vuln.c
8+
vuln.c
9+
10+
white-paper*.odt

LICENSE

100644100755
File mode changed.

Makefile

100644100755
File mode changed.

README.md

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ API made to simplify debugging for C and C++.
99
| Feature | C | C++ |
1010
|-|-|-|
1111
| Version | *Any* | C++20 |
12-
| Debugging Compiler | GCC | *Any* (G++ recommended) |
13-
| Production Compiler | *Any* | *Any* |
12+
| Debugging Compiler | GCC | *Any* |
13+
| Production Compiler | *Any* | *Any* (G++ recommended) |
1414

1515
#### Note C++
1616

@@ -85,7 +85,7 @@ void wonderful()
8585
8686
void marvelous()
8787
{
88-
debug::log::warning() << "Something wrong happened";
88+
debug::log::warning() << "Something wrong happened (errno " << 1 << ")";
8989
}
9090
9191
int main(void) {

example.c

100644100755
File mode changed.

example.cpp

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ void wonderful()
88

99
void marvelous()
1010
{
11-
debug::log::warning() << "Something wrong happened";
11+
debug::log::warning() << "Something wrong happened (errno " << 1 << ")";
1212
}
1313

1414
int main(void) {

src/common.h

100644100755
File mode changed.

src/debug.h

100644100755
File mode changed.

src/debug.hpp

100644100755
File mode changed.

src/term.h

100644100755
File mode changed.

0 commit comments

Comments
 (0)