From: chas w. <ch...@us...> - 2009-08-05 17:25:06
|
Update of /cvsroot/linux-atm/linux-atm/src/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1367 Modified Files: Tag: V2_5_1 Makefile.am isp.c Removed Files: Tag: V2_5_1 mkerrnos.pl Log Message: dont dynamically build the errno table. atmsigd doesnt generate anything more than the basic errnos in asm-generic/errno-base.h so this static list should be sufficient for the isp test program. Index: Makefile.am =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/test/Makefile.am,v retrieving revision 1.2.2.4 retrieving revision 1.2.2.4.2.1 diff -C2 -d -r1.2.2.4 -r1.2.2.4.2.1 *** Makefile.am 20 Apr 2005 18:12:12 -0000 1.2.2.4 --- Makefile.am 5 Aug 2009 17:24:43 -0000 1.2.2.4.2.1 *************** *** 22,36 **** isp_XTRAS = $(LDADD) isp_LDADD = $(isp_XTRAS) -lfl ! isp_DEPENDENCIES = $(isp_XTRAS) errnos.inc window_SOURCES = window.c CLEANFILES = errnos.inc ! EXTRA_DIST = ispl_y.h README.isp mkerrnos.pl ! ! isp.o: errnos.inc ! ! errnos.inc: mkerrnos.pl ! @PERL@ $(srcdir)/mkerrnos.pl </usr/include/asm/errno.h \ ! >errnos.inc || { rm -f errnos.inc; exit 1; } ! --- 22,29 ---- isp_XTRAS = $(LDADD) isp_LDADD = $(isp_XTRAS) -lfl ! isp_DEPENDENCIES = $(isp_XTRAS) window_SOURCES = window.c CLEANFILES = errnos.inc ! EXTRA_DIST = ispl_y.h README.isp Index: isp.c =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/test/isp.c,v retrieving revision 1.2 retrieving revision 1.2.4.1 diff -C2 -d -r1.2 -r1.2.4.1 *** isp.c 9 Oct 2001 22:33:08 -0000 1.2 --- isp.c 5 Aug 2009 17:24:43 -0000 1.2.4.1 *************** *** 59,63 **** int value; } table[] = { ! #include "errnos.inc" { NULL, 0 } }; --- 59,96 ---- int value; } table[] = { ! { "EPERM", EPERM }, ! { "ENOENT", ENOENT }, ! { "ESRCH", ESRCH }, ! { "EINTR", EINTR }, ! { "EIO", EIO }, ! { "ENXIO", ENXIO }, ! { "E2BIG", E2BIG }, ! { "ENOEXEC", ENOEXEC }, ! { "EBADF", EBADF }, ! { "ECHILD", ECHILD }, ! { "EAGAIN", EAGAIN }, ! { "ENOMEM", ENOMEM }, ! { "EACCES", EACCES }, ! { "EFAULT", EFAULT }, ! { "ENOTBLK", ENOTBLK }, ! { "EBUSY", EBUSY }, ! { "EEXIST", EEXIST }, ! { "EXDEV", EXDEV }, ! { "ENODEV", ENODEV }, ! { "ENOTDIR", ENOTDIR }, ! { "EISDIR", EISDIR }, ! { "EINVAL", EINVAL }, ! { "ENFILE", ENFILE }, ! { "EMFILE", EMFILE }, ! { "ENOTTY", ENOTTY }, ! { "ETXTBSY", ETXTBSY }, ! { "EFBIG", EFBIG }, ! { "ENOSPC", ENOSPC }, ! { "ESPIPE", ESPIPE }, ! { "EROFS", EROFS }, ! { "EMLINK", EMLINK }, ! { "EPIPE", EPIPE }, ! { "EDOM", EDOM }, ! { "ERANGE", ERANGE }, { NULL, 0 } }; --- mkerrnos.pl DELETED --- |