Commits on Source (22)
-
Thomas Lake authoredd32634c2
-
Andrew Price authored
Experiment: success Conclusion: no
1be3f67d -
Andrew Price authored
Various cleanups and simplifications of the makefiles, plus: - an additional 'make RELEASE_BUILD=1' mode which switches on optimisation and -D_FORTIFY_SOURCE=2, and switches off -Werror - Use RELEASE_BUILD=1 in rpm and deb packaging - Build with PIE and full RELRO by default - Add CFLAGS_APPEND to append options instead of overriding CFLAGS
c73d5b10 -
Andrew Price authoreda56ce40d
-
Andrew Price authored
And fix some issues it complains about. Also tweak one issue found by adding -Wmissing-field-initializers temporarily (that warning is too fussy to enable by default).
769ee045 -
884eb210
-
Andrew Price authored
It's a bit stream-of-consciousness at the moment but I hope it will be useful to help people get started.
52dd8a34 -
Andrew Price authoredd3854192
-
Andrew Price authored
Use -MF to make gcc output the autogenerated rules into dotfiles so that they don't clutter up listings.
cbde0b13 -
Andrew Price authored
I don't believe this stuff is used any more and it's confusing to have a web/ directory and a webclient/ directory.
fbbe2ceb -
Andrew Price authored
When ipc_check() attempts to reconnect it passes ipc_parent as the target to connect to. ipc_connect() then reconnects and frees ipc_parent and sets it to strdup(target). When target is equal to ipc_parent this means we're strduping a freed pointer and reconnecting a second time (or using ipc_parent anywhere subsequently) will fail. Add a check to make sure they're not pointing to the same thing.
fc0e051a -
Andrew Price authoredb90c91d7
-
Andrew Price authored
js.c:17:32: error: option ‘-Winvalid-offsetof’ is valid for C++/ObjC++ but not for C [-Werror=pragmas] #pragma GCC diagnostic ignored "-Winvalid-offsetof" ^~~~~~~~~~~~~~~~~~~~ js.c:21:32: error: option ‘-Winvalid-offsetof’ is valid for C++/ObjC++ but not for C [-Werror=pragmas] #pragma GCC diagnostic warning "-Winvalid-offsetof" ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ../../Makefile.common:104: recipe for target 'js.o' failed
ec8ad16a -
Andrew Price authored
New in gcc 6: comms.c: In function ‘json_escape’: comms.c:337:8: error: this ‘else’ clause does not guard... [-Werror=misleading-indentation] }else ^~~~ comms.c:338:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’ mws_add(line, "%c", *in); break; ^~~~~ cc1: all warnings being treated as errors
9198dd40 -
Justin Mitchell authored
with -fpie. Update the credits a little
d595ac3e -
Andrew Price authoredb5e4e25c
-
Andrew Price authored4e0e1f5c
-
Justin Mitchell authored3c0776b5
-
c50893d8
-
Justin Mitchell authored63b0a8c0
-
Justin Mitchell authored
Needed the server to send an error response instead of immediately closing, and wait for it to be sent. also needed certain parts of the client shutdown proceedure tonot cleanup/free things that hadnt yet been initialised.
9bf105a1 -
Andrew Price authored
Makefile.common uses it to find the mw.rev file
f77c5ea7
HACKING
0 → 100644