Markus Bröker <mbroeker@largo.dyndns.tv> [Fri, 01 May 2009 18:27:06 +0200] rev 89
nearest: more templates fun
small improvements and a new template function
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 30 Apr 2009 23:38:48 +0200] rev 88
how to use templates
We read 10 numbers from stdin and print the nearest values of a query.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 13:57:47 +0200] rev 87
[alpha_beta] Fix memory leaks
I have used many mallocs and have not freed it.
But there is still a read error which indicates another problem.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:51:16 +0200] rev 86
numbering game: guess a value
It was a short contest in IRC. Write a numbering game.
Anyway, i have lost: The winner realized it in 12 lines.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:51:15 +0200] rev 85
[getopt]: support for long options
Long options are quite useful, too
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:51:15 +0200] rev 84
struct hostent has no longer a member h_addr
Current netdb.h lacks support for the old h_addr pointer without
special USE_GNU defines...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:51:15 +0200] rev 83
Platform Independend Newlines
Java uses %n for platform independend newlines
\r\n on windows, \n on linux and so on...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:51:15 +0200] rev 82
Useless braces removed
Single-line commands do not need braces
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:51:15 +0200] rev 81
A simple QT Demo
I needed a playground to become familiar with the teamgit ui
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:51:15 +0200] rev 80
fak.c: proper values
The normal fak function prints proper values from 0-20 and the bigfak
function "guesses" up to 170!
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:51:15 +0200] rev 79
Little Typo in daemon.c
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:51:15 +0200] rev 78
clplaner: Avoid a segfault on Wed May 27 20:00 CET 2009
* The IndexShaker would crash on the last two teams - fixed
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:53 +0200] rev 77
HEADER TAGS
The std header tags are now subdir/file.ext
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 76
A nice system daemon...
Daemon monitors /proc/meminfo every 60 seconds...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 75
clplaner added
clplaner reads a file and draws the knockout stage
FILE FORMAT:
* One team per line, seperated by newline
* team n is the group winner, team n+1 the runners up
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 74
getrandom macro fixed
the getrandom expanded to the wrong value when dealing with expressions.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 73
Changelog: Makefile and sort.c
Makefile:
* Environment Variable Profiler=<target>
sort.c:
* Quick Sort Algorithm implemented
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 72
sort.c: bubblesort fixed
* the bubblesort algorithm has an abort-condition
* the linearsort algorithm has not an abort-condition
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 71
Makefile: Little Improvements
* not all platforms have gnu find
* not all platforms have rm
The user may adjust the settings in the header of the makefile
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 70
Profiling support added
* To use the benefits of profiling, set PROFILING=<target>
* eg: mbroeker@localhost $ make -e PROFILING=linux
* mbroeker@localhost $ export PROFILING=linux && make
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 69
Useless cross_getch hack removed
cross_getch provides a version of getch for every os.
The Windows Part does not work under wine, but it works
on the target platform.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 68
Trivial Changes
I have made trivial changes to the fts component and renamed the
set_limit function to set_proc_limit. It makes it clear that
we are dealing with LIMIT_NPROC and not LIMIT_AS settings.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:39 +0200] rev 67
file traversal demo && minor changes
Traversal through a filesystem hierarchy made easy
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:50:28 +0200] rev 66
Common Makefile Style NAME += OBJECT
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 65
GNU Indent cannot handle C++ Source Files...
I like GNU indent. I like it so much that i use it for all my projects.
But it doesn't work with C++ sources. To avoid further problems, all C++
Headers will be renamed from *.h to their *.hpp counterparts.
mbroeker
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 64
FORK ERROR in prog_limit and mem2swap:
execve overrides the current PID
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 63
uint vs size_t and two bugfixes in fak and unicode
* Better Description of copy.cc
* mem2swap throws a perror on failure
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 62
unicode.c added and myprintf improved
* unicode.c: handle unicode input
* myprintf.c: we need the printf family...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 61
Lazy BNF / EBNF Help Messages
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 60
Memory Management
* myprintf.c: Dynamic Memory allocation added
* prog_limit: fixed a segfault
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 59
getpwnam_error.c:
* The memory hole can be fixed with two different approaches
1) Change /etc/nsswitch.conf: passwd: compat to passwd: files
2) LD_PRELOAD=/lib/libnss_compat.so.2 valgrind ./getpwnam_error
GLIBC loads libnss_compat on the fly and unloads it.
Thanks to telexicon for reporting this...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
Markus Bröker <mbroeker@largo.dyndns.tv> [Thu, 16 Apr 2009 12:49:13 +0200] rev 58
myprintf.c added - replaces varargs.c
committer: Markus Bröker <mbroeker@largo.homelinux.org>