source: rtems/c/src/lib/ChangeLog @ 4b3c197f

4.104.114.84.95
Last change on this file since 4b3c197f was 4b3c197f, checked in by Joel Sherrill <joel.sherrill@…>, on 08/16/01 at 20:04:19

2001-08-16 Mike Siers <mikes@…>

  • libc/termios.c: Fix a bug in the termios implementation in the following scenario: The General Terminal Interface document that me states that if VMIN = 0 and VTIME = 0, then read() should return the minimum of two values:

a) number of bytes available
b) number of bytes requested (I assume from the read call)

The current implementation of the fillBufferQueue() in termios.c is
always return 1 character with these setting values. I know the
termios buffer has more than one character available and my read()
call is requesting 1024 bytes.

  • Property mode set to 100644
File size: 11.8 KB
Line 
12001-08-16      Mike Siers <mikes@poliac.com>
2
3        * libc/termios.c: Fix a bug in the termios implementation in
4        the following scenario:
5          The General Terminal Interface document that me states that
6          if VMIN = 0 and VTIME = 0, then read() should return the minimum
7          of two values:
8                a) number of bytes available
9                b) number of bytes requested (I assume from the read call)
10
11          The current implementation of the fillBufferQueue() in termios.c is
12          always return 1 character with these setting values.  I know the
13          termios buffer has more than one character available and my read()
14          call is requesting 1024 bytes.
15
162001-08-09      Fernando-Ruiz Casas <correo@fernando-ruiz.com>
17
18        * libc/getgrent.c, libc/getpwent.c: the 'ls' and more related command
19        previous failed after a chroot(). (unknown user & group)
20
212001-08-03      Joel Sherrill <joel@OARcorp.com>
22
23        * libc/libio_sockets.c (rtems_bsdnet_fdToSocket): Per bug
24        report from Gene Smith <Gene.Smith@sea.siemens.com>, enhanced the
25        error checking to account for a socket being closed.
26
272001-05-25      Joel Sherrill <joel@OARcorp.com>
28
29        * libc/base_fs.c: Deleted chmod() now that IMFS creates the
30        root node with the desired permissions.  chmod() is also not
31        supported by the miniIMFS so this is not allowable.
32
332000-05-24      Fernando Ruiz Casas <fernando.ruiz@ctv.es>
34
35        * include/rtems/libio_.h: Added login name, uid, gid, euid, and egid
36        so they can be part of the private environment.
37
382000-05-24      Fernando Ruiz Casas <fernando.ruiz@ctv.es>
39
40        * libc/ttyname.c (ttyname_r): Removed duplicate call to closedir().
41        * libc/getpwent.c: Create a more robust /etc/passwd and /etc/group.
42        * libc/base_fs.c: Change permissions of files and directories.  Now uses
43        octal constants.
44
452001-05-11      Joel Sherrill <joel@OARcorp.com>
46
47        * libc/write.c: Change type of rc to match return type from
48        underlying function per report from Eric Norum.
49
502001-04-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
51
52        * configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
53
542001-04-24      Joel Sherrill <joel@OARcorp.com>
55
56        * libc/libio.c (rtems_libio_allocate): Make sure size and offset
57        fields are cleared on each file open.  Before this field was cleared,
58        this resulted in the value from the last time that IOP was used
59        being still in place.  Discovered by  Andrew Bythell
60        <abythell@nortelnetworks.com>.
61        * libc/open.c: Remove redundant setting of iop->offset.
62
632001-04-20  Correo Fernando-ruiz <correo@fernando-ruiz.com>
64
65        * include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c:
66        Private environment and chroot() enhancements and fixes.  Comments:
67          + privateenv has been modified to let at chroot() to be more
68            POSIX like Sergei Organov recommended.
69          + A task owner lets that rtems_set_private_env() will be
70            called twice or more times.
71          + chroot() can be called without a previous
72            rtems_set_private_env(); (transpanrently)
73          + The second call of rtems_set_private_env() makes a internal
74            chroot("/") into global imfs_root.
75          + chroot() runs like chdir() without a previous chdir("/") with
76            the global root.
77          + The current directory can be in a wrong place like Linux and
78            many other Unices.
79
802001-04-16      Joel Sherrill <joel@OARcorp.com>
81
82        * include/rtc.h: New file.
83        * include/Makefile.am: Updated to reflect above.
84
852001-02-06      Joel Sherrill <joel@OARcorp.com>
86
87        * include/ioccom.h: Unreferenced and thus removed.
88
892001-02-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
90
91        * include/zilog/Makefile.am, include/Makefile.am,
92        include/motorola/Makefile.am, include/sys/Makefile.am
93        include/rtems/Makefile.am: Apply include_*HEADERS instead of
94        H_FILES.
95
962001-01-26      Joel Sherrill <joel@OARcorp.com>
97
98        * libc/chroot.c: Fixed naming problems.  Names were changed
99        when the code this depends on was merged.
100
1012001-01-25      Fernando Ruiz <fernando.ruiz@ctv.es>
102
103        * Alternate email is correo@fernando-ruiz.com
104        * libc/chroot.c: New file.
105        * libc/Makefile.am: Reflect above.
106
1072001-01-25      Fernando Ruiz <fernando.ruiz@ctv.es>
108
109        * Alternate email is correo@fernando-ruiz.com
110        * libc/privateenv.c: New file.
111        * include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
112        libc/unmount.c: Moved default umask, current working directory,
113        root, and links followed count into a structure "user environment"
114        that can then be treated as a unit.  This enable giving unique
115        copies of these to individual threads or collection of threads.
116
1172001-01-05      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
118
119        * configure.in: Add libc/config.h
120        * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
121        * libc/.cvsignore: Add config.h and stamp-h
122        * libc/*.c: Add config.h support.
123
1242000-12-06      Joel Sherrill <joel@OARcorp.com>
125
126        * libc/mallocfreespace.c: Name of routine is
127        rtems_region_get_information() NOT region_get_information().
128        * libc/unmount.c: Removed unused variable.
129
1302000-11-30      Joel Sherrill <joel@OARcorp.com>
131
132        * include/rtems/Makefile.am: Added termiostypes.h.
133        * libc/Makefile.am: Removed termiostypes.h.
134        * libc/termios.c: Changed include of "termiostypes.h" to
135        <rtems/termiostypes.h> since that is an RTEMS specific header file.
136
1372000-11-29      Joel Sherrill <joel@OARcorp.com>
138
139        * include/sys/ttycom.h: New file -- moved from libnetworking/sys.
140        * Makefile.am: Modified to reflect above.
141
1422000-11-28       Sergei Organov <osv@javad.ru>
143
144        * libc/getcwd.c: Ensure _closedir(dir) is called even on
145        error exit from the routine.
146
1472000-11-25  Antti P Miettinen  <antti.p.miettinen@nokia.com>
148
149        * libc/termios.c, libc/termiostypes.h: Task driver driver model
150        and line discipline support from Thomas Doerfler
151        <Thomas.Doerfler@imd-systems.de>.
152
1532000-11-20       Dmitry Kargapolov <dk@gentex.ru>
154
155        * libc/mount.c: Make sure there is space allocated for a device name
156        in the mount table entry.
157
1582000-11-17      Jennifer Averret <jennifer@OARcorp.com>
159
160        * libc/mount.c (search_mt_for_mount_point): Deleted routine.
161        * libc/mount.c (Is_node_fs_root): Replacement for above that
162        accounts for the imaginary root node being returned by the
163        filesystem evaluation routine.
164        * libc/unmount.c (unmount): Account for imaginary root node
165        being returned and improved variable names to clarify code.
166        * libc/unmount.c (file_systems_below_this_mountpoint):  Body of
167        routine replaced to account for imaginary root node being returned.
168
1692000-11-10      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
170
171        * libc/libio.c: Special treatment of O_NDELAY for Cygwin.
172
1732000-11-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
174
175        * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
176
1772000-11-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
178
179        * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
180
1812000-11-01      Joel Sherrill <joel@OARcorp.com>
182
183        * configure.in: Added include/rtems subdirectory.
184
1852000-11-01      Joel Sherrill <joel@OARcorp.com>
186
187        * include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am,
188        libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c,
189        libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c,
190        libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c,
191        libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c,
192        libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c,
193        libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c,
194        libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c,
195        libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c,
196        libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c,
197        libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c,
198        libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c,
199        libc/utime.c, libc/write.c:
200        assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
201        from libc to lib/include/rtems and now must be referenced as
202        <rtems/XXX.h>. 
203        * include/rtems/Makefile.am, include/rtems/.cvsignore: New file.
204        * include/rtems/assoc.h, include/rtems/error.h,
205        include/rtems/libcsupport.h, include/rtems/libio.h,
206        include/rtems/libio_.h: New/moved files.
207
2082000-10-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
209
210        * configure.in: Remove bogus cfg_subdirs.
211        * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
212        Switch to GNU canonicalization.
213   
2142000-10-24      Joel Sherrill <joel@OARcorp.com>
215
216        * libc/ioman.c: Moved to libfs.
217        * libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
218        * libc/base_fs.c: Removed include of imfs.h and reworded comment
219        to avoid being IMFS specific.
220        * libc/libio.h: Removed prototype of IMFS_ops since it should
221        not be in this file.
222        * libc/mount.c: Removed IMFS specific configuration information.
223        * libc/unmount.c: Removed include of imfs.h and reworded comment
224        to avoid being IMFS specific.
225
2262000-10-18      Chris Johns <ccj@acm.org>
227
228        * libfs created.
229        * libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c,
230        libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c,
231        libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c,
232        libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c,
233        libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c,
234        libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c,
235        libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c,
236        libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c,
237        libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c,
238        libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c,
239        libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c:
240        Moved to libfs/src/imfs.
241        * Makefile.am: Modified to reflect above.
242
2432000-10-18      Joel Sherrill <joel@OARcorp.com>
244
245        * libc/Makefile.am: Added mallocfreespace.c.
246        * libc/mallocfreespace.c: New file based on work by Nick Simon
247        <Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c.
248        * libc/libcsupport.h: Added prototype for malloc_free_space().
249
2502000-10-18      Joel Sherrill <joel@OARcorp.com>
251
252        * libc/fcntl.c: Do not require every filesystem to have an fcntl()
253        handler.  Most fcntl() operations can be performed with no
254        filesystem support.
255        * ChangeLog: Corrected comment.
256
2572000-09-28      Joel Sherrill <joel@OARcorp.com>
258
259        * libc/libio.h (rtems_filesystem_file_handlers_r,
260        rtems_filesystem_operations_table): Added _h to all structure
261        fields to indicate they are "handlers".
262        * libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c,
263        libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c,
264        libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c,
265        libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c,
266        libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c,
267        libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c,
268        libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c,
269        libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c:
270        Modified to reflect above name change.
271
2722000-09-22      Joel Sherrill <joel@OARcorp.com>
273
274        * libc/newlibc.c: Removed _A29K specific ifdef.
275
2762000-09-05      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
277
278        * configure.in: Cleanup comments.
279
2802000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
281
282        * libc/Makefile.am: Include compile.am
283
2842000-09-05      Joel Sherrill <joel@OARcorp.com>
285
286        * libio.c: Added O_NONBLOCK to list of flags.
287
2882000-08-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
289
290        * configure.in: Remove libcpu and libbsp
291        * Makefile.am: Remove libcpu and libbsp
292
2932000-08-25      Joel Sherrill <joel.sherrill@OARcorp.com>
294
295        * libc/fs_null_handlers.c: Added missing rmnod entry.
296
2972000-08-25      Joel Sherrill <joel.sherrill@OARcorp.com>
298
299        * libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c,
300        libc/imfs_directory.c: Fixed style issues.
301
3022000-08-11  Chris Johns <ccj@acm.org>
303
304        * libc/chmod.c: Return ENOTSUP if filesystem does not have handler.
305        * libc/eval.c: Ditto.
306        * libc/fcntl.c: Ditto.
307        * libc/fsync.c: Ditto.
308        * libc/ioctl.c: Ditto.
309        * libc/ioman.c: Ditto.
310        * libc/link.c: Ditto.
311        * libc/mknod.c: Ditto.
312        * libc/symlink.c: Ditto.
313        * libc/libio.h(rtems_filesystem_dev_major_t): New macro.
314        * libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
315        * libc/memfile.c: Deleted assert.  Added code to properly handle
316        appending to a file.
317
3182000-08-10      Joel Sherrill <joel@OARcorp.com>
319
320        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.