From a0e269b6bd9d7a70148f4ccbc733df35f071ba74 Mon Sep 17 00:00:00 2001 From: "anselm@garbe.us" Date: Sat, 11 Feb 2012 10:40:32 +0100 Subject: [PATCH] applied fix from dev list and debian reviewers --- LICENSE | 3 ++- config.mk | 2 +- surf.c | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 8813b87..3558464 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,7 @@ MIT/X Consortium License -© 2009 Enno Boland +© 2011-2012 Troels Henriksen +© 2009-2011 Enno Boland Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/config.mk b/config.mk index 14e569c..e62e033 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # surf version -VERSION = 0.4.1 +VERSION = 0.5 # Customize below to fit your system diff --git a/surf.c b/surf.c index a3508bf..bff621b 100644 --- a/surf.c +++ b/surf.c @@ -127,7 +127,7 @@ buildpath(const char *path) { apath = g_strconcat(g_get_home_dir(), "/", path, NULL); if((p = strrchr(apath, '/'))) { *p = '\0'; - g_mkdir_with_parents(apath, 0755); + g_mkdir_with_parents(apath, 0700); *p = '/'; } /* creating file (gives error when apath ends with "/") */ @@ -867,7 +867,7 @@ main(int argc, char *argv[]) { showxid = TRUE; break; case 'v': - die("surf-"VERSION", © 2009 surf engineers, see LICENSE for details\n"); + die("surf-"VERSION", ©2009-2012 surf engineers, see LICENSE for details\n"); default: usage(); }