surf

surf browser, a WebKit based browser
git clone git://git.suckless.org/surf
Log | Files | Refs | README | LICENSE

commit 65e09f7b03659b2922e9525e5235bb3eb6368f87
parent e9d4da3030f534d1a6a6882a642de4fb12fe4941
Author: Enno Boland (tox) <tox@s01.de>
Date:   Wed, 16 Sep 2009 10:12:27 +0200

auto creation of script.js
Diffstat:
Msurf.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/surf.c b/surf.c @@ -599,6 +599,9 @@ setup(void) { name = g_build_filename(workdir, "style.css", NULL); if((tmp = g_fopen(name, "a"))); fclose(tmp); + name = g_build_filename(workdir, "script.js", NULL); + if((tmp = g_fopen(name, "a"))); + fclose(tmp); /* cookie persistance */