Displaying 3 results from an estimated 3 matches for "in_file_d".
Did you mean:
in_file
2011 Jun 28
0
[PATCH] cpio: cleanup O_BINARY usage.
..._BINARY, 0600);
+ out_file_des = open(d->header.c_name, O_CREAT | O_WRONLY, 0600);
if (out_file_des < 0) {
fprintf(stderr, "%s: open %s: %s\n",
progname, d->header.c_name, strerror(errno));
@@ -647,8 +642,7 @@ copyin_regular_file(struct new_cpio_header *file_hdr, int in_file_des)
}
/* If not linked, copy the contents of the file. */
- out_file_des = open(file_hdr->c_name,
- O_CREAT | O_WRONLY | O_BINARY, 0600);
+ out_file_des = open(file_hdr->c_name, O_CREAT | O_WRONLY, 0600);
if (out_file_des < 0) {
fprintf(stderr, "%s: open %s: %s\n&qu...
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
...*/
-int
+static int
link_to_maj_min_ino(char *file_name, int st_dev_maj, int st_dev_min, int st_ino)
{
int link_res;
@@ -457,7 +444,7 @@ link_to_maj_min_ino(char *file_name, int st_dev_maj, int st_dev_min, int st_ino)
static void copyin_regular_file(struct new_cpio_header *file_hdr,
int in_file_des);
-void warn_junk_bytes(long bytes_skipped)
+static void warn_junk_bytes(long bytes_skipped)
{
fprintf(stderr, "%s: warning: skipped %ld byte(s) of junk\n",
progname, bytes_skipped);
@@ -578,7 +565,7 @@ static void create_defered_links(struct new_cpio_header *file_hdr)
we ar...
2008 Jun 17
1
Bug#486557: cpio segfault
hello,
On Mon, 16 Jun 2008, Joey Hess wrote:
> klibc cpio segfaults extracting various cpio files. It seems to work for
> small files, but fail for larger ones, including the d-i root floppy
> image.
>
> For example:
>
> joey at kodama:/tmp/empty>wget http://people.debian.org/~joeyh/d-i/images/20080401-09:01/floppy/root.img
> joey at kodama:/tmp/empty>zcat