From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20535 invoked by alias); 5 Nov 2005 19:44:05 -0000 Mailing-List: contact ecos-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: , Sender: ecos-cvs-owner@sourceware.org List-Subscribe: Received: (qmail 20522 invoked by uid 9341); 5 Nov 2005 19:44:04 -0000 Date: Sat, 05 Nov 2005 19:44:00 -0000 Message-ID: <20051105194404.20520.qmail@sourceware.org> From: asl@sourceware.org To: ecos-cvs@ecos.sourceware.org Subject: ecos/packages/hal/synth/arch/current/tests ftok.c X-SW-Source: 2005/txt/msg00316.txt.bz2 List-Id: CVSROOT: /cvs/ecos Module name: ecos Changes by: asl@sourceware.org 2005-11-05 19:44:04 Added files: packages/hal/synth/arch/current/tests: ftok.c Log message: * include/hal_io.h (struct cyg_hal_sys_old_stat): Make the structure match the kernel version otherwise the stack gets corrupt and we die 'orribly. Added cyg_hal_sys_new_stat for when using the new?stat() calls. * src/synth_syscall.c (cyg_hal_sys_ftok): use the correct structure member names and use the newstat system call so we get values back which are compatible with glibc ftok() function. * tests/ftok.c (new): Test case for the cyg_hal_sys_ftok() function added in the previous patch.