[Lsb-messages] /var/www/bzr/lsb/devel/misc-test r2325: libffi fixes (bug 3548)

Mats Wichmann mats at linuxfoundation.org
Tue Oct 30 13:42:30 UTC 2012


------------------------------------------------------------
revno: 2325
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: misc-test
timestamp: Tue 2012-10-30 07:42:30 -0600
message:
  libffi fixes (bug 3548)
removed:
  dynchk/tests/struct/validate_struct_ffi_cif.c
  dynchk/tests/struct/validate_struct_ffi_closure.c
  dynchk/tests/struct/validate_struct_ffi_java_raw_closure.c
  dynchk/tests/struct/validate_struct_ffi_raw_closure.c
modified:
  appchk/makefile
  archk/makefile
  dynchk/libs/libffi/ffi_call.c
  dynchk/libs/libffi/ffi_java_ptrarray_to_raw.c
  dynchk/libs/libffi/ffi_java_raw_call.c
  dynchk/libs/libffi/ffi_java_raw_size.c
  dynchk/libs/libffi/ffi_java_raw_to_ptrarray.c
  dynchk/libs/libffi/ffi_prep_cif.c
  dynchk/libs/libffi/ffi_prep_cif_var.c
  dynchk/libs/libffi/ffi_prep_closure.c
  dynchk/libs/libffi/ffi_prep_closure_loc.c
  dynchk/libs/libffi/ffi_prep_java_raw_closure.c
  dynchk/libs/libffi/ffi_prep_java_raw_closure_loc.c
  dynchk/libs/libffi/ffi_prep_raw_closure.c
  dynchk/libs/libffi/ffi_prep_raw_closure_loc.c
  dynchk/libs/libffi/ffi_ptrarray_to_raw.c
  dynchk/libs/libffi/ffi_raw_call.c
  dynchk/libs/libffi/ffi_raw_size.c
  dynchk/libs/libffi/ffi_raw_to_ptrarray.c
  dynchk/tests/struct.mk
  dynchk/tests/struct_tests.h
  fhschk/makefile
  package/Makefile
  pkgchk/makefile
  tetj/Makefile
-------------- next part --------------
=== modified file 'appchk/makefile'
--- a/appchk/makefile	2012-09-25 16:45:12 +0000
+++ b/appchk/makefile	2012-10-30 13:42:30 +0000
@@ -28,6 +28,8 @@
 test: appchk
 	./test_appchk
 
+gensrc:
+
 clean:
 	rm -f $(OBJS) appchk $(LIB)
 

=== modified file 'archk/makefile'
--- a/archk/makefile	2012-09-25 16:45:12 +0000
+++ b/archk/makefile	2012-10-30 13:42:30 +0000
@@ -20,6 +20,8 @@
 test: archk
 	./test_archk
 
+gensc:
+
 clean:
 	rm -f $(OBJS) archk
 

=== modified file 'dynchk/libs/libffi/ffi_call.c'
--- a/dynchk/libs/libffi/ffi_call.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_call.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_call
-static void(*funcptr) (struct ffi_cif * , void(* )(), void * , void * * ) = 0;
+static void(*funcptr) (ffi_cif * , void(* )(), void * , void * * ) = 0;
 
 extern int __lsb_check_params;
-void ffi_call (struct ffi_cif * arg0 , void(* arg1 )(), void * arg2 , void * * arg3 )
+void ffi_call (ffi_cif * arg0 , void(* arg1 )(), void * arg2 , void * * arg3 )
 {
 	int reset_flag = __lsb_check_params;
 	__lsb_output(4, "Invoking wrapper for ffi_call()");

=== modified file 'dynchk/libs/libffi/ffi_java_ptrarray_to_raw.c'
--- a/dynchk/libs/libffi/ffi_java_ptrarray_to_raw.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_java_ptrarray_to_raw.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_java_ptrarray_to_raw
-static void(*funcptr) (struct ffi_cif * , void * * , ffi_java_raw * ) = 0;
+static void(*funcptr) (ffi_cif * , void * * , ffi_java_raw * ) = 0;
 
 extern int __lsb_check_params;
-void ffi_java_ptrarray_to_raw (struct ffi_cif * arg0 , void * * arg1 , ffi_java_raw * arg2 )
+void ffi_java_ptrarray_to_raw (ffi_cif * arg0 , void * * arg1 , ffi_java_raw * arg2 )
 {
 	int reset_flag = __lsb_check_params;
 	__lsb_output(4, "Invoking wrapper for ffi_java_ptrarray_to_raw()");

=== modified file 'dynchk/libs/libffi/ffi_java_raw_call.c'
--- a/dynchk/libs/libffi/ffi_java_raw_call.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_java_raw_call.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_java_raw_call
-static void(*funcptr) (struct ffi_cif * , void(* )(), void * , ffi_java_raw * ) = 0;
+static void(*funcptr) (ffi_cif * , void(* )(), void * , ffi_java_raw * ) = 0;
 
 extern int __lsb_check_params;
-void ffi_java_raw_call (struct ffi_cif * arg0 , void(* arg1 )(), void * arg2 , ffi_java_raw * arg3 )
+void ffi_java_raw_call (ffi_cif * arg0 , void(* arg1 )(), void * arg2 , ffi_java_raw * arg3 )
 {
 	int reset_flag = __lsb_check_params;
 	__lsb_output(4, "Invoking wrapper for ffi_java_raw_call()");

=== modified file 'dynchk/libs/libffi/ffi_java_raw_size.c'
--- a/dynchk/libs/libffi/ffi_java_raw_size.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_java_raw_size.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_java_raw_size
-static size_t(*funcptr) (struct ffi_cif * ) = 0;
+static size_t(*funcptr) (ffi_cif * ) = 0;
 
 extern int __lsb_check_params;
-size_t ffi_java_raw_size (struct ffi_cif * arg0 )
+size_t ffi_java_raw_size (ffi_cif * arg0 )
 {
 	int reset_flag = __lsb_check_params;
 	size_t ret_value  ;

=== modified file 'dynchk/libs/libffi/ffi_java_raw_to_ptrarray.c'
--- a/dynchk/libs/libffi/ffi_java_raw_to_ptrarray.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_java_raw_to_ptrarray.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_java_raw_to_ptrarray
-static void(*funcptr) (struct ffi_cif * , ffi_java_raw * , void * * ) = 0;
+static void(*funcptr) (ffi_cif * , ffi_java_raw * , void * * ) = 0;
 
 extern int __lsb_check_params;
-void ffi_java_raw_to_ptrarray (struct ffi_cif * arg0 , ffi_java_raw * arg1 , void * * arg2 )
+void ffi_java_raw_to_ptrarray (ffi_cif * arg0 , ffi_java_raw * arg1 , void * * arg2 )
 {
 	int reset_flag = __lsb_check_params;
 	__lsb_output(4, "Invoking wrapper for ffi_java_raw_to_ptrarray()");

=== modified file 'dynchk/libs/libffi/ffi_prep_cif.c'
--- a/dynchk/libs/libffi/ffi_prep_cif.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_prep_cif.c	2012-10-30 13:42:30 +0000
@@ -6,10 +6,10 @@
 #include <ffi.h>
 #include <ffitarget.h>
 #undef ffi_prep_cif
-static ffi_status(*funcptr) (struct ffi_cif * , ffi_abi , unsigned int , ffi_type * , ffi_type * * ) = 0;
+static ffi_status(*funcptr) (ffi_cif * , ffi_abi , unsigned int , ffi_type * , ffi_type * * ) = 0;
 
 extern int __lsb_check_params;
-ffi_status ffi_prep_cif (struct ffi_cif * arg0 , ffi_abi arg1 , unsigned int arg2 , ffi_type * arg3 , ffi_type * * arg4 )
+ffi_status ffi_prep_cif (ffi_cif * arg0 , ffi_abi arg1 , unsigned int arg2 , ffi_type * arg3 , ffi_type * * arg4 )
 {
 	int reset_flag = __lsb_check_params;
 	ffi_status ret_value  ;

=== modified file 'dynchk/libs/libffi/ffi_prep_cif_var.c'
--- a/dynchk/libs/libffi/ffi_prep_cif_var.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_prep_cif_var.c	2012-10-30 13:42:30 +0000
@@ -6,10 +6,10 @@
 #include <ffi.h>
 #include <ffitarget.h>
 #undef ffi_prep_cif_var
-static ffi_status(*funcptr) (struct ffi_cif * , ffi_abi , unsigned int , unsigned int , ffi_type * , ffi_type * * ) = 0;
+static ffi_status(*funcptr) (ffi_cif * , ffi_abi , unsigned int , unsigned int , ffi_type * , ffi_type * * ) = 0;
 
 extern int __lsb_check_params;
-ffi_status ffi_prep_cif_var (struct ffi_cif * arg0 , ffi_abi arg1 , unsigned int arg2 , unsigned int arg3 , ffi_type * arg4 , ffi_type * * arg5 )
+ffi_status ffi_prep_cif_var (ffi_cif * arg0 , ffi_abi arg1 , unsigned int arg2 , unsigned int arg3 , ffi_type * arg4 , ffi_type * * arg5 )
 {
 	int reset_flag = __lsb_check_params;
 	ffi_status ret_value  ;

=== modified file 'dynchk/libs/libffi/ffi_prep_closure.c'
--- a/dynchk/libs/libffi/ffi_prep_closure.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_prep_closure.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_prep_closure
-static ffi_status(*funcptr) (struct ffi_closure * , struct ffi_cif * , void(* )(struct ffi_cif *, void *, void * *, void *), void * ) = 0;
+static ffi_status(*funcptr) (ffi_closure * , ffi_cif * , void(* )(ffi_cif *, void *, void * *, void *), void * ) = 0;
 
 extern int __lsb_check_params;
-ffi_status ffi_prep_closure (struct ffi_closure * arg0 , struct ffi_cif * arg1 , void(* arg2 )(struct ffi_cif *, void *, void * *, void *), void * arg3 )
+ffi_status ffi_prep_closure (ffi_closure * arg0 , ffi_cif * arg1 , void(* arg2 )(ffi_cif *, void *, void * *, void *), void * arg3 )
 {
 	int reset_flag = __lsb_check_params;
 	ffi_status ret_value  ;

=== modified file 'dynchk/libs/libffi/ffi_prep_closure_loc.c'
--- a/dynchk/libs/libffi/ffi_prep_closure_loc.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_prep_closure_loc.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_prep_closure_loc
-static ffi_status(*funcptr) (struct ffi_closure * , struct ffi_cif * , void(* )(struct ffi_cif *, void *, void * *, void *), void * , void * ) = 0;
+static ffi_status(*funcptr) (ffi_closure * , ffi_cif * , void(* )(ffi_cif *, void *, void * *, void *), void * , void * ) = 0;
 
 extern int __lsb_check_params;
-ffi_status ffi_prep_closure_loc (struct ffi_closure * arg0 , struct ffi_cif * arg1 , void(* arg2 )(struct ffi_cif *, void *, void * *, void *), void * arg3 , void * arg4 )
+ffi_status ffi_prep_closure_loc (ffi_closure * arg0 , ffi_cif * arg1 , void(* arg2 )(ffi_cif *, void *, void * *, void *), void * arg3 , void * arg4 )
 {
 	int reset_flag = __lsb_check_params;
 	ffi_status ret_value  ;

=== modified file 'dynchk/libs/libffi/ffi_prep_java_raw_closure.c'
--- a/dynchk/libs/libffi/ffi_prep_java_raw_closure.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_prep_java_raw_closure.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_prep_java_raw_closure
-static ffi_status(*funcptr) (struct ffi_java_raw_closure * , struct ffi_cif * , void(* )(struct ffi_cif *, void *, ffi_java_raw *, void *), void * ) = 0;
+static ffi_status(*funcptr) (ffi_java_raw_closure * , ffi_cif * , void(* )(ffi_cif *, void *, ffi_java_raw *, void *), void * ) = 0;
 
 extern int __lsb_check_params;
-ffi_status ffi_prep_java_raw_closure (struct ffi_java_raw_closure * arg0 , struct ffi_cif * arg1 , void(* arg2 )(struct ffi_cif *, void *, ffi_java_raw *, void *), void * arg3 )
+ffi_status ffi_prep_java_raw_closure (ffi_java_raw_closure * arg0 , ffi_cif * arg1 , void(* arg2 )(ffi_cif *, void *, ffi_java_raw *, void *), void * arg3 )
 {
 	int reset_flag = __lsb_check_params;
 	ffi_status ret_value  ;

=== modified file 'dynchk/libs/libffi/ffi_prep_java_raw_closure_loc.c'
--- a/dynchk/libs/libffi/ffi_prep_java_raw_closure_loc.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_prep_java_raw_closure_loc.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_prep_java_raw_closure_loc
-static ffi_status(*funcptr) (struct ffi_java_raw_closure * , struct ffi_cif * , void(* )(struct ffi_cif *, void *, ffi_java_raw *, void *), void * , void * ) = 0;
+static ffi_status(*funcptr) (ffi_java_raw_closure * , ffi_cif * , void(* )(ffi_cif *, void *, ffi_java_raw *, void *), void * , void * ) = 0;
 
 extern int __lsb_check_params;
-ffi_status ffi_prep_java_raw_closure_loc (struct ffi_java_raw_closure * arg0 , struct ffi_cif * arg1 , void(* arg2 )(struct ffi_cif *, void *, ffi_java_raw *, void *), void * arg3 , void * arg4 )
+ffi_status ffi_prep_java_raw_closure_loc (ffi_java_raw_closure * arg0 , ffi_cif * arg1 , void(* arg2 )(ffi_cif *, void *, ffi_java_raw *, void *), void * arg3 , void * arg4 )
 {
 	int reset_flag = __lsb_check_params;
 	ffi_status ret_value  ;

=== modified file 'dynchk/libs/libffi/ffi_prep_raw_closure.c'
--- a/dynchk/libs/libffi/ffi_prep_raw_closure.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_prep_raw_closure.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_prep_raw_closure
-static ffi_status(*funcptr) (struct ffi_raw_closure * , struct ffi_cif * , void(* )(struct ffi_cif *, void *, union ffi_raw *, void *), void * ) = 0;
+static ffi_status(*funcptr) (ffi_raw_closure * , ffi_cif * , void(* )(ffi_cif *, void *, ffi_raw *, void *), void * ) = 0;
 
 extern int __lsb_check_params;
-ffi_status ffi_prep_raw_closure (struct ffi_raw_closure * arg0 , struct ffi_cif * arg1 , void(* arg2 )(struct ffi_cif *, void *, union ffi_raw *, void *), void * arg3 )
+ffi_status ffi_prep_raw_closure (ffi_raw_closure * arg0 , ffi_cif * arg1 , void(* arg2 )(ffi_cif *, void *, ffi_raw *, void *), void * arg3 )
 {
 	int reset_flag = __lsb_check_params;
 	ffi_status ret_value  ;

=== modified file 'dynchk/libs/libffi/ffi_prep_raw_closure_loc.c'
--- a/dynchk/libs/libffi/ffi_prep_raw_closure_loc.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_prep_raw_closure_loc.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_prep_raw_closure_loc
-static ffi_status(*funcptr) (struct ffi_raw_closure * , struct ffi_cif * , void(* )(struct ffi_cif *, void *, union ffi_raw *, void *), void * , void * ) = 0;
+static ffi_status(*funcptr) (ffi_raw_closure * , ffi_cif * , void(* )(ffi_cif *, void *, ffi_raw *, void *), void * , void * ) = 0;
 
 extern int __lsb_check_params;
-ffi_status ffi_prep_raw_closure_loc (struct ffi_raw_closure * arg0 , struct ffi_cif * arg1 , void(* arg2 )(struct ffi_cif *, void *, union ffi_raw *, void *), void * arg3 , void * arg4 )
+ffi_status ffi_prep_raw_closure_loc (ffi_raw_closure * arg0 , ffi_cif * arg1 , void(* arg2 )(ffi_cif *, void *, ffi_raw *, void *), void * arg3 , void * arg4 )
 {
 	int reset_flag = __lsb_check_params;
 	ffi_status ret_value  ;

=== modified file 'dynchk/libs/libffi/ffi_ptrarray_to_raw.c'
--- a/dynchk/libs/libffi/ffi_ptrarray_to_raw.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_ptrarray_to_raw.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_ptrarray_to_raw
-static void(*funcptr) (struct ffi_cif * , void * * , union ffi_raw * ) = 0;
+static void(*funcptr) (ffi_cif * , void * * , ffi_raw * ) = 0;
 
 extern int __lsb_check_params;
-void ffi_ptrarray_to_raw (struct ffi_cif * arg0 , void * * arg1 , union ffi_raw * arg2 )
+void ffi_ptrarray_to_raw (ffi_cif * arg0 , void * * arg1 , ffi_raw * arg2 )
 {
 	int reset_flag = __lsb_check_params;
 	__lsb_output(4, "Invoking wrapper for ffi_ptrarray_to_raw()");

=== modified file 'dynchk/libs/libffi/ffi_raw_call.c'
--- a/dynchk/libs/libffi/ffi_raw_call.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_raw_call.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_raw_call
-static void(*funcptr) (struct ffi_cif * , void(* )(), void * , union ffi_raw * ) = 0;
+static void(*funcptr) (ffi_cif * , void(* )(), void * , ffi_raw * ) = 0;
 
 extern int __lsb_check_params;
-void ffi_raw_call (struct ffi_cif * arg0 , void(* arg1 )(), void * arg2 , union ffi_raw * arg3 )
+void ffi_raw_call (ffi_cif * arg0 , void(* arg1 )(), void * arg2 , ffi_raw * arg3 )
 {
 	int reset_flag = __lsb_check_params;
 	__lsb_output(4, "Invoking wrapper for ffi_raw_call()");

=== modified file 'dynchk/libs/libffi/ffi_raw_size.c'
--- a/dynchk/libs/libffi/ffi_raw_size.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_raw_size.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_raw_size
-static size_t(*funcptr) (struct ffi_cif * ) = 0;
+static size_t(*funcptr) (ffi_cif * ) = 0;
 
 extern int __lsb_check_params;
-size_t ffi_raw_size (struct ffi_cif * arg0 )
+size_t ffi_raw_size (ffi_cif * arg0 )
 {
 	int reset_flag = __lsb_check_params;
 	size_t ret_value  ;

=== modified file 'dynchk/libs/libffi/ffi_raw_to_ptrarray.c'
--- a/dynchk/libs/libffi/ffi_raw_to_ptrarray.c	2012-10-24 17:25:41 +0000
+++ b/dynchk/libs/libffi/ffi_raw_to_ptrarray.c	2012-10-30 13:42:30 +0000
@@ -5,10 +5,10 @@
 #include "stdlib.h"
 #include <ffi.h>
 #undef ffi_raw_to_ptrarray
-static void(*funcptr) (struct ffi_cif * , union ffi_raw * , void * * ) = 0;
+static void(*funcptr) (ffi_cif * , ffi_raw * , void * * ) = 0;
 
 extern int __lsb_check_params;
-void ffi_raw_to_ptrarray (struct ffi_cif * arg0 , union ffi_raw * arg1 , void * * arg2 )
+void ffi_raw_to_ptrarray (ffi_cif * arg0 , ffi_raw * arg1 , void * * arg2 )
 {
 	int reset_flag = __lsb_check_params;
 	__lsb_output(4, "Invoking wrapper for ffi_raw_to_ptrarray()");

=== modified file 'dynchk/tests/struct.mk'
--- a/dynchk/tests/struct.mk	2012-10-26 17:46:39 +0000
+++ b/dynchk/tests/struct.mk	2012-10-30 13:42:30 +0000
@@ -76,10 +76,6 @@
 struct/validate_struct_drand48_data.o	\
 struct/validate_struct_epoll_event.o	\
 struct/validate_struct_exit_status.o	\
-struct/validate_struct_ffi_cif.o	\
-struct/validate_struct_ffi_closure.o	\
-struct/validate_struct_ffi_java_raw_closure.o	\
-struct/validate_struct_ffi_raw_closure.o	\
 struct/validate_struct_flock.o	\
 struct/validate_struct_flock64.o	\
 struct/validate_struct_group.o	\

=== removed file 'dynchk/tests/struct/validate_struct_ffi_cif.c'
--- a/dynchk/tests/struct/validate_struct_ffi_cif.c	2012-10-26 17:46:39 +0000
+++ b/dynchk/tests/struct/validate_struct_ffi_cif.c	1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
-// Code generated by gen_tests.pl
-
-#include "../type_tests.h"
-#include <ffi.h>
-
-int validate_struct_ffi_cif(struct ffi_cif  * input, char *name)
-{
-int failure = 0;
-	if(validate_NULL_TYPETYPE(input-> abi,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> nargs,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> arg_types,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> rtype,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> bytes,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> flags,name ))
-		failure = 1;
-return failure;
-}
-

=== removed file 'dynchk/tests/struct/validate_struct_ffi_closure.c'
--- a/dynchk/tests/struct/validate_struct_ffi_closure.c	2012-10-26 17:46:39 +0000
+++ b/dynchk/tests/struct/validate_struct_ffi_closure.c	1970-01-01 00:00:00 +0000
@@ -1,19 +0,0 @@
-// Code generated by gen_tests.pl
-
-#include "../type_tests.h"
-#include <ffi.h>
-
-int validate_struct_ffi_closure(struct ffi_closure  * input, char *name)
-{
-int failure = 0;
-	if(validate_NULL_TYPETYPE(input-> tramp,name ))
-		failure = 1;
-	if(validate_struct_ffi_cif(input-> cif,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> fun,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> user_data,name ))
-		failure = 1;
-return failure;
-}
-

=== removed file 'dynchk/tests/struct/validate_struct_ffi_java_raw_closure.c'
--- a/dynchk/tests/struct/validate_struct_ffi_java_raw_closure.c	2012-10-26 17:46:39 +0000
+++ b/dynchk/tests/struct/validate_struct_ffi_java_raw_closure.c	1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
-// Code generated by gen_tests.pl
-
-#include "../type_tests.h"
-#include <ffi.h>
-
-int validate_struct_ffi_java_raw_closure(struct ffi_java_raw_closure  * input, char *name)
-{
-int failure = 0;
-	if(validate_NULL_TYPETYPE(input-> tramp,name ))
-		failure = 1;
-	if(validate_struct_ffi_cif(input-> cif,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> translate_args,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> this_closure,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> fun,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> user_data,name ))
-		failure = 1;
-return failure;
-}
-

=== removed file 'dynchk/tests/struct/validate_struct_ffi_raw_closure.c'
--- a/dynchk/tests/struct/validate_struct_ffi_raw_closure.c	2012-10-26 17:46:39 +0000
+++ b/dynchk/tests/struct/validate_struct_ffi_raw_closure.c	1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
-// Code generated by gen_tests.pl
-
-#include "../type_tests.h"
-#include <ffi.h>
-
-int validate_struct_ffi_raw_closure(struct ffi_raw_closure  * input, char *name)
-{
-int failure = 0;
-	if(validate_NULL_TYPETYPE(input-> tramp,name ))
-		failure = 1;
-	if(validate_struct_ffi_cif(input-> cif,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> translate_args,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> this_closure,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> fun,name ))
-		failure = 1;
-	if(validate_NULL_TYPETYPE(input-> user_data,name ))
-		failure = 1;
-return failure;
-}
-

=== modified file 'dynchk/tests/struct_tests.h'
--- a/dynchk/tests/struct_tests.h	2012-10-26 17:46:39 +0000
+++ b/dynchk/tests/struct_tests.h	2012-10-30 13:42:30 +0000
@@ -96,10 +96,6 @@
 extern int validate_struct_drand48_data(struct drand48_data  * input, char *name);
 extern int validate_struct_epoll_event(struct epoll_event  * input, char *name);
 extern int validate_struct_exit_status(struct exit_status  * input, char *name);
-extern int validate_struct_ffi_cif(struct ffi_cif  * input, char *name);
-extern int validate_struct_ffi_closure(struct ffi_closure  * input, char *name);
-extern int validate_struct_ffi_java_raw_closure(struct ffi_java_raw_closure  * input, char *name);
-extern int validate_struct_ffi_raw_closure(struct ffi_raw_closure  * input, char *name);
 extern int validate_struct_flock(struct flock  * input, char *name);
 extern int validate_struct_flock64(struct flock64  * input, char *name);
 extern int validate_struct_group(struct group  * input, char *name);

=== modified file 'fhschk/makefile'
--- a/fhschk/makefile	2007-10-19 11:25:01 +0000
+++ b/fhschk/makefile	2012-10-30 13:42:30 +0000
@@ -16,6 +16,8 @@
 fhstest: fhspaths.c mkabs.o
 	cc -g -DTEST -o fhstest fhspaths.c mkabs.o
 
+gensrc:
+
 clean:
 	rm -f $(OBJS) $(LIB) test
 

=== modified file 'package/Makefile'
--- a/package/Makefile	2012-10-26 17:46:39 +0000
+++ b/package/Makefile	2012-10-30 13:42:30 +0000
@@ -20,7 +20,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-RPM_PACKAGE_RELEASE=5
+RPM_PACKAGE_RELEASE=6
 
 # Derive date string for daily snapshots
 ISO_DATE:=$(shell date +"%Y%m%d")

=== modified file 'pkgchk/makefile'
--- a/pkgchk/makefile	2012-09-25 16:45:12 +0000
+++ b/pkgchk/makefile	2012-10-30 13:42:30 +0000
@@ -19,6 +19,8 @@
 
 test:
 
+gensrc:
+
 clean:
 	rm -f $(OBJS) pkgchk
 

=== modified file 'tetj/Makefile'
--- a/tetj/Makefile	2009-02-27 18:35:26 +0000
+++ b/tetj/Makefile	2012-10-30 13:42:30 +0000
@@ -21,6 +21,8 @@
 	./tetj.py
 	./tetjtest.sh
 
+gensrc:
+
 clean:
 	rm -f $(OBJS) $(LIB)
 



More information about the lsb-messages mailing list