Show More
@@ -451,9 +451,10 b' static int runinstructions(struct cmdser' | |||||
451 | */ |
|
451 | */ | |
452 | static int isunsupported(int argc, const char *argv[]) |
|
452 | static int isunsupported(int argc, const char *argv[]) | |
453 | { |
|
453 | { | |
454 | enum { SERVE = 1, |
|
454 | enum { | |
455 | DAEMON = 2, |
|
455 | SERVE = 1, | |
456 | SERVEDAEMON = SERVE | DAEMON, |
|
456 | DAEMON = 2, | |
|
457 | SERVEDAEMON = SERVE | DAEMON, | |||
457 | }; |
|
458 | }; | |
458 | unsigned int state = 0; |
|
459 | unsigned int state = 0; | |
459 | int i; |
|
460 | int i; |
@@ -26,15 +26,16 b'' | |||||
26 | #include "procutil.h" |
|
26 | #include "procutil.h" | |
27 | #include "util.h" |
|
27 | #include "util.h" | |
28 |
|
28 | |||
29 | enum { CAP_GETENCODING = 0x0001, |
|
29 | enum { | |
30 | CAP_RUNCOMMAND = 0x0002, |
|
30 | CAP_GETENCODING = 0x0001, | |
31 | /* cHg extension: */ |
|
31 | CAP_RUNCOMMAND = 0x0002, | |
32 | CAP_ATTACHIO = 0x0100, |
|
32 | /* cHg extension: */ | |
33 |
|
|
33 | CAP_ATTACHIO = 0x0100, | |
34 | CAP_SETENV = 0x0800, |
|
34 | CAP_CHDIR = 0x0200, | |
35 |
|
|
35 | CAP_SETENV = 0x0800, | |
36 | CAP_VALIDATE = 0x2000, |
|
36 | CAP_SETUMASK2 = 0x1000, | |
37 | CAP_SETPROCNAME = 0x4000, |
|
37 | CAP_VALIDATE = 0x2000, | |
|
38 | CAP_SETPROCNAME = 0x4000, | |||
38 | }; |
|
39 | }; | |
39 |
|
40 | |||
40 | typedef struct { |
|
41 | typedef struct { |
@@ -594,8 +594,8 b' def has_pylint():' | |||||
594 | @check("clang-format", "clang-format C code formatter") |
|
594 | @check("clang-format", "clang-format C code formatter") | |
595 | def has_clang_format(): |
|
595 | def has_clang_format(): | |
596 | m = matchoutput('clang-format --version', br'clang-format version (\d+)') |
|
596 | m = matchoutput('clang-format --version', br'clang-format version (\d+)') | |
597 |
# style changed somewhere between |
|
597 | # style changed somewhere between 10.x and 11.x | |
598 |
return m and int(m.group(1)) >= |
|
598 | return m and int(m.group(1)) >= 11 | |
599 |
|
599 | |||
600 |
|
600 | |||
601 | @check("jshint", "JSHint static code analysis tool") |
|
601 | @check("jshint", "JSHint static code analysis tool") |
General Comments 0
You need to be logged in to leave comments.
Login now