Skip to contentSkip to conversation

shared-du: add the rbtree source and header file to lib v4

PATCH New Jie Liu 1 participant 3 messages Sep 20, 2010 OCFS2

lore
Share & tools
lore

Jie Liu

author
#0 lore raw

PATCH 1/3 shared-du: add the rbtree source and header file to lib v4

* lib/rbtree.c: Source file of rbtree.
* lib/rbtree.h: Header file of rbtree.
* lib/Makefile.am (libcoreutils_a_SOURCES): Add both of them.

---
 coreutils-6.9/lib/Makefile.am |    3 +-
 coreutils-6.9/lib/Makefile.in |    4 +-
 coreutils-6.9/lib/rbtree.c    |  403 +++++++++++++++++++++++++++++++++++++++++
 coreutils-6.9/lib/rbtree.h    |  143 +++++++++++++++
 4 files changed, 550 insertions(+), 3 deletions(-)
 create mode 100644 coreutils-6.9/lib/rbtree.c
 create mode 100644 coreutils-6.9/lib/rbtree.h
coreutils-6.9/lib/Makefile.am +2 -1
index cfa22be..6e22f65 100644
@@ -26,7 +26,8 @@ LDADD = $(noinst_LIBRARIES)
 
 libcoreutils_a_SOURCES += \
   buffer-lcm.c buffer-lcm.h \
-  xmemxfrm.c xmemxfrm.h
+  xmemxfrm.c xmemxfrm.h \
+  rbtree.c rbtree.h
 
 libcoreutils_a_LIBADD += $(LIBOBJS)
 libcoreutils_a_DEPENDENCIES += $(LIBOBJS)
coreutils-6.9/lib/Makefile.in +2 -2
index 772d8f3..29a81c0 100644
@@ -213,7 +213,7 @@ am_libcoreutils_a_OBJECTS = allocsa.$(OBJEXT) base64.$(OBJEXT) \
 	xalloc-die.$(OBJEXT) xgethostname.$(OBJEXT) xmemcoll.$(OBJEXT) \
 	xreadlink.$(OBJEXT) xreadlink-with-size.$(OBJEXT) \
 	xstrndup.$(OBJEXT) xstrtoimax.$(OBJEXT) xstrtoumax.$(OBJEXT) \
-	buffer-lcm.$(OBJEXT) xmemxfrm.$(OBJEXT)
+	buffer-lcm.$(OBJEXT) xmemxfrm.$(OBJEXT) rbtree.$(OBJEXT)
 libcoreutils_a_OBJECTS = $(am_libcoreutils_a_OBJECTS)
 LTLIBRARIES = $(noinst_LTLIBRARIES)
 PROGRAMS = $(noinst_PROGRAMS)
@@ -643,7 +643,7 @@ libcoreutils_a_SOURCES = allocsa.h allocsa.c base64.h base64.c \
 	xgethostname.h xgethostname.c xmemcoll.h xmemcoll.c \
 	xreadlink.c xreadlink-with-size.c xstrndup.h xstrndup.c \
 	xstrtoimax.c xstrtoumax.c buffer-lcm.c buffer-lcm.h xmemxfrm.c \
-	xmemxfrm.h
+	xmemxfrm.h rbtree.c rbtree.h
 libcoreutils_a_LIBADD = $(gl_LIBOBJS) @ALLOCA@ $(LIBOBJS)
 libcoreutils_a_DEPENDENCIES = $(gl_LIBOBJS) @ALLOCA@ $(LIBOBJS)
 EXTRA_libcoreutils_a_SOURCES = acl.c acl_entries.c file-has-acl.c \
coreutils-6.9/lib/rbtree.c new file +403 -0

403 lines not on this page · raw message

coreutils-6.9/lib/rbtree.h new file +143 -0

143 lines not on this page · raw message

Signature · 1 line
1.5.4.3
author
#1 lore raw

PATCH 2/3 build: distribute new file, fiemap.h v4

* src/Makefile.am (noinst_HEADERS): Add fiemap.h.

---
 coreutils-6.9/src/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
coreutils-6.9/src/Makefile.am +2 -1
index 863a32b..af132e1 100644
@@ -43,7 +43,8 @@ noinst_HEADERS = \
   remove.h \
   system.h \
   wheel-size.h \
-  wheel.h
+  wheel.h \
+  fiemap.h
 
 EXTRA_DIST = dcgen dircolors.hin tac-pipe.c \
   groups.sh wheel-gen.pl extract-magic c99-to-c89.diff
Signature · 1 line
1.5.4.3
author
#2 lore raw

PATCH 2/3 build: distribute new file, fiemap.h v4

Sorry, please ignore these patches, I will send out another one.

-Jeff

Quoted 21 lines · Jie Liu

* src/Makefile.am (noinst_HEADERS): Add fiemap.h.

---
 coreutils-6.9/src/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
coreutils-6.9/src/Makefile.am +2 -1
index 863a32b..af132e1 100644
@@ -43,7 +43,8 @@ noinst_HEADERS = \
   remove.h \
   system.h \
   wheel-size.h \
-  wheel.h
+  wheel.h \
+  fiemap.h
 
 EXTRA_DIST = dcgen dircolors.hin tac-pipe.c \
   groups.sh wheel-gen.pl extract-magic c99-to-c89.diff