Displaying 2 results from an estimated 2 matches for "real_ino".
2012 Jan 10
2
plug leaks in febootstrap
...implementation in C.
- * Copyright (C) 2009-2010 Red Hat Inc.
+ * Copyright (C) 2009-2010, 2012 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -348,6 +348,8 @@ add_link (ext2_ino_t real_ino)
p->minor = dev_minor;
p->major = dev_major;
p->real_ino = real_ino;
+ p->next = links_head;
+ links_head = p;
}
static void
--
1.7.9.rc0.13.gbee72
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...atic int xread (void *buffer, size_t size);
-static void parse_header (char *s);
-static int parse_next_entry (void);
-static void skip_to_next_header (void);
-static void read_file (void);
-static char *read_whole_body (void);
-static ext2_ino_t maybe_link (void);
-static void add_link (ext2_ino_t real_ino);
-static void clear_links (void);
-
-void
-ext2_cpio_file (const char *cpio_file)
-{
- /* Save this for error messages in xread. */
- input_file = cpio_file;
-
-#ifdef HAVE_ZLIB
- gzfp = gzopen (cpio_file, "rb");
- if (gzfp == NULL)
- error (EXIT_FAILURE, errno, "open: %s&quo...