changelog

来自「开放源码实时操作系统源码.」· 代码 · 共 877 行 · 第 1/2 页

TXT
877
字号
2007-08-17 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

	tests/fnmatch.c (main): Fix cut/paste error in final pass/fail
	report.
	
2007-06-12  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/misc.cxx (cyg_mtab_extra): Only create the array if it has more
	than 0 entries.

2007-01-27  Andrew Lunn  <andrew.lunn@ascom.ch>

	* tests/fnmatch.c: Test case for fnmatch.

2007-01-24  Peter Korsgaard  <peter.korsgaard@barco.com>

	* cdl/fileio.cdl:
	* src/fnmatch.c:
	* include/fnmatch.h: Added fnmatch() implementation (from NetBSD).

2006-05-18  Paul Fine  <pfine@dtccom.com>

	* include/fileio.h : Added a key and a structure to extract the
	disk size and the available free space for a filesystem using
	the cyg_fs_getinfo() interface.

2006-05-17  Andy Jackson <andy@grapevinetech.co.uk>
	
	* tests/fileio1.c: Compiler warning fixes.
	* tests/testfs.c:  Compiler warning fixes.

2006-02-16  Peter Korsgaard  <jacmet@sunsite.dk>

	* src/misc.cxx (cyg_mtab_lookup): Corrected implementation for
	relative paths crossing mount points.
	* tests/fileio1.c (cyg_user_start): Add a test for the above fix.

2005-10-20  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/select.cxx: Needs sys/time.h for struct timeval.

2005-08-02  Andrew Lunn  <andrew.lunn@ascom.ch>

	* tests/socket.c (SHOW_RESULT): Add a cast to avoid compiler
	warnings about the format string not matching the parameters.
	* tests/testfs.c: rename strcmp and strcpy to mystrcmp and
	mystrcpy to avoid clashes with the normal implementations.
	
2005-05-13  Peter Korsgaard  <jacmet@sunsite.dk>

	* src/devfs.cxx (dev_stat, dev_fo_fstat): Corrected mode for block
	devices, made nlink 1.
	* src/devfs.cxx (dev_fo_fstat): Set st_dev to zero to match dev_stat.

2005-05-26  Gary Thomas  <gary@mlbassoc.com>

	* tests/socket.c: Fix config test (CYGPKG_POSIX_SIGNALS)
	
	* tests/pselect.c: Fix config test (CYGPKG_POSIX_SIGNALS is
	only defined in <pkgconf/posix.h>)  Also, reduce number of
	iterations so test completes in a reasonable time (~30 seconds).

2005-03-27  Andrew Lunn  <andrew.lunn@ascom.ch>

	* tests/testfs.c: Fixed compiler warnigs for passing wrong types
	to diag_printf.
	* tests/fileio1.c: Ditto
	* tests/select.c: Ditto


2005-02-24  Andrew Lunn  <andrew.lunn@ascom.ch>

	* include/fileio.h: Only include kapi.h when
	CYGFUN_IO_FILEIO_SELECT is enabled and then define the select
	support structures.

2005-01-27  Yoshinori Sato  <ysato@users.sourceforge.jp>

	* src/io.cxx (ioctl): Change ioctl to use varargs so that it works
	on with h8300 who's compiler does not like doing it the other way.
	
2005-01-22  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/misc.cxx (cyg_fs_root_lookup): New function to find the mount
	point of a give filesystems root directory.
	* src/fio.h:
	* include/fileio.h: Made cyg_fs_{un}lock accessible outside of the 
	fileio package.

2004-01-22  Andrew Lunn  <andrew.lunn@ascom.ch>

	* 
2004-12-15  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/select.cxx (cyg_pselect): We need the oldmask under all
	conditions.

2004-12-01  Alex Paulis and Cameron Taylor  <ctaylor@waverider.com>

	* include/fileio.h: Changed si_thread to si_waitFlag
	* src/select.cxx: Improved efficiency: 1. Only threads waiting
	on a selector are woken up in selwake. This is done by swapping
	the condition variable for an event flag and registering threads
	for wakeup in selrecord. 2. No mutex is now required. 3. Search
	through the FD mask much streamlined.
 
2004-11-17  Jani Monoses <jani@iv.ro>

	* tests/socket.c: Allow building without kernel config.
	
2004-11-14  Andrew Lunn  <andrew.lunn@ascom.ch>

	* tests/fileio1.c: Start the test using cyg_user_start so that
	it can be used without the kernel.	
	* tests/testfs.c (testfs_time): If we don't have a kernel return 0
	as the time rather than the current time.

2004-11-14  Jani Monoses <jani@iv.ro>

	* src/devfs.cxx: Removed unneeded header files so the package can
	be compiled without the kernel.

2004-10-13  David Brennan  <eCos@brennanhome.com>

	* include/fileio.h: 
	* src/file.cxx: Added support for cyg_fs_fssync,
	cyg_fs_get_attrib, and cyg_fs_set_attrib

2004-10-13  David Brennan  <eCos@brennanhome.com>

	* src/file.cxx: Added a check data ptr in LOCK_FS

2004-10-06  David Brennan  <eCos@brennanhome.com>

	* tests/pselect.c: Added check for POSIX signals while building
	the test case.
	* tests/select.c: Include sys/select.h to prevent a possible warning.
	
2004-10-01  Oyvind Harboe  <oyvind.harboe@zylin.com>

        * src/select.cxx: place the CYGBLD_ATTRIB_INIT_PRI such that it
	compiles for gcc 3.4.2 which is more picky about its placement.
	
2004-07-23 Oyvind Harboe <oyvind.harboe@zylin.com>

	* src/select.cxx: now correctly returns from select() on
	e.g. closed file pointers.

2004-04-15  Jonathan Larmour  <jifl@eCosCentric.com>

	* tests/fileio1.c: include stdio.h for rename() prototype.

2004-04-07  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/fd.cxx: Fix the assert just added. 0 is a valid fd.

2004-03-25  Sebastien Couret  <sebastien.couret@elios-informatique.fr>

	* src/fd.cxx: Added CYG_ASSERT bound checking for file descriptor
	numbers (0<fd<CYGNUM_FILEIO_NFD).

2004-03-12  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/fio.h: If no POSIX then CYG_FILEIO_DELIVER_SIGNALS
	and CYG_FILEIO_SIGMASK_SET call CYG_UNUSED_PARAM on their
	arguments to silence warnings.
	* src/file.cxx (rename): Use a throw specifier to match
	prototype.

2004-02-16  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/io.cxx (readwritev): For EWOULDBLOCK and EAGAIN return
	the number of bytes written if any have been written.

2004-01-07  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/select.cxx: No need to make pselect() dependent on
	CYGPKG_POSIX - that would depend on the arguments. Assert instead,
	and more correctly make it contingent on CYGPKG_POSIX_SIGNALS.

	* src/fio.h: Separate out signal functionality into its own separate
	test.

2003-12-21  Sandeep Kumar <sandeep@codito.com>

	* src/dir.cxx (readdir_r): Handle NULL dirp argument and return
	EBADF

2003-12-03  Dan Jakubiec  <djakubiec@yahoo.com>

	* src/select.cxx (pselect): Fixed the pselect() call to correctly
	handle NULL timeout arguments.  The previous implementation would
	cause a random timeout value to be used.

2003-11-28  David Woodhouse  <dwmw2@redhat.com>

	* include/fileio.h, include/sockio.h, src/dir.cxx, src/fd.cxx,
	src/io.cxx: Don't include kernel headers if no kernel support.

2003-10-23  Savin Zlobec  <savin@elatec.si>

	* src/io.cxx: Added cyg_fs_fsetinfo and cyg_fs_fgetinfo functions.
	
	* src/file.cxx: Added cyg_fs_setinfo and cyg_fs_getinfo functions.
	
	* include/fileio.h: Added cyg_fs_fsetinfo, cyg_fs_fgetinfo,
	cyg_fs_setinfo and cyg_fs_getinfo function prototypes.

2003-10-16  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/socket.cxx (bind): Pass a copy of the socket address so the
	stack can modify it without changing the users copy. Bug found by
	reji@codito.com.

2003-10-06  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/fio.h (CYG_FILEIO_SIGMASK_SET): Fixed a compiler warning
	about an unused variable.

2003-09-22 Eric Doenges <Eric.Doenges@DynaPel.com>
	* src/devfs.cxx: prototype of dev_fo_select now matches
	implementation
	* include/fileio.h: changed definition of cyg_fileop_select to
	return a cyg_bool instead of int to match current implementations
	* src/misc.cxx: changed cyg_fileio_seltrue() to match prototype.

2003-07-11  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/socket.cxx (socket): If there are no network stacks configured
	return EAFNOSUPPORT when opening a socket.

2003-04-11  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/socket.cxx: Give nstab_lock mutex a priority. Also it's
	local, so make static.
	Change nstab and nstab_end to cyg_nstab and cyg_nstab_end for
	cleaner namespace.
	* include/sockio.h: nstab -> cyg_nstab.
	* src/misc.cxx, src/dir.cxx, src/fio.h, src/file.cxx: Change
	fstab, fstab_end, mtab, mtab_end, cdir_dir, cdir_mtab_entry to
	have cyg_ prefix for cleaner namespace.

2003-03-20  Gary Thomas  <gary@mlbassoc.com>

	* src/devfs.cxx: Remove unnecessary checks for -EAGAIN (should
	no longer happen in lower layers).

2003-03-08  Jonathan Larmour  <jifl@eCosCentric.com>

	* tests/pselect.c (pthread_entry1): Allow for infrequent but
	occasional off by one error due to race condition when
	signalling.

2003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>

	* cdl/fileio.cdl: Add doc link.

2003-02-20  Bart Veer  <bartv@ecoscentric.com>

	* cdl/fileio.cdl: identify test binaries, not test sources

2003-01-30  Andrew Lunn  <andrew.lunn@ascom.ch>

	* cdl/fileio.cdl: Added interface CYGINT_IO_FILEIO_FS which any
	FS which FILEIO can use should implement. 

2003-01-23  Gary Thomas  <gary@mlbassoc.com>

	* src/misc.cxx (cyg_mtab_lookup): Return an error if the current
	directory is not known - happens if no file systems are mounted.

2002-11-10  Nick Garnett  <nickg@ecoscentric.com>

	* src/fio.h: Added macros to deal with signal handling. These will
	call into the POSIX package if it is present, but are null if it
	is not.

	* src/select.cxx: Renamed original select() to cyg_pselect() and
	added select() and pselect() routine from POSIX-200X to call
	it. Reorganized code a little and added calls to macros to deal
	with signal delivery and detection.

	* cdl/fileio.cdl: 
	* tests/pselect.c: New test added to verify the signal masking and
	delivery behaviour of pselect().

	* tests/select.c: Fixed up some printfs to make it a little tidier.

2002-11-03  Gary Thomas  <gthomas@ecoscentric.com>

	* src/io.cxx: 
	* cdl/fileio.cdl: Add readv()/writev() support.

2002-08-08  Nick Garnett  <nickg@calivar.demon.co.uk>

	* src/select.cxx (select): Changed mechanism for calculating
	select timeout to avoid possible race conditions between this code
	and the timer DSR.

2002-05-29  Jesper Skov  <jskov@redhat.com>

	* tests/fileio1.c: Removed strcat definition. Rely on string.h to
	provide it.

2002-05-28  Jonathan Larmour  <jlarmour@redhat.com>

	* include/limits.h (NAME_MAX): Increase default to 64.
	* cdl/fileio.cdl: Set CYGBLD_ISO_NAME_MAX_HEADER.

2002-04-11  Nick Garnett  <nickg@redhat.com>

	* doc/fileio.sgml: Added a section on writing a new
	filesystem. This probably still needs more work, but it's better
	than nothing.

2002-04-05  Nick Garnett  <nickg@redhat.com>

	* src/devfs.cxx: Changed test for EAGAIN in dev_fo_read() and
	dev_fo_write() to negate value first. 

2002-03-07  Nick Garnett  <nickg@redhat.com>

	* doc/fileio.sgml: Added this file to contain documentation on
	this package.

2002-02-04  Gary Thomas  <gthomas@redhat.com>

	* tests/socket.c (main): 
	* tests/select.c (main): sin_len field must be set.

2002-01-29  Jonathan Larmour  <jlarmour@redhat.com>

	* cdl/fileio.cdl: Actually, don't bother to build testfs.c at all.

2002-01-29  Jesper Skov  <jskov@redhat.com>

	* cdl/fileio.cdl: Added CYGPKG_FILEIO_BUILD_TESTS option and made
	building of testfs dependant on it.

2002-01-25  Jonathan Larmour  <jlarmour@redhat.com>

	* include/inode.h: New API defining a common generic inode type.
	* src/inocache.cxx: Implement the inode cache functions.
	* cdl/fileio.cdl: (Configurably) build it.

2002-01-23  David Woodhouse  <dwmw2@redhat.com>
2002-01-23  Jonathan Larmour  <jlarmour@redhat.com>

	* cdl/fileio.cdl: Remove select compilation and support to new
	CYGFUN_IO_FILEIO_SELECT option conditional on the kernel
	Ditto for DEVS and CYGPKG_IO_FILEIO_DEVFS_SUPPORT.
	Make CYGPKG_IO_FILEIO_SOCKET_SUPPORT also conditional on kernel.
	* src/fio.h: Define FILEIO_MUTEX_LOCK() and FILEIO_MUTEX_UNLOCK()
	so that code doesn't need to care whether the kernel is included or
	not.
	* src/fd.cxx: Conditionalize mutex usage throughout on CYGPKG_KERNEL,
	and FILEIO_MUTEX_LOCK()/UNLOCK().
	* src/file.cxx: Ditto.
	* src/misc.cxx: Ditto.
	(cyg_timestamp): Only use Cyg_Clock implementation if CYGPKG_KERNEL.

2002-01-23  Jonathan Larmour  <jlarmour@redhat.com>

	* src/misc.cxx: Initialize fileio_initializer at prio CYG_INIT_IO_FS
	so it happens after the devices it depends on.
	* src/file.cxx (getcwd_lock): Ditto.
	* src/select.cxx (select_mutex): ditto.
	(selwait): ditto.
	* src/fd.cxx (fdlock): ditto
	(file_lock): ditto.
	* src/dir.cxx (readdir): Use FILEIO_RETURN_VALUE on exit.
	(readdir_r): Ditto.
	* src/devfs.cxx (dev_stat): Don't use handle for st_dev - it will
	probably be truncated.

2002-01-04  Wade Jensen <Wade_Jensen@inter-tel.com>
2002-01-04  Jonathan Larmour  <jlarmour@redhat.com>

	* src/socket.cxx (recvfrom): Set msg.msg_namelen correctly for
	NULL fromlen.

2001-12-28  Gary Thomas  <gthomas@redhat.com>

	* src/io.cxx (readwrite): Add missing check for return (errors).

2001-11-29  Jonathan Larmour  <jlarmour@redhat.com>

	* src/file.cxx (chdir): Don't detach from current dir if unset.

2001-11-02  Felix Wong  <felixwong@i-technologies.cc>
2001-11-02  Jonathan Larmour  <jlarmour@redhat.com>

	* src/devfs.cxx (dev_fo_read): Support block devices.
	(dev_fo_write): Ditto.

2001-10-09  Jonathan Larmour  <jlarmour@redhat.com>

	* src/fio.h: Make cancellation point dependand on
	CYGINT_ISO_PTHREAD_IMPL from <pkgconf/isoinfra.h> really.
	* tests/select.c: Ditto.

2001-10-09  Jesper Skov  <jskov@redhat.com>

	* tests/select.c: Do NA check for posix threads.

	* src/fio.h: Make cancellation point dependant on
	CYGPKG_POSIX_PTHREAD as in the POSIX package.

2001-07-26  Jonathan Larmour  <jlarmour@redhat.com>

	* cdl/fileio.cdl: Implements select().
	* src/select.cxx: Include <sys/select.h> from isoinfra.

2001-07-19  Jonathan Larmour  <jlarmour@redhat.com>

	* src/devfs.cxx (dev_fo_read): Treat non-blocking reads returning
	EAGAIN correctly
	(dev_fo_write): Ditto for writes.

2001-06-14  Jonathan Larmour  <jlarmour@redhat.com>

	* src/fio.h (FILEIO_ENTRY): Don't use CYG_MACRO_START/END around
	tracing macros.
	Reported by Richard Panton.

2001-06-11  Jonathan Larmour  <jlarmour@redhat.com>

	* src/socket.cxx (cyg_sock_unlock): Fix cyg_file_lock->cyg_file_unlock
	thinko.

2001-03-15  Gary Thomas  <gthomas@redhat.com>

	* src/file.cxx (open): Check for required/valid open mode.

2001-03-14  Jonathan Larmour  <jlarmour@redhat.com>

	* src/misc.cxx (cyg_mtab_lookup): check valid mtab entry
	(umount): ditto.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?