source: rtems/c/src/lib/ChangeLog @ 59e73f37

4.104.114.84.95
Last change on this file since 59e73f37 was 38db58f, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 11, 2001 at 9:21:43 PM

2001-10-11 Mike Siers <mikes@…>

  • libc/termios.c: Fixed a memory leak in the termios software. Basically the tty open function was allocating an input raw buffer, an output raw buffer, and a cooked buffer that were not getting released. I have attached a patch for the latest snapshot. The patch also has a fix to ensure the tty link list is updated correctly when a tty is closed.
  • Property mode set to 100644
File size: 14.7 KB
Line 
12001-10-11      Mike Siers <mikes@poliac.com>
2
3        * libc/termios.c: Fixed a memory leak in the termios
4        software.  Basically the tty open function was allocating an input
5        raw buffer, an output raw buffer, and a cooked buffer that were
6        not getting released.  I have attached a patch for the latest
7        snapshot.  The patch also has a fix to ensure the tty link list
8        is updated correctly when a tty is closed.
9
102001-10-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11
12        * .cvsignore: Add autom4te.cache for autoconf > 2.52.
13        * configure.in: Remove.
14        * configure.ac: New file, generated from configure.in by autoupdate.
15
162001-10-10      Joel Sherrill <joel@OARcorp.com>
17
18        * libc/printk.c (printNum): Properly handle a maxwidth of 0
19        as reported by Nick Hennenfent <NICK.HENNENFENT@ROCHE.COM>.
20
212001-09-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
22
23        * include/zilog/Makefile.am: Use 'PREINSTALL_FILES ='.
24        * include/motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
25        * include/sys/Makefile.am: Use 'PREINSTALL_FILES ='.
26        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
27        * include/Makefile.am: Use 'PREINSTALL_FILES ='.
28
292001-09-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
30
31        * include/sys/Makefile.am: Use = instead of += to setup
32        NETWORKING_H_FILES and NEWLIB_H_FILES.
33
342001-09-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
35
36        * libc/Makefile.am: Revamp INCLUDES handling to make automake-1.5
37        happy.
38
392001-09-14      Eric Norum <eric.norum@usask.ca>
40
41        * libc/gxx_wrappers.c: Modifications to make gcc 3.x happy.
42
432001-08-17      Joel Sherrill <joel@OARcorp.com>
44
45        * include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX
46        is defined on GNU/Linux (RedHat 6.2 distribution).
47        * libc/unixlibc.c: Added stubs for rtems_io_register_name() and
48        rtems_io_lookup_name() so UNIX port would compile the IO manager
49        sptest that registers /dev/null.
50
512001-08-10  Radzislaw Galler  <rgaller@et.put.poznan.pl>
52
53        * score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
54        number range check and handling of interrupt priority regs to
55        conform SH2 specs.
56        * sci/sci_termios.c: New file.
57        * include/sci_termios.h: New file.
58        * include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
59        (include_sh_HEADERS): Added sci_termios.h.
60        * score/ispsh7045.c (isp): Calling an ISR with immediate argument
61        casued negative sign extension for vector numbers of 128 and
62        above. This was fixed.
63        * sci/sci.c: Cleaned initialization of SCI registers; added
64        necessary setup for new TERMIOS console cooperation
65
662001-08-16      Joel Sherrill <joel@OARcorp.com>
67
68        * libc/lseek.c: Modified after discussion with Eugeny S. Mints
69        <jack@oktet.ru> to correct the behavior.  There were two mistakes.
70        First, iop->offset was incorrectly set for SEEK_END.  Second,
71        iop->offset should be left unmodified if there are errors.
72        This modification attempts to fix both situations.
73
742001-08-16      Mike Siers <mikes@poliac.com>
75
76        * include/rtems/termiostypes.h, include/sys/ioccom.h:
77        Update of PPPD to 2.3.11 from 2.3.5 touched these files.
78
792001-08-16      Mike Siers <mikes@poliac.com>
80
81        * libc/termios.c: Fix a bug in the termios implementation in
82        the following scenario:
83          The General Terminal Interface document that me states that
84          if VMIN = 0 and VTIME = 0, then read() should return the minimum
85          of two values:
86                a) number of bytes available
87                b) number of bytes requested (I assume from the read call)
88
89          The current implementation of the fillBufferQueue() in termios.c is
90          always return 1 character with these setting values.  I know the
91          termios buffer has more than one character available and my read()
92          call is requesting 1024 bytes.
93
942001-08-09      Fernando-Ruiz Casas <correo@fernando-ruiz.com>
95
96        * libc/getgrent.c, libc/getpwent.c: the 'ls' and more related command
97        previous failed after a chroot(). (unknown user & group)
98
992001-08-03      Joel Sherrill <joel@OARcorp.com>
100
101        * libc/libio_sockets.c (rtems_bsdnet_fdToSocket): Per bug
102        report from Gene Smith <Gene.Smith@sea.siemens.com>, enhanced the
103        error checking to account for a socket being closed.
104
1052001-05-25      Joel Sherrill <joel@OARcorp.com>
106
107        * libc/base_fs.c: Deleted chmod() now that IMFS creates the
108        root node with the desired permissions.  chmod() is also not
109        supported by the miniIMFS so this is not allowable.
110
1112000-05-24      Fernando Ruiz Casas <fernando.ruiz@ctv.es>
112
113        * include/rtems/libio_.h: Added login name, uid, gid, euid, and egid
114        so they can be part of the private environment.
115
1162000-05-24      Fernando Ruiz Casas <fernando.ruiz@ctv.es>
117
118        * libc/ttyname.c (ttyname_r): Removed duplicate call to closedir().
119        * libc/getpwent.c: Create a more robust /etc/passwd and /etc/group.
120        * libc/base_fs.c: Change permissions of files and directories.  Now uses
121        octal constants.
122
1232001-05-11      Joel Sherrill <joel@OARcorp.com>
124
125        * libc/write.c: Change type of rc to match return type from
126        underlying function per report from Eric Norum.
127
1282001-04-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
129
130        * configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
131
1322001-04-24      Joel Sherrill <joel@OARcorp.com>
133
134        * libc/libio.c (rtems_libio_allocate): Make sure size and offset
135        fields are cleared on each file open.  Before this field was cleared,
136        this resulted in the value from the last time that IOP was used
137        being still in place.  Discovered by  Andrew Bythell
138        <abythell@nortelnetworks.com>.
139        * libc/open.c: Remove redundant setting of iop->offset.
140
1412001-04-20  Correo Fernando-ruiz <correo@fernando-ruiz.com>
142
143        * include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c:
144        Private environment and chroot() enhancements and fixes.  Comments:
145          + privateenv has been modified to let at chroot() to be more
146            POSIX like Sergei Organov recommended.
147          + A task owner lets that rtems_set_private_env() will be
148            called twice or more times.
149          + chroot() can be called without a previous
150            rtems_set_private_env(); (transpanrently)
151          + The second call of rtems_set_private_env() makes a internal
152            chroot("/") into global imfs_root.
153          + chroot() runs like chdir() without a previous chdir("/") with
154            the global root.
155          + The current directory can be in a wrong place like Linux and
156            many other Unices.
157
1582001-04-16      Joel Sherrill <joel@OARcorp.com>
159
160        * include/rtc.h: New file.
161        * include/Makefile.am: Updated to reflect above.
162
1632001-02-06      Joel Sherrill <joel@OARcorp.com>
164
165        * include/ioccom.h: Unreferenced and thus removed.
166
1672001-02-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
168
169        * include/zilog/Makefile.am, include/Makefile.am,
170        include/motorola/Makefile.am, include/sys/Makefile.am
171        include/rtems/Makefile.am: Apply include_*HEADERS instead of
172        H_FILES.
173
1742001-01-26      Joel Sherrill <joel@OARcorp.com>
175
176        * libc/chroot.c: Fixed naming problems.  Names were changed
177        when the code this depends on was merged.
178
1792001-01-25      Fernando Ruiz <fernando.ruiz@ctv.es>
180
181        * Alternate email is correo@fernando-ruiz.com
182        * libc/chroot.c: New file.
183        * libc/Makefile.am: Reflect above.
184
1852001-01-25      Fernando Ruiz <fernando.ruiz@ctv.es>
186
187        * Alternate email is correo@fernando-ruiz.com
188        * libc/privateenv.c: New file.
189        * include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
190        libc/unmount.c: Moved default umask, current working directory,
191        root, and links followed count into a structure "user environment"
192        that can then be treated as a unit.  This enable giving unique
193        copies of these to individual threads or collection of threads.
194
1952001-01-05      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
196
197        * configure.in: Add libc/config.h
198        * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
199        * libc/.cvsignore: Add config.h and stamp-h
200        * libc/*.c: Add config.h support.
201
2022000-12-06      Joel Sherrill <joel@OARcorp.com>
203
204        * libc/mallocfreespace.c: Name of routine is
205        rtems_region_get_information() NOT region_get_information().
206        * libc/unmount.c: Removed unused variable.
207
2082000-11-30      Joel Sherrill <joel@OARcorp.com>
209
210        * include/rtems/Makefile.am: Added termiostypes.h.
211        * libc/Makefile.am: Removed termiostypes.h.
212        * libc/termios.c: Changed include of "termiostypes.h" to
213        <rtems/termiostypes.h> since that is an RTEMS specific header file.
214
2152000-11-29      Joel Sherrill <joel@OARcorp.com>
216
217        * include/sys/ttycom.h: New file -- moved from libnetworking/sys.
218        * Makefile.am: Modified to reflect above.
219
2202000-11-28       Sergei Organov <osv@javad.ru>
221
222        * libc/getcwd.c: Ensure _closedir(dir) is called even on
223        error exit from the routine.
224
2252000-11-25  Antti P Miettinen  <antti.p.miettinen@nokia.com>
226
227        * libc/termios.c, libc/termiostypes.h: Task driver driver model
228        and line discipline support from Thomas Doerfler
229        <Thomas.Doerfler@imd-systems.de>.
230
2312000-11-20       Dmitry Kargapolov <dk@gentex.ru>
232
233        * libc/mount.c: Make sure there is space allocated for a device name
234        in the mount table entry.
235
2362000-11-17      Jennifer Averret <jennifer@OARcorp.com>
237
238        * libc/mount.c (search_mt_for_mount_point): Deleted routine.
239        * libc/mount.c (Is_node_fs_root): Replacement for above that
240        accounts for the imaginary root node being returned by the
241        filesystem evaluation routine.
242        * libc/unmount.c (unmount): Account for imaginary root node
243        being returned and improved variable names to clarify code.
244        * libc/unmount.c (file_systems_below_this_mountpoint):  Body of
245        routine replaced to account for imaginary root node being returned.
246
2472000-11-10      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
248
249        * libc/libio.c: Special treatment of O_NDELAY for Cygwin.
250
2512000-11-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
252
253        * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
254
2552000-11-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
256
257        * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
258
2592000-11-01      Joel Sherrill <joel@OARcorp.com>
260
261        * configure.in: Added include/rtems subdirectory.
262
2632000-11-01      Joel Sherrill <joel@OARcorp.com>
264
265        * include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am,
266        libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c,
267        libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c,
268        libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c,
269        libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c,
270        libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c,
271        libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c,
272        libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c,
273        libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c,
274        libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c,
275        libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c,
276        libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c,
277        libc/utime.c, libc/write.c:
278        assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
279        from libc to lib/include/rtems and now must be referenced as
280        <rtems/XXX.h>. 
281        * include/rtems/Makefile.am, include/rtems/.cvsignore: New file.
282        * include/rtems/assoc.h, include/rtems/error.h,
283        include/rtems/libcsupport.h, include/rtems/libio.h,
284        include/rtems/libio_.h: New/moved files.
285
2862000-10-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
287
288        * configure.in: Remove bogus cfg_subdirs.
289        * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
290        Switch to GNU canonicalization.
291   
2922000-10-24      Joel Sherrill <joel@OARcorp.com>
293
294        * libc/ioman.c: Moved to libfs.
295        * libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
296        * libc/base_fs.c: Removed include of imfs.h and reworded comment
297        to avoid being IMFS specific.
298        * libc/libio.h: Removed prototype of IMFS_ops since it should
299        not be in this file.
300        * libc/mount.c: Removed IMFS specific configuration information.
301        * libc/unmount.c: Removed include of imfs.h and reworded comment
302        to avoid being IMFS specific.
303
3042000-10-18      Chris Johns <ccj@acm.org>
305
306        * libfs created.
307        * libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c,
308        libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c,
309        libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c,
310        libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c,
311        libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c,
312        libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c,
313        libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c,
314        libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c,
315        libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c,
316        libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c,
317        libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c:
318        Moved to libfs/src/imfs.
319        * Makefile.am: Modified to reflect above.
320
3212000-10-18      Joel Sherrill <joel@OARcorp.com>
322
323        * libc/Makefile.am: Added mallocfreespace.c.
324        * libc/mallocfreespace.c: New file based on work by Nick Simon
325        <Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c.
326        * libc/libcsupport.h: Added prototype for malloc_free_space().
327
3282000-10-18      Joel Sherrill <joel@OARcorp.com>
329
330        * libc/fcntl.c: Do not require every filesystem to have an fcntl()
331        handler.  Most fcntl() operations can be performed with no
332        filesystem support.
333        * ChangeLog: Corrected comment.
334
3352000-09-28      Joel Sherrill <joel@OARcorp.com>
336
337        * libc/libio.h (rtems_filesystem_file_handlers_r,
338        rtems_filesystem_operations_table): Added _h to all structure
339        fields to indicate they are "handlers".
340        * libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c,
341        libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c,
342        libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c,
343        libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c,
344        libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c,
345        libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c,
346        libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c,
347        libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c:
348        Modified to reflect above name change.
349
3502000-09-22      Joel Sherrill <joel@OARcorp.com>
351
352        * libc/newlibc.c: Removed _A29K specific ifdef.
353
3542000-09-05      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
355
356        * configure.in: Cleanup comments.
357
3582000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
359
360        * libc/Makefile.am: Include compile.am
361
3622000-09-05      Joel Sherrill <joel@OARcorp.com>
363
364        * libio.c: Added O_NONBLOCK to list of flags.
365
3662000-08-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
367
368        * configure.in: Remove libcpu and libbsp
369        * Makefile.am: Remove libcpu and libbsp
370
3712000-08-25      Joel Sherrill <joel.sherrill@OARcorp.com>
372
373        * libc/fs_null_handlers.c: Added missing rmnod entry.
374
3752000-08-25      Joel Sherrill <joel.sherrill@OARcorp.com>
376
377        * libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c,
378        libc/imfs_directory.c: Fixed style issues.
379
3802000-08-11  Chris Johns <ccj@acm.org>
381
382        * libc/chmod.c: Return ENOTSUP if filesystem does not have handler.
383        * libc/eval.c: Ditto.
384        * libc/fcntl.c: Ditto.
385        * libc/fsync.c: Ditto.
386        * libc/ioctl.c: Ditto.
387        * libc/ioman.c: Ditto.
388        * libc/link.c: Ditto.
389        * libc/mknod.c: Ditto.
390        * libc/symlink.c: Ditto.
391        * libc/libio.h(rtems_filesystem_dev_major_t): New macro.
392        * libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
393        * libc/memfile.c: Deleted assert.  Added code to properly handle
394        appending to a file.
395
3962000-08-10      Joel Sherrill <joel@OARcorp.com>
397
398        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.