Просмотр исходного кода

libdpkg: Rename TarExtractor to tar_extractor

Guillem Jover лет назад: 16
Родитель
Сommit
15cf1342b8
5 измененных файлов с 5 добавлено и 5 удалено
  1. 1 1
      lib/dpkg/libdpkg.Versions
  2. 1 1
      lib/dpkg/tarfn.c
  3. 1 1
      lib/dpkg/tarfn.h
  4. 1 1
      src/archives.c
  5. 1 1
      src/processarc.c

+ 1 - 1
lib/dpkg/libdpkg.Versions

@@ -136,7 +136,7 @@ LIBDPKG_PRIVATE {
 	progress_done;
 
 	# Tar support
-	TarExtractor;
+	tar_extractor;
 
 	# Non-freeing malloc (pool/arena)
 	nfmalloc;

+ 1 - 1
lib/dpkg/tarfn.c

@@ -179,7 +179,7 @@ struct symlinkList {
 };
 
 int
-TarExtractor(void *ctx, const struct tar_operations *ops)
+tar_extractor(void *ctx, const struct tar_operations *ops)
 {
 	int status;
 	char buffer[TARBLKSZ];

+ 1 - 1
lib/dpkg/tarfn.h

@@ -74,6 +74,6 @@ struct tar_operations {
 	tar_func mknod;
 };
 
-int TarExtractor(void *ctx, const struct tar_operations *ops);
+int tar_extractor(void *ctx, const struct tar_operations *ops);
 
 #endif

+ 1 - 1
src/archives.c

@@ -415,7 +415,7 @@ tarobject(void *ctx, struct TarInfo *ti)
 
   /* Append to list of files.
    * The trailing / put on the end of names in tarfiles has already
-   * been stripped by TarExtractor (lib/tarfn.c).
+   * been stripped by tar_extractor (lib/tarfn.c).
    */
   oldnifd= tc->newfilesp;
   nifd= addfiletolist(tc, findnamenode(ti->name, 0));

+ 1 - 1
src/processarc.c

@@ -630,7 +630,7 @@ void process_archive(const char *filename) {
   tc.pkg= pkg;
   tc.backendpipe= p1[0];
 
-  r= TarExtractor((void*)&tc, &tf);
+  r = tar_extractor(&tc, &tf);
   if (r) {
     if (errno) {
       ohshite(_("error reading dpkg-deb tar output"));