[dev][sbase] mkdir -p doesn't explicitly handle empty path

2013-07-11 Thread Krol, Willem van de
Hello all, If an empty path is specified with mkdir -p (for example, mkdir -p ""), strchr will read beyond the path string. The patch (attached) should fix this. Sincerely, Willem van de Krol mkdir-emptypath.patch Description: Binary data

[dev] [ii] a patch and a program

2013-07-11 Thread Markus Wichmann
Hi all, linking ii against uClibc gives a warning about it using gethostbyname(). I have modified it to use getaddrinfo(): diff --git a/ii.c b/ii.c index d93266c..117dcf5 100644 --- a/ii.c +++ b/ii.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@

Re: [dev] [ii] a patch and a program

2013-07-11 Thread Nico Golde
Hi, * Markus Wichmann [2013-07-11 22:13]: > linking ii against uClibc gives a warning about it using > gethostbyname(). I have modified it to use getaddrinfo(): Thanks, I'll look at this and probably integrate it over the weekend! Cheers Nico -- Nico Golde - XMPP: n...@jabber.ccc.de - GPG: 0xA0

Re: [dev][sbase] mkdir -p doesn't explicitly handle empty path

2013-07-11 Thread Galos, David
> If an empty path is specified with mkdir -p (for example, mkdir -p ""), > strchr will read beyond the path string. The patch (attached) should fix > this. Thanks, applied. Keep the patches coming! Dave

Re: [dev] [surf] [patch] Set cookiefile for new windows

2013-07-11 Thread Christoph Lohmann
Greetings. On Fri, 12 Jul 2013 06:52:58 +0200 Jack Murray wrote: > diff --git a/surf.c b/surf.c > index 53dda18..0f9b032 100644 > --- a/surf.c > +++ b/surf.c > @@ -865,6 +865,8 @@ newwindow(Client *c, const Arg *arg, gboolean noembed) { > cmd[i++] = "-s"; > if(showxid) >

Re: [dev] [tabbed] Don't set cmd[0] to the window ID

2013-07-11 Thread Christoph Lohmann
Greetings. On Fri, 12 Jul 2013 06:48:53 +0200 Gregor Best wrote: > Ahoy, > > the attached patch fixes a tiny issue with tabbed. When running it > without a command and having it run spawn(), it tried to execute its > window ID as a command. While most people probably don't have > executables cal