[hackers] [st][PATCH] Add total compability to the Makefiles

2015-07-15 Thread Roberto E. Vargas Caballero
With .POSIX target we get that the user without environment will execute c99. If the user has no c99, then he can source env.sh or execute build.sh. --- Makefile | 2 ++ build.sh | 8 +--- cc1/Makefile | 3 ++- cc2/Makefile | 2 ++ env.sh | 23 +++ lib/Mak

Re: [hackers] [patch][scc] fix parsing end of comment

2015-07-15 Thread Roberto E. Vargas Caballero
Hi, On Thu, Jul 16, 2015 at 12:19:45AM +0100, Dimitris Papastamos wrote: > > diff --git a/cc1/lex.c b/cc1/lex.c > > index c35e401..111c6f8 100644 > > --- a/cc1/lex.c > > +++ b/cc1/lex.c > > @@ -184,8 +184,8 @@ comment(char type) > > { > > if (type == '*') { > > while (!eof) { > >

[hackers] [scc] fix parsing end of comment || Hiltjo Posthuma

2015-07-15 Thread git
commit ede7ba5d7698410287308633d191039d7e795092 Author: Hiltjo Posthuma AuthorDate: Wed Jul 15 23:06:07 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Jul 16 07:31:42 2015 +0200 fix parsing end of comment Hi, This patch fixes parsing the end of a com

[hackers] [scc] minor fixes (whitespace and such) || Hiltjo Posthuma

2015-07-15 Thread git
commit 937a1686e98b70e427e12de8b9b635d245d7e05c Author: Hiltjo Posthuma AuthorDate: Wed Jul 15 22:22:02 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Jul 16 07:31:34 2015 +0200 minor fixes (whitespace and such) Hi, Just some minor fixes (whitespace

Re: [hackers] [patch][scc] fix parsing end of comment

2015-07-15 Thread Dimitris Papastamos
On Wed, Jul 15, 2015 at 11:06:07PM +0200, Hiltjo Posthuma wrote: > diff --git a/cc1/lex.c b/cc1/lex.c > index c35e401..111c6f8 100644 > --- a/cc1/lex.c > +++ b/cc1/lex.c > @@ -184,8 +184,8 @@ comment(char type) > { > if (type == '*') { > while (!eof) { > - w

[hackers] [patch][scc] fix parsing end of comment

2015-07-15 Thread Hiltjo Posthuma
Hi, This patch fixes parsing the end of a comment, there was a missing ; Kind regards, Hiltjo From 2dc0d42b51973d0e9106a2fd487d9f485178ac34 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 15 Jul 2015 22:34:42 +0200 Subject: [PATCH] lex: fix parsing end of comment --- cc1/lex.c | 4 ++

[hackers] [patch][scc] minor fixes (whitespace and such)

2015-07-15 Thread Hiltjo Posthuma
Hi, Just some minor fixes (whitespace and such). Kind regards, Hiltjo From c79b4339fc477e2d0212d442f38c50326e430f2a Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 15 Jul 2015 21:37:32 +0200 Subject: [PATCH] whitespace + typo fixes change exit(-1) to exit(1), just use 1 instead of EXI

[hackers] [scc] Remove inline from hash() || Roberto E. Vargas Caballero

2015-07-15 Thread git
commit 5e295214e4eddad0eb9be0b88398ed4137269694 Author: Roberto E. Vargas Caballero AuthorDate: Wed Jul 15 22:15:52 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Wed Jul 15 22:15:52 2015 +0200 Remove inline from hash() Who need it? diff --git a/cc1/symbol.c b/c

Re: [hackers] [surf] Fix ssl failure detection || Quentin Rameau

2015-07-15 Thread Markus Teich
Quentin Rameau wrote: > > I would switch the test around and check for `tlsflags` first. > > If you did that, you'd check for uninitialized tlsflags. Heyho Quentin, you are absolutely right. I assumed another context where tlsflags would be a pointer to something, but that is obviously wrong. So

[hackers] [PATCH] [scc] Default to -ansi and declare at top of block

2015-07-15 Thread Dimitris Papastamos
See attached. >From 9732116e19ad933925fa37fc1bbf603bea47dcc6 Mon Sep 17 00:00:00 2001 From: sin Date: Wed, 15 Jul 2015 19:52:21 +0100 Subject: [PATCH] Default to -ansi and declare at top of block Without -ansi, the typeof() function was throwing errors. --- cc1/Makefile | 2 +- cc1/cpp.c| 4

Re: [hackers] [surf] Fix ssl failure detection || Quentin Rameau

2015-07-15 Thread Markus Teich
g...@suckless.org wrote: > + if (webkit_web_view_get_tls_info(c->view, NULL, &tlsflags) && > + tlsflags) { Heyho, I would switch the test around and check for `tlsflags` first. It probably doesn't affect the binary, but is easier to read for humans. --Markus

[hackers] [dvtm] create in $CWD not working

2015-07-15 Thread Ross Mohn
Hi, The create() function can take a third argument in order to use the directory of the current client, sel, when it creates a new client. This command is mapped to MOD+C by default. To implement this, the function uses the /proc/ tree to find the current directory of process sel->pid. The proble

[hackers] [surf] Fix ssl failure detection || Quentin Rameau

2015-07-15 Thread git
commit 9343744a6d163409b06bd8dcd26a988ada991b76 Author: Quentin Rameau AuthorDate: Tue Jul 14 13:58:57 2015 +0200 Commit: Quentin Rameau CommitDate: Tue Jul 14 13:58:57 2015 +0200 Fix ssl failure detection Thanks to hendry for testing. diff --git a/surf.c b/surf.c index ba