-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.7 fix stringbuf memory allocation leak
- Loading branch information
Showing
8 changed files
with
42 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
2012-07-24 Yuri Dyachenko <[email protected]> | ||
Version 0.7 released | ||
Fix bug with stringbuf memory allocation. | ||
|
||
2012-07-23 Yuri Dyachenko <[email protected]> | ||
Version 0.6 released | ||
Fix bug with multithread syslog initialization | ||
Fix bug with multithread syslog initialization. | ||
|
||
2012-06-29 Yuri Dyachenko <[email protected]> | ||
Version 0.5 released | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
libsyslogpp-9999.ebuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
CXXFLAGS+=-DHAVE_SYSLOG_H | ||
LDLIBS+=-lsyslogpp | ||
all: cerr clog std stream | ||
all: cerr clog std stream loop | ||
clean: | ||
rm -f cerr clog std stream | ||
rm -f cerr clog std stream loop | ||
cerr: cerr.cpp | ||
clog: clog.cpp | ||
std: std.cpp | ||
stream: stream.cpp | ||
loop: loop.cpp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include <stdlib.h> | ||
#include <syslogpp.h> | ||
|
||
int main() | ||
{ | ||
syslog.open( NULL, LOG_PID, LOG_USER ); | ||
for (int i = 0; i < 1024*1024*1024; ++i) | ||
{ | ||
syslog( LOG_DEBUG ) << "syslog stream interface " << i << std::endl; | ||
} | ||
syslog.close(); | ||
pause(); | ||
return EXIT_SUCCESS; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters