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

libdpkg: Rename database module to pkg-db

This matches the namespace for the provided functions, and disambiguates
what kind of database it's refering to.
Guillem Jover лет назад: 15
Родитель
Сommit
ced5ec0272
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      lib/dpkg/Makefile.am
  2. 1 1
      lib/dpkg/database.c

+ 1 - 1
lib/dpkg/Makefile.am

@@ -28,7 +28,6 @@ libdpkg_a_SOURCES = \
 	cleanup.c \
 	cleanup.c \
 	command.c \
 	command.c \
 	compress.c \
 	compress.c \
-	database.c \
 	dbmodify.c \
 	dbmodify.c \
 	debug.c \
 	debug.c \
 	dir.c \
 	dir.c \
@@ -49,6 +48,7 @@ libdpkg_a_SOURCES = \
 	parsehelp.c \
 	parsehelp.c \
 	path.c \
 	path.c \
 	pkg.c \
 	pkg.c \
+	pkg-db.c \
 	pkg-array.c \
 	pkg-array.c \
 	pkg-format.c \
 	pkg-format.c \
 	pkg-list.c \
 	pkg-list.c \

+ 1 - 1
lib/dpkg/database.c

@@ -1,6 +1,6 @@
 /*
 /*
  * libdpkg - Debian packaging suite library routines
  * libdpkg - Debian packaging suite library routines
- * dpkg-db.h - Low level package database routines (hash tables, etc.)
+ * pkg-db.c - Low level package database routines (hash tables, etc.)
  *
  *
  * Copyright © 1995 Ian Jackson <ian@chiark.greenend.org.uk>
  * Copyright © 1995 Ian Jackson <ian@chiark.greenend.org.uk>
  *
  *