Displaying 1 result from an estimated 1 matches for "cpio_mkfil".
Did you mean:
cpio_mkfile
2003 May 22
0
[PATCH 2.5.69 3/3] Bandaids for gen_init_cpio and initramfs
...++ b/usr/gen_init_cpio.c Thu May 22 15:40:19 2003
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
@@ -138,8 +139,7 @@
push_rest(name);
}
-/* Not marked static to keep the compiler quiet, as no one uses this yet... */
-void cpio_mkfile(const char *filename, const char *location,
+static void cpio_mkfile(const char *filename, const char *location,
unsigned int mode, uid_t uid, gid_t gid)
{
char s[256];
@@ -201,7 +201,7 @@
free(filebuf);
push_pad();
return;
-
+
error_free:
free(filebuf);
error_close:
@@ -212,9 +2...