tauto creation of script.js - surf - customized build of surf, the suckless web… | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 65e09f7b03659b2922e9525e5235bb3eb6368f87 | |
parent e9d4da3030f534d1a6a6882a642de4fb12fe4941 | |
Author: Enno Boland (tox) <[email protected]> | |
Date: Wed, 16 Sep 2009 10:12:27 +0200 | |
auto creation of script.js | |
Diffstat: | |
M surf.c | 3 +++ | |
1 file changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/surf.c b/surf.c | |
t@@ -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 */ |