Skip to content

Commit c6e64a2

Browse files
committed
Synchronize git hooks
lab0-c [1] indeed provides an effective collection for Git hooks, which prevent students from wring something unpleasant. This patch introduces recent changes from lab0-c. [1] https://github.com/sysprog21/lab0-c
1 parent 181213b commit c6e64a2

File tree

6 files changed

+630
-2
lines changed

6 files changed

+630
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
KDIR=/lib/modules/$(shell uname -r)/build
22

3-
TARGET = khttpd
43
obj-m += khttpd.o
54
khttpd-objs := \
65
http_parser.o \
76
http_server.o \
87
main.o
98

10-
all: http_parser.c
9+
GIT_HOOKS := .git/hooks/applied
10+
all: $(GIT_HOOKS) http_parser.c
1111
make -C $(KDIR) M=$(PWD) modules
1212

13+
$(GIT_HOOKS):
14+
@scripts/install-git-hooks
15+
@echo
16+
1317
clean:
1418
make -C $(KDIR) M=$(PWD) clean
1519

scripts/aspell-pws

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
personal_ws-1.1 en 500
2+
usr
3+
lib
4+
sbin
5+
env
6+
bash
7+
etc
8+
var
9+
dudect
10+
runtime
11+
todo
12+
fixme
13+
hotfix
14+
qtest
15+
vscode
16+
sanitizer
17+
unix
18+
linux
19+
valgrind
20+
ubuntu
21+
gdb
22+
sdk
23+
aspell
24+
cppcheck
25+
glibc
26+
git
27+
pre
28+
gcc
29+
clang
30+
enqueue
31+
dequeue
32+
fifo
33+
lifo
34+
stdin
35+
stdout
36+
stderr
37+
strdup
38+
strcmp
39+
strcasecmp
40+
snprintf
41+
sprintf
42+
strcat
43+
strchr
44+
strcmp
45+
strcoll
46+
strcpy
47+
strcspn
48+
strerror
49+
strlen
50+
strncasecmp
51+
strncat
52+
strncmp
53+
strncpy
54+
strpbrk
55+
strrchr
56+
strspn
57+
strstr
58+
strtod
59+
strtof
60+
strtok
61+
strtol
62+
strtold
63+
strtoul
64+
atexit
65+
atof
66+
atoi
67+
atol
68+
bsearch
69+
calloc
70+
fclose
71+
fdopen
72+
feof
73+
ferror
74+
fflush
75+
fgetc
76+
fgetpos
77+
fgets
78+
fileno
79+
fopen
80+
fprintf
81+
fputc
82+
fputs
83+
fread
84+
freopen
85+
fscanf
86+
fseek
87+
fsetpos
88+
ftell
89+
fwrite
90+
getc
91+
getchar
92+
getenv
93+
gets
94+
isalnum
95+
isalpha
96+
isascii
97+
iscntrl
98+
isdigit
99+
isgraph
100+
islower
101+
isprint
102+
ispunct
103+
isspace
104+
isupper
105+
longjmp
106+
memchr
107+
memcmp
108+
memcpy
109+
memmove
110+
memset
111+
printf
112+
putc
113+
putchar
114+
putenv
115+
puts
116+
qsort
117+
rand
118+
realloc
119+
regcomp
120+
regerror
121+
regexec
122+
regfree
123+
rewind
124+
scanf
125+
setbuf
126+
setjmp
127+
signal
128+
srand
129+
sscanf
130+
macOS
131+
Fibonacci
132+
fib
133+
pow
134+
Binet
135+
Vorobev
136+
GMP
137+
MPFR
138+
mutex
139+
trylock
140+
unlock
141+
lseek
142+
llseek
143+
cdev
144+
inode
145+
sysfs
146+
printk
147+
clz
148+
ctz
149+
popcount
150+
fops
151+
init
152+
alloc
153+
ktime
154+
getres
155+
gettime
156+
settime
157+
ns
158+
timespec
159+
timeval
160+
NaN
161+
livepatch
162+
MathEx
163+
vec
164+
expr
165+
httpd
166+
daemon

0 commit comments

Comments
 (0)