Browse code

Add support for dirent->d_type.

It turns out that a certain TLS frontend, the name of which starts with "Hit"
and ends with "ch", leverages dirent->d_type without handling DT_UNKNOWN...

Xavier G authored on 05/04/2020 21:52:52
Showing 1 changed files
... ...
@@ -1,8 +1,12 @@
1 1
 # Not exactly an advanceed Makefile...
2 2
 
3 3
 PREFIX = /usr/local
4
+CC = gcc
4 5
 
5 6
 all:
6 7
 
8
+readdir: readdir.c
9
+	$(CC) readdir.c -o readdir
10
+
7 11
 install: combinedfs.py
8 12
 	install -C combinedfs.py "$(PREFIX)/sbin/combinedfs"
Browse code

Add Makefile.

Xavier G authored on 05/04/2020 19:58:51
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,8 @@
1
+# Not exactly an advanceed Makefile...
2
+
3
+PREFIX = /usr/local
4
+
5
+all:
6
+
7
+install: combinedfs.py
8
+	install -C combinedfs.py "$(PREFIX)/sbin/combinedfs"