# HG changeset patch # User Markus Bröker # Date 1229187482 -3600 # Node ID c3fecc82ade6b2878a41cababad15b7818a45c48 # Parent 96d16dfe787a0f66cb60ad5b5553e02e5b7d592d standard tags for git projects committer: Markus Bröker diff --git a/alpha_beta.c b/alpha_beta.c --- a/alpha_beta.c +++ b/alpha_beta.c @@ -1,10 +1,8 @@ -/* - * $Id: alpha_beta.c,v 1.5 2008-05-08 21:04:08 mbroeker Exp $ - * $Source: /development/c/demos/alpha_beta.c,v $ +/** + * test/demos/alpha_beta.c + * Copyright (C) 2008 Markus Broeker */ -/* TIC TAC TOE With Alpha Beta Search */ - #include #include #include diff --git a/asm/decimal.c b/asm/decimal.c --- a/asm/decimal.c +++ b/asm/decimal.c @@ -1,7 +1,6 @@ /** - * $Id: decimal.c,v 1.1.1.1 2008-04-28 17:32:52 mbroeker Exp $ - * $Source: /development/c/asm/decimal.c,v $ - * + * test/demos/asm/decimal.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/asm/get_sp.asm b/asm/get_sp.asm --- a/asm/get_sp.asm +++ b/asm/get_sp.asm @@ -1,7 +1,6 @@ ;; -;; $ID$ -;; $Source: /development/c/asm/get_sp.asm,v $ -;; +;; test/demos/asm/get_sp.asm +;; Copyright (C) 2008 Markus Broeker ;; %include "asm/tools.inc" diff --git a/asm/include/asm/tools.inc b/asm/include/asm/tools.inc --- a/asm/include/asm/tools.inc +++ b/asm/include/asm/tools.inc @@ -1,6 +1,6 @@ ;; -;; $Id: tools.inc,v 1.1.1.1 2008-04-28 17:32:52 mbroeker Exp $ -;; $Source: /development/c/asm/include/asm/tools.inc,v $ +;; test/demos/asm/include/asm/tools.inc +;; Copyright (C) 2008 Markus Broeker ;; extern printf diff --git a/asm/main.c b/asm/main.c --- a/asm/main.c +++ b/asm/main.c @@ -1,7 +1,6 @@ /** - * $Id: main.c,v 1.1.1.1 2008-04-28 17:32:52 mbroeker Exp $ - * $Source: /development/c/asm/main.c,v $ - * + * test/demos/asm/main.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/atoi_print.c b/atoi_print.c --- a/atoi_print.c +++ b/atoi_print.c @@ -1,7 +1,6 @@ /** - * $Id: atoi_print.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/atoi_print.c,v $ - * + * test/demos/atoi_print.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/bad_alloc.cc b/bad_alloc.cc --- a/bad_alloc.cc +++ b/bad_alloc.cc @@ -1,3 +1,8 @@ +/** + * test/demos/bad_alloc.cc + * Copyright (C) 2008 Markus Broeker + */ + #include #include #include diff --git a/blackhole.c b/blackhole.c --- a/blackhole.c +++ b/blackhole.c @@ -1,10 +1,10 @@ -/* - * $Id: blackhole.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/blackhole.c,v $ +/** + * test/demos/blackhole.c + * Copyright (C) 2008 Markus Broeker + * + * compile with -O0 or without optimizations or it won't crash */ -/* compile with -O0 or without optimizations or it won't crash */ - #include #include diff --git a/concatenation.c b/concatenation.c --- a/concatenation.c +++ b/concatenation.c @@ -1,6 +1,6 @@ -/* - * $Id: concatenation.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/concatenation.c,v $ +/** + * test/demos/concatenation.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/counter.c b/counter.c --- a/counter.c +++ b/counter.c @@ -1,6 +1,6 @@ -/* - * $Id: counter.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/counter.c,v $ +/** + * test/demos/counter.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/crypt.c b/crypt.c --- a/crypt.c +++ b/crypt.c @@ -1,7 +1,6 @@ /** - * $Id: crypt.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/crypt.c,v $ - * + * test/demos/crypt.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/data_types.c b/data_types.c --- a/data_types.c +++ b/data_types.c @@ -1,7 +1,6 @@ /** - * $Id: data_types.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/data_types.c,v $ - * + * test/demos/data_types.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/database.c b/database.c --- a/database.c +++ b/database.c @@ -1,7 +1,6 @@ /** - * $Id: main.c,v 1.1.1.1 2008-04-28 17:32:52 mbroeker Exp $ - * $Source: /development/c/database/main.c,v $ - * + * test/demos/database.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/ddos/client.c b/ddos/client.c --- a/ddos/client.c +++ b/ddos/client.c @@ -1,7 +1,6 @@ /** - * $Id: client.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/ddos/client.c,v $ - * + * test/demos/ddos/client.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/ddos/server.c b/ddos/server.c --- a/ddos/server.c +++ b/ddos/server.c @@ -1,7 +1,6 @@ /** - * $Id: server.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/ddos/server.c,v $ - * + * test/demos/ddos/server.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/ddos/set_limit.c b/ddos/set_limit.c --- a/ddos/set_limit.c +++ b/ddos/set_limit.c @@ -1,6 +1,6 @@ /** - * $Id: set_limit.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/ddos/set_limit.c,v $ + * test/demos/ddos/set_limit.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/dnsresolve.c b/dnsresolve.c --- a/dnsresolve.c +++ b/dnsresolve.c @@ -1,7 +1,6 @@ /** - * $Id: dnsresolve.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/dnsresolve.c,v $ - * + * test/demos/dnsresolve.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/endian.c b/endian.c --- a/endian.c +++ b/endian.c @@ -1,6 +1,6 @@ -/* - * $Id: endian.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/endian.c,v $ +/** + * test/demos/endian.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/fak.c b/fak.c --- a/fak.c +++ b/fak.c @@ -1,6 +1,6 @@ -/* - * $Id: fak.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/fak.c,v $ +/** + * test/demos/fak.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/file_demo.c b/file_demo.c --- a/file_demo.c +++ b/file_demo.c @@ -1,7 +1,6 @@ /** - * $Id: file_demo.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/file_demo.c,v $ - * + * test/demos/file_demo.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/floating.c b/floating.c --- a/floating.c +++ b/floating.c @@ -1,7 +1,6 @@ /** - * $Id: floating.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/floating.c,v $ - * + * test/demos/floating.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/folge.c b/folge.c --- a/folge.c +++ b/folge.c @@ -1,6 +1,6 @@ -/* - * $Id: folge.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/folge.c,v $ +/** + * test/demos/folge.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/gauss.c b/gauss.c --- a/gauss.c +++ b/gauss.c @@ -1,7 +1,6 @@ /** - * $Id: gauss.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/gauss/gauss.c,v $ - * + * test/demos/gauss.c + * Copyright (C) 2008 Markus Broeker */ #define VERSION 0.8 diff --git a/hex2chars.c b/hex2chars.c --- a/hex2chars.c +++ b/hex2chars.c @@ -1,7 +1,6 @@ /** - * $Id: hex2chars.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/hex2chars.c,v $ - * + * test/demos/hex2chars.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/libtest/func1.c b/libtest/func1.c --- a/libtest/func1.c +++ b/libtest/func1.c @@ -1,3 +1,8 @@ +/** + * test/demos/libtest/func1.c + * Copyright (C) 2008 Markus Broeker + */ + #include void func1() diff --git a/libtest/func2.c b/libtest/func2.c --- a/libtest/func2.c +++ b/libtest/func2.c @@ -1,3 +1,8 @@ +/** + * test/demos/libtest/func2.c + * Copyright (C) 2008 Markus Broeker + */ + #include void func2() diff --git a/libtest/main.c b/libtest/main.c --- a/libtest/main.c +++ b/libtest/main.c @@ -1,3 +1,8 @@ +/** + * test/demos/libtest/main.c + * Copyright (C) 2008 Markus Broeker + */ + void func1(); void func2(); diff --git a/life.c b/life.c --- a/life.c +++ b/life.c @@ -1,7 +1,6 @@ /** - * $Id$ - * $Source$ - * + * test/demos/life.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lotto.c b/lotto.c --- a/lotto.c +++ b/lotto.c @@ -1,8 +1,5 @@ /** - * $Id: main.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Author: mbroeker $ - * - * lotto.c + * test/demos/lotto.c * computes the best n lottery-values from m loops out of [1..end] * * ------------------------------------------------------------------------------ @@ -10,7 +7,6 @@ * | ==18509== malloc/free: in use at exit: 0 bytes in 0 blocks. | * | ==18509== malloc/free: 10,003 allocs, 10,003 frees, 280,600 bytes allocated. | * ------------------------------------------------------------------------------ - * */ #include diff --git a/lsflib/include/bits.h b/lsflib/include/bits.h --- a/lsflib/include/bits.h +++ b/lsflib/include/bits.h @@ -1,3 +1,8 @@ +/** + * test/demos/lsflib/include/bits.h + * Copyright (C) 2008 Markus Broeker + */ + #ifndef __BITS_H__ #define __BITS_H__ diff --git a/lsflib/include/cpuid.h b/lsflib/include/cpuid.h --- a/lsflib/include/cpuid.h +++ b/lsflib/include/cpuid.h @@ -1,3 +1,8 @@ +/** + * test/demos/lsflib/include/cpuid.h + * Copyright (C) 2008 Markus Broeker + */ + #ifndef __CPUID_H__ #define __CPUID_H__ diff --git a/lsflib/include/list.h b/lsflib/include/list.h --- a/lsflib/include/list.h +++ b/lsflib/include/list.h @@ -1,3 +1,8 @@ +/** + * test/demos/lsflib/include/list.h + * Copyright (C) 2008 Markus Broeker + */ + #ifndef __LIST_H__ #define __LIST_H__ diff --git a/lsflib/include/lsf.h b/lsflib/include/lsf.h --- a/lsflib/include/lsf.h +++ b/lsflib/include/lsf.h @@ -1,3 +1,8 @@ +/** + * test/demos/lsflib/include/lsf.h + * Copyright (C) 2008 Markus Broeker + */ + #ifndef __LSF_H__ #define __LSF_H__ diff --git a/lsflib/src/bindump.c b/lsflib/src/bindump.c --- a/lsflib/src/bindump.c +++ b/lsflib/src/bindump.c @@ -1,7 +1,6 @@ -/* - * $Id: bindump.c 94 2008-04-05 01:27:30Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/bindump.c $ - * +/** + * test/demos/lsflib/src/bindump.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lsflib/src/get_line.c b/lsflib/src/get_line.c --- a/lsflib/src/get_line.c +++ b/lsflib/src/get_line.c @@ -1,7 +1,6 @@ -/* - * $Id: get_line.c 94 2008-04-05 01:27:30Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/get_line.c $ - * +/** + * test/demos/lsflib/src/get_line.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lsflib/src/getdir.c b/lsflib/src/getdir.c --- a/lsflib/src/getdir.c +++ b/lsflib/src/getdir.c @@ -1,7 +1,6 @@ -/* - * $Id: getdir.c 94 2008-04-05 01:27:30Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/getdir.c $ - * +/** + * test/demos/lsflib/src/getdir.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lsflib/src/hexdump.c b/lsflib/src/hexdump.c --- a/lsflib/src/hexdump.c +++ b/lsflib/src/hexdump.c @@ -1,7 +1,6 @@ -/* - * $Id: hexdump.c 94 2008-04-05 01:27:30Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/hexdump.c $ - * +/** + * test/demos/lsflib/src/hexdump.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lsflib/src/list.c b/lsflib/src/list.c --- a/lsflib/src/list.c +++ b/lsflib/src/list.c @@ -1,7 +1,6 @@ -/* - * $Id: list.c 107 2008-04-17 01:01:43Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/list.c $ - * +/** + * test/demos/lsflib/src/list.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lsflib/src/md5recursive.c b/lsflib/src/md5recursive.c --- a/lsflib/src/md5recursive.c +++ b/lsflib/src/md5recursive.c @@ -1,7 +1,6 @@ -/* - * $Id: md5recursive.c 94 2008-04-05 01:27:30Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/md5recursive.c $ - * +/** + * test/demos/lsflib/src/md5recursive.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lsflib/src/md5sum.c b/lsflib/src/md5sum.c --- a/lsflib/src/md5sum.c +++ b/lsflib/src/md5sum.c @@ -1,7 +1,6 @@ -/* - * $Id: md5sum.c 94 2008-04-05 01:27:30Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/md5sum.c $ - * +/** + * test/demos/lsflib/src/md5sum.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lsflib/src/not.c b/lsflib/src/not.c --- a/lsflib/src/not.c +++ b/lsflib/src/not.c @@ -1,7 +1,6 @@ -/* - * $Id: not.c 94 2008-04-05 01:27:30Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/not.c $ - * +/** + * test/demos/lsflib/src/not.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lsflib/src/tokenchar.c b/lsflib/src/tokenchar.c --- a/lsflib/src/tokenchar.c +++ b/lsflib/src/tokenchar.c @@ -1,7 +1,6 @@ -/* - * $Id: tokenchar.c 94 2008-04-05 01:27:30Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/tokenchar.c $ - * +/** + * test/demos/lsflib/src/tokenchar.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lsflib/src/tokenizer.c b/lsflib/src/tokenizer.c --- a/lsflib/src/tokenizer.c +++ b/lsflib/src/tokenizer.c @@ -1,7 +1,6 @@ -/* - * $Id: tokenizer.c 94 2008-04-05 01:27:30Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/tokenizer.c $ - * +/** + * test/demos/lsflib/src/tokenizer.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/lsflib/src/xor.c b/lsflib/src/xor.c --- a/lsflib/src/xor.c +++ b/lsflib/src/xor.c @@ -1,7 +1,6 @@ -/* - * $Id: xor.c 94 2008-04-05 01:27:30Z mbroeker $ - * $URL: http://localhost/svn/c/lsflib/trunk/src/xor.c $ - * +/** + * test/demos/lsflib/src/xor.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/max.c b/max.c --- a/max.c +++ b/max.c @@ -1,8 +1,8 @@ /** - * $Id: max.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/max.c,v $ - * + * test/demos/max.c + * Copyright (C) 2008 Markus Broeker */ + #include #include diff --git a/md5.c b/md5.c --- a/md5.c +++ b/md5.c @@ -1,6 +1,6 @@ -/* - * $Id: md5.c,v 1.2 2008-04-29 07:26:06 mbroeker Exp $ - * $Source: /development/c/demos/md5.c,v $ +/** + * test/demos/md5.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/mem2swap.c b/mem2swap.c --- a/mem2swap.c +++ b/mem2swap.c @@ -1,6 +1,6 @@ /** - * $Id: mem2swap.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Author: mbroeker $ + * test/demos/mem2swap.c + * Copyright (C) 2008 Markus Broeker * * mem2swpapc usage: mem2spap [] */ diff --git a/ncurses.c b/ncurses.c --- a/ncurses.c +++ b/ncurses.c @@ -1,14 +1,10 @@ /** - * $Id: ncurses.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/ncurses.c,v $ + * test/demos/ncurses.c + * Copyright (C) 2008 Markus Broeker * - */ - -/* * Unicode != UTF-8 * unicode with ncursesw ( wide char) * gcc $< -lncursesw -o $@ - * */ #include diff --git a/nomalloc.c b/nomalloc.c --- a/nomalloc.c +++ b/nomalloc.c @@ -1,7 +1,6 @@ /** - * $Id: nomalloc.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/nomalloc.c,v $ - * + * test/demos/nomalloc.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/numerierung.c b/numerierung.c --- a/numerierung.c +++ b/numerierung.c @@ -1,7 +1,6 @@ /** - * $Id: numerierung.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/numerierung.c,v $ - * + * test/demos/numerierung.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/parser/lexer.ll b/parser/lexer.ll --- a/parser/lexer.ll +++ b/parser/lexer.ll @@ -1,6 +1,6 @@ -/* - * $Id$ - * $URL$ +/** + * test/demos/parser/lexer.ll + * Copyright (C) 2008 Markus Broeker */ %{ diff --git a/parser/main.c b/parser/main.c --- a/parser/main.c +++ b/parser/main.c @@ -1,7 +1,6 @@ /** - * $Id: main.c 52 2008-01-10 00:19:40Z mbroeker $ - * $URL: http://localhost/svn/c/parser/trunk/main.c $ - * + * test/demos/parser/main.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/parser/parser.yy b/parser/parser.yy --- a/parser/parser.yy +++ b/parser/parser.yy @@ -1,6 +1,6 @@ -/* - * $Id$ - * $URL$ +/** + * test/demos/parser/parser.yy + * Copyright (C) 2008 Markus Broeker */ %{ diff --git a/pmc/cube.cc b/pmc/cube.cc --- a/pmc/cube.cc +++ b/pmc/cube.cc @@ -1,8 +1,6 @@ -/*** - * - * $Id: cube.cc,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $ - * $Source: /development/cpp/pmc/cube.cc,v $ - * +/** + * test/demos/pmc/cube.cc + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/pmc/include/cube.h b/pmc/include/cube.h --- a/pmc/include/cube.h +++ b/pmc/include/cube.h @@ -1,7 +1,6 @@ -/*** - * - * $Id: cube.h,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $ - * $Source: /development/cpp/pmc/include/cube.h,v $ +/** + * test/demos/pmc/include/cube.h + * Copyright (C) 2008 Markus Broeker */ #ifndef _CUBE_H diff --git a/pmc/include/object.h b/pmc/include/object.h --- a/pmc/include/object.h +++ b/pmc/include/object.h @@ -1,7 +1,6 @@ -/*** - * - * $Id: object.h,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $ - * $Source: /development/cpp/pmc/include/object.h,v $ +/** + * test/demos/pmc/include/object.h + * Copyright (C) 2008 Markus Broeker */ #ifndef OBJECT_H diff --git a/pmc/include/pmc.h b/pmc/include/pmc.h --- a/pmc/include/pmc.h +++ b/pmc/include/pmc.h @@ -1,7 +1,6 @@ -/*** - * - * $Id: pmc.h,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $ - * $Source: /development/cpp/pmc/include/pmc.h,v $ +/** + * test/demos/pmc/include/pmc.h + * Copyright (C) 2008 Markus Broeker */ #ifndef PMC_H diff --git a/pmc/main.cc b/pmc/main.cc --- a/pmc/main.cc +++ b/pmc/main.cc @@ -1,8 +1,6 @@ -/*** - * - * $Id: main.cc,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $ - * $Source: /development/cpp/pmc/main.cc,v $ - * +/** + * test/demos/pmc/main.cc + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/pmc/pmc.cc b/pmc/pmc.cc --- a/pmc/pmc.cc +++ b/pmc/pmc.cc @@ -1,8 +1,6 @@ -/*** - * - * $Id: pmc.cc,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $ - * $Source: /development/cpp/pmc/pmc.cc,v $ - * +/** + * test/demos/pmc/pmc.cc + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/pmc/sdl.cc b/pmc/sdl.cc --- a/pmc/sdl.cc +++ b/pmc/sdl.cc @@ -1,8 +1,6 @@ -/*** - * - * $Id: sdl.cc,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $ - * $Source: /development/cpp/pmc/sdl.cc,v $ - * +/** + * test/demos/pmc/sdl.cc + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/prog_limit.c b/prog_limit.c --- a/prog_limit.c +++ b/prog_limit.c @@ -1,7 +1,6 @@ /** - * $Id: prog_limit.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/mem2swap/prog_limit.c,v $ - * + * test/demos/prog_limit.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/recording.c b/recording.c --- a/recording.c +++ b/recording.c @@ -1,6 +1,6 @@ -/* - * $Id: recording.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/recording.c,v $ +/** + * test/demos/recording.c + * Copyright (C) 2008 Markus Broeker * * Program to illustrate /dev/dsp device * Records several seconds of sound, then echoes it back. diff --git a/set_limit.c b/set_limit.c --- a/set_limit.c +++ b/set_limit.c @@ -1,7 +1,6 @@ /** - * $Id: set_limit.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/mem2swap/set_limit.c,v $ - * + * test/demos/set_limit.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/signals.c b/signals.c --- a/signals.c +++ b/signals.c @@ -1,7 +1,6 @@ /** - * $Id: signals.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/signals.c,v $ - * + * test/demos/signals.c + * Copyright (C) 2008 Markus Broeker */ #ifndef _XOPEN_SOURCE @@ -22,13 +21,10 @@ { printf ("I received the SIGQUIT Signal\n"); /* - * This kills the process and subprocesses + * 0 kills every process in the current process group + * -1 kills all reachable user processes (dangerous, logout) */ - kill (-1, SIGKILL); - /* - * ^^ can not be reached - */ - exit (0); + kill (0, SIGKILL); } int main (int argc, char **argv) diff --git a/sudoku.c b/sudoku.c --- a/sudoku.c +++ b/sudoku.c @@ -1,11 +1,10 @@ -/* - * $Id: sudoku.c,v 1.3 2008-04-29 15:18:53 mbroeker Exp $ - * $Source: /development/c/demos/sudoku.c,v $ +/** + * test/demos/sudoku.c + * Copyright (C) 2008 Markus Broeker * + * Sudoku - The Game */ -/* Sudoku - The Game */ - #include #include #include diff --git a/testcase.c b/testcase.c --- a/testcase.c +++ b/testcase.c @@ -1,7 +1,6 @@ /** - * $Id: testcase.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/testcase.c,v $ - * + * test/demos/testcase.c + * Copyright (C) 2008 Markus Broeker */ #define _XOPEN_SOURCE 500 diff --git a/threads.c b/threads.c --- a/threads.c +++ b/threads.c @@ -1,6 +1,6 @@ /** - * $Id: threads.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/threads.c,v $ + * test/demos/threads.c + * Copyright (C) 2008 Markus Broeker */ #include @@ -44,4 +44,3 @@ return EXIT_SUCCESS; } - diff --git a/tokenpasting.c b/tokenpasting.c --- a/tokenpasting.c +++ b/tokenpasting.c @@ -1,8 +1,6 @@ /** - * $Id: tokenpasting.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/tokenpasting.c,v $ - * - * Description: Demonstration of the secret token concatenation mechanism + * test/demos/tokenpasting.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/tree.c b/tree.c --- a/tree.c +++ b/tree.c @@ -1,7 +1,6 @@ /** - * $Id: tree.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/tree.c,v $ - * + * test/demos/tree.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/urandom.c b/urandom.c --- a/urandom.c +++ b/urandom.c @@ -1,7 +1,6 @@ /** - * $Id: urandom.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/urandom.c,v $ - * + * test/demos/tree.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/utf8.c b/utf8.c --- a/utf8.c +++ b/utf8.c @@ -1,7 +1,6 @@ /** - * $Id: utf8.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/utf8.c,v $ - * + * test/demos/utf8.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/varargs.c b/varargs.c --- a/varargs.c +++ b/varargs.c @@ -1,7 +1,6 @@ -/* - * $Id: varargs.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/varargs.c,v $ - * +/** + * test/demos/varargs.c + * Copyright (C) 2008 Markus Broeker */ #include diff --git a/xdemo.c b/xdemo.c --- a/xdemo.c +++ b/xdemo.c @@ -1,7 +1,6 @@ /** - * $Id: xdemo.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $ - * $Source: /development/c/demos/xdemo.c,v $ - * + * test/demos/xdemo.c + * Copyright (C) 2008 Markus Broeker */ #include