sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 11f60b6bcfc1732c2ae5b446bd92038f0b528dcf
parent 88253040e8a3ed0be20f12f00a6900b18e7eff75
Author: anselm@garbe.us <unknown>
Date:   Thu,  9 Feb 2012 21:28:12 +0100

and yet another cleanup
Diffstat:
Dsuckless.org/bugs.md | 27---------------------------
Asuckless.org/hacking.md | 57+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dsuckless.org/patches.md | 28----------------------------
3 files changed, 57 insertions(+), 55 deletions(-)

diff --git a/suckless.org/bugs.md b/suckless.org/bugs.md @@ -1,27 +0,0 @@ -BUGS -==== - -Debugging ---------- -If you find any crashes, please send a full backtrace to the dedicated mailing list. -You can create backtraces with `gdb`: - -Before starting a program, you may have to allow core file creation. It is -recommended that you put this in your profile: - - $ ulimit -c unlimited - -Then start the program as usual. - -After the program crashes, do the following: - - $ gdb --quiet `which program` /path/to/core - gdb> bt full - -If you encounter freezes (no crash at all) of the program, you can debug as follows: - - $ gdb --quiet `which program` --attach `pgrep -o program` - gdb> bt full - -Send the output of that command to the mailing list along with the output of -`program -v`! Thank you! diff --git a/suckless.org/hacking.md b/suckless.org/hacking.md @@ -0,0 +1,57 @@ +Hacking +======= + +Debugging +--------- +If you find any crashes, please send a full backtrace to the dedicated mailing list. +You can create backtraces with `gdb`: + +Before starting a program, you may have to allow core file creation. It is +recommended that you put this in your profile: + + $ ulimit -c unlimited + +Then start the program as usual. + +After the program crashes, do the following: + + $ gdb --quiet `which program` /path/to/core + gdb> bt full + +If you encounter freezes (no crash at all) of the program, you can debug as follows: + + $ gdb --quiet `which program` --attach `pgrep -o program` + gdb> bt full + +Send the output of that command to the mailing list along with the output of +`program -v`! Thank you! + + +Patches +------- + +diff generation +--------------- +For mercurial users: + + cd program-directory + hg diff > program-X.Y-yourpatchname.diff + +For tarballs: + + cd modified-program-directory/.. + diff -up original-program-directory modified-program-directory > program-X.Y-yourpatchname.diff + +where `X.Y` is a dwm tag name or version number. + +patch program +------------- +For mercurial users: + + cd program-directory + hg patch path/to/patch.diff + +For tarballs: + + cd program-directory + patch -p1 < path/to/patch.diff diff --git a/suckless.org/patches.md b/suckless.org/patches.md @@ -1,28 +0,0 @@ -PATCHES -======= - -diff generation ---------------- -For mercurial users: - - cd program-directory - hg diff > program-X.Y-yourpatchname.diff - -For tarballs: - - cd modified-program-directory/.. - diff -up original-program-directory modified-program-directory > program-X.Y-yourpatchname.diff - -where `X.Y` is a dwm tag name or version number. - -patch program -------------- -For mercurial users: - - cd program-directory - hg patch path/to/patch.diff - -For tarballs: - - cd program-directory - patch -p1 < path/to/patch.diff