This mostly means using strchr, but I also found:
option_parser.c:load_ini_file:
- replace multiple calls to strstr with strpbrk
notification.c:notification_init:
- replace string_replace in a while loop with a single call to
string_replace_char
redo string replace all
Dunst
Description
Dunst is a highly configurable and lightweight notification daemon.
Compiling
Dunst has a number of build dependencies that must be present before attempting configuration. The names are different depending on distribution:
- dbus
- libxinerama
- libxft
- libxss
- libxdg-basedir
- glib
- pango
- cairo
On Debian and Debian-based distros you'll probably also need the *-dev packages.
To build it:
cd dunst
make
sudo make PREFIX=/usr install
Bug reports
Please use the issue tracker provided by GitHub to send us bug reports or feature requests.
Author
written by Sascha Kruse knopwob@googlemail.com
Copyright
copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information)
If you feel that copyrights are violated, please send me an email.
Description
Languages
C
95.1%
Shell
3.3%
Makefile
1.4%
Awk
0.2%