source: rtems/c/src/lib/ChangeLog @ e56c3546

4.104.114.84.95
Last change on this file since e56c3546 was 1e4968e, checked in by Joel Sherrill <joel.sherrill@…>, on 10/26/01 at 19:22:03

2001-10-26 Joel Sherrill <joel@…>

  • libc/libio.c: Cleanup of initialization per suggestion from Eric Norum.
  • Property mode set to 100644
File size: 16.7 KB
Line 
12001-10-26      Joel Sherrill <joel@OARcorp.com>
2
3        * libc/libio.c: Cleanup of initialization per suggestion from
4        Eric Norum.
5
62001-10-25      Jennifer Averett <jennifer@OARcorp.com>
7
8        * libc/unmount.c: Primarily restructuring and clean up to address
9        procedures which did not do what their name implied.  Also addressed
10        problem situation where unmount fails and the filesystem was
11        inconsistent.  The mounted filesystem could have been left hanging.
12
132001-10-25      Jennifer Averett <jennifer@OARcorp.com>
14
15        * libc/libio.c: Initialize more fields to NULL/0 during initialiation.
16        * include/rtems/libio_.h: Fix freenode macro so it works for sockets
17        which do not have the full set of filesystem operations and are
18        initialized via something other than open().
19
202001-10-18      Till Straumann <strauman@SLAC.Stanford.EDU>
21
22        * libc/open.c, libc/close.c:  Moved freenode from open to
23          close.
24
252001-10-17      Till Straumann <strauman@SLAC.Stanford.EDU>
26               
27        * These changes were discussed and reviewed by many people but the
28        primary people were Jennifer Averett <jennifer@OARcorp.com>
29        and Eugeny Mints <jack@oktet.ru>.
30        * libc/utime.c: Add missing call to rtems_filesystem_freenode()
31        at verification that utime is supported by the filesystem.
32        * libc/link.c: Remove calls to freenode when the node was
33        not successfully allocated.
34        * libc/unmount.c: In the method file_systems_below_this_mountpoint()
35        added calls to correctly free fs_root_loc when a failure occurs.
36        * libc/open.c: Add freenode calls upon failure.
37        * libc/open.c, lib/libc/close.c: (PENDING -- NOT INCLUDED THIS TIMER)
38        Modifications the move the freenode from open() to close() (also part
39        of this patch) are pending further discussion.
40
412001-10-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
42
43        * include/zilog/Makefile.am: Remove.
44        * include/motorola/Makefile.am: Remove.
45        * include/sys/Makefile.am: Remove.
46        * include/rtems/Makefile.am: Remove.
47        * include/Makefile.am: Handle subdirs, require automake-1.5
48        * Makefile.am: Require automake-1.5.
49
502001-10-12      Joel Sherrill <joel@OARcorp.com>
51
52        * include/chain.h: Fixed typo.
53
542001-10-11      Mike Siers <mikes@poliac.com>
55
56        * libc/termios.c: Fixed a memory leak in the termios
57        software.  Basically the tty open function was allocating an input
58        raw buffer, an output raw buffer, and a cooked buffer that were
59        not getting released.  I have attached a patch for the latest
60        snapshot.  The patch also has a fix to ensure the tty link list
61        is updated correctly when a tty is closed.
62
632001-10-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
64
65        * .cvsignore: Add autom4te.cache for autoconf > 2.52.
66        * configure.in: Remove.
67        * configure.ac: New file, generated from configure.in by autoupdate.
68
692001-10-10      Joel Sherrill <joel@OARcorp.com>
70
71        * libc/printk.c (printNum): Properly handle a maxwidth of 0
72        as reported by Nick Hennenfent <NICK.HENNENFENT@ROCHE.COM>.
73
742001-09-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
75
76        * include/zilog/Makefile.am: Use 'PREINSTALL_FILES ='.
77        * include/motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
78        * include/sys/Makefile.am: Use 'PREINSTALL_FILES ='.
79        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
80        * include/Makefile.am: Use 'PREINSTALL_FILES ='.
81
822001-09-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
83
84        * include/sys/Makefile.am: Use = instead of += to setup
85        NETWORKING_H_FILES and NEWLIB_H_FILES.
86
872001-09-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
88
89        * libc/Makefile.am: Revamp INCLUDES handling to make automake-1.5
90        happy.
91
922001-09-14      Eric Norum <eric.norum@usask.ca>
93
94        * libc/gxx_wrappers.c: Modifications to make gcc 3.x happy.
95
962001-08-17      Joel Sherrill <joel@OARcorp.com>
97
98        * include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX
99        is defined on GNU/Linux (RedHat 6.2 distribution).
100        * libc/unixlibc.c: Added stubs for rtems_io_register_name() and
101        rtems_io_lookup_name() so UNIX port would compile the IO manager
102        sptest that registers /dev/null.
103
1042001-08-10  Radzislaw Galler  <rgaller@et.put.poznan.pl>
105
106        * score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
107        number range check and handling of interrupt priority regs to
108        conform SH2 specs.
109        * sci/sci_termios.c: New file.
110        * include/sci_termios.h: New file.
111        * include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
112        (include_sh_HEADERS): Added sci_termios.h.
113        * score/ispsh7045.c (isp): Calling an ISR with immediate argument
114        casued negative sign extension for vector numbers of 128 and
115        above. This was fixed.
116        * sci/sci.c: Cleaned initialization of SCI registers; added
117        necessary setup for new TERMIOS console cooperation
118
1192001-08-16      Joel Sherrill <joel@OARcorp.com>
120
121        * libc/lseek.c: Modified after discussion with Eugeny S. Mints
122        <jack@oktet.ru> to correct the behavior.  There were two mistakes.
123        First, iop->offset was incorrectly set for SEEK_END.  Second,
124        iop->offset should be left unmodified if there are errors.
125        This modification attempts to fix both situations.
126
1272001-08-16      Mike Siers <mikes@poliac.com>
128
129        * include/rtems/termiostypes.h, include/sys/ioccom.h:
130        Update of PPPD to 2.3.11 from 2.3.5 touched these files.
131
1322001-08-16      Mike Siers <mikes@poliac.com>
133
134        * libc/termios.c: Fix a bug in the termios implementation in
135        the following scenario:
136          The General Terminal Interface document that me states that
137          if VMIN = 0 and VTIME = 0, then read() should return the minimum
138          of two values:
139                a) number of bytes available
140                b) number of bytes requested (I assume from the read call)
141
142          The current implementation of the fillBufferQueue() in termios.c is
143          always return 1 character with these setting values.  I know the
144          termios buffer has more than one character available and my read()
145          call is requesting 1024 bytes.
146
1472001-08-09      Fernando-Ruiz Casas <correo@fernando-ruiz.com>
148
149        * libc/getgrent.c, libc/getpwent.c: the 'ls' and more related command
150        previous failed after a chroot(). (unknown user & group)
151
1522001-08-03      Joel Sherrill <joel@OARcorp.com>
153
154        * libc/libio_sockets.c (rtems_bsdnet_fdToSocket): Per bug
155        report from Gene Smith <Gene.Smith@sea.siemens.com>, enhanced the
156        error checking to account for a socket being closed.
157
1582001-05-25      Joel Sherrill <joel@OARcorp.com>
159
160        * libc/base_fs.c: Deleted chmod() now that IMFS creates the
161        root node with the desired permissions.  chmod() is also not
162        supported by the miniIMFS so this is not allowable.
163
1642000-05-24      Fernando Ruiz Casas <fernando.ruiz@ctv.es>
165
166        * include/rtems/libio_.h: Added login name, uid, gid, euid, and egid
167        so they can be part of the private environment.
168
1692000-05-24      Fernando Ruiz Casas <fernando.ruiz@ctv.es>
170
171        * libc/ttyname.c (ttyname_r): Removed duplicate call to closedir().
172        * libc/getpwent.c: Create a more robust /etc/passwd and /etc/group.
173        * libc/base_fs.c: Change permissions of files and directories.  Now uses
174        octal constants.
175
1762001-05-11      Joel Sherrill <joel@OARcorp.com>
177
178        * libc/write.c: Change type of rc to match return type from
179        underlying function per report from Eric Norum.
180
1812001-04-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
182
183        * configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
184
1852001-04-24      Joel Sherrill <joel@OARcorp.com>
186
187        * libc/libio.c (rtems_libio_allocate): Make sure size and offset
188        fields are cleared on each file open.  Before this field was cleared,
189        this resulted in the value from the last time that IOP was used
190        being still in place.  Discovered by  Andrew Bythell
191        <abythell@nortelnetworks.com>.
192        * libc/open.c: Remove redundant setting of iop->offset.
193
1942001-04-20  Correo Fernando-ruiz <correo@fernando-ruiz.com>
195
196        * include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c:
197        Private environment and chroot() enhancements and fixes.  Comments:
198          + privateenv has been modified to let at chroot() to be more
199            POSIX like Sergei Organov recommended.
200          + A task owner lets that rtems_set_private_env() will be
201            called twice or more times.
202          + chroot() can be called without a previous
203            rtems_set_private_env(); (transpanrently)
204          + The second call of rtems_set_private_env() makes a internal
205            chroot("/") into global imfs_root.
206          + chroot() runs like chdir() without a previous chdir("/") with
207            the global root.
208          + The current directory can be in a wrong place like Linux and
209            many other Unices.
210
2112001-04-16      Joel Sherrill <joel@OARcorp.com>
212
213        * include/rtc.h: New file.
214        * include/Makefile.am: Updated to reflect above.
215
2162001-02-06      Joel Sherrill <joel@OARcorp.com>
217
218        * include/ioccom.h: Unreferenced and thus removed.
219
2202001-02-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
221
222        * include/zilog/Makefile.am, include/Makefile.am,
223        include/motorola/Makefile.am, include/sys/Makefile.am
224        include/rtems/Makefile.am: Apply include_*HEADERS instead of
225        H_FILES.
226
2272001-01-26      Joel Sherrill <joel@OARcorp.com>
228
229        * libc/chroot.c: Fixed naming problems.  Names were changed
230        when the code this depends on was merged.
231
2322001-01-25      Fernando Ruiz <fernando.ruiz@ctv.es>
233
234        * Alternate email is correo@fernando-ruiz.com
235        * libc/chroot.c: New file.
236        * libc/Makefile.am: Reflect above.
237
2382001-01-25      Fernando Ruiz <fernando.ruiz@ctv.es>
239
240        * Alternate email is correo@fernando-ruiz.com
241        * libc/privateenv.c: New file.
242        * include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
243        libc/unmount.c: Moved default umask, current working directory,
244        root, and links followed count into a structure "user environment"
245        that can then be treated as a unit.  This enable giving unique
246        copies of these to individual threads or collection of threads.
247
2482001-01-05      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
249
250        * configure.in: Add libc/config.h
251        * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
252        * libc/.cvsignore: Add config.h and stamp-h
253        * libc/*.c: Add config.h support.
254
2552000-12-06      Joel Sherrill <joel@OARcorp.com>
256
257        * libc/mallocfreespace.c: Name of routine is
258        rtems_region_get_information() NOT region_get_information().
259        * libc/unmount.c: Removed unused variable.
260
2612000-11-30      Joel Sherrill <joel@OARcorp.com>
262
263        * include/rtems/Makefile.am: Added termiostypes.h.
264        * libc/Makefile.am: Removed termiostypes.h.
265        * libc/termios.c: Changed include of "termiostypes.h" to
266        <rtems/termiostypes.h> since that is an RTEMS specific header file.
267
2682000-11-29      Joel Sherrill <joel@OARcorp.com>
269
270        * include/sys/ttycom.h: New file -- moved from libnetworking/sys.
271        * Makefile.am: Modified to reflect above.
272
2732000-11-28       Sergei Organov <osv@javad.ru>
274
275        * libc/getcwd.c: Ensure _closedir(dir) is called even on
276        error exit from the routine.
277
2782000-11-25  Antti P Miettinen  <antti.p.miettinen@nokia.com>
279
280        * libc/termios.c, libc/termiostypes.h: Task driver driver model
281        and line discipline support from Thomas Doerfler
282        <Thomas.Doerfler@imd-systems.de>.
283
2842000-11-20       Dmitry Kargapolov <dk@gentex.ru>
285
286        * libc/mount.c: Make sure there is space allocated for a device name
287        in the mount table entry.
288
2892000-11-17      Jennifer Averret <jennifer@OARcorp.com>
290
291        * libc/mount.c (search_mt_for_mount_point): Deleted routine.
292        * libc/mount.c (Is_node_fs_root): Replacement for above that
293        accounts for the imaginary root node being returned by the
294        filesystem evaluation routine.
295        * libc/unmount.c (unmount): Account for imaginary root node
296        being returned and improved variable names to clarify code.
297        * libc/unmount.c (file_systems_below_this_mountpoint):  Body of
298        routine replaced to account for imaginary root node being returned.
299
3002000-11-10      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
301
302        * libc/libio.c: Special treatment of O_NDELAY for Cygwin.
303
3042000-11-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
305
306        * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
307
3082000-11-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
309
310        * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
311
3122000-11-01      Joel Sherrill <joel@OARcorp.com>
313
314        * configure.in: Added include/rtems subdirectory.
315
3162000-11-01      Joel Sherrill <joel@OARcorp.com>
317
318        * include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am,
319        libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c,
320        libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c,
321        libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c,
322        libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c,
323        libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c,
324        libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c,
325        libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c,
326        libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c,
327        libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c,
328        libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c,
329        libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c,
330        libc/utime.c, libc/write.c:
331        assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
332        from libc to lib/include/rtems and now must be referenced as
333        <rtems/XXX.h>. 
334        * include/rtems/Makefile.am, include/rtems/.cvsignore: New file.
335        * include/rtems/assoc.h, include/rtems/error.h,
336        include/rtems/libcsupport.h, include/rtems/libio.h,
337        include/rtems/libio_.h: New/moved files.
338
3392000-10-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
340
341        * configure.in: Remove bogus cfg_subdirs.
342        * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
343        Switch to GNU canonicalization.
344   
3452000-10-24      Joel Sherrill <joel@OARcorp.com>
346
347        * libc/ioman.c: Moved to libfs.
348        * libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
349        * libc/base_fs.c: Removed include of imfs.h and reworded comment
350        to avoid being IMFS specific.
351        * libc/libio.h: Removed prototype of IMFS_ops since it should
352        not be in this file.
353        * libc/mount.c: Removed IMFS specific configuration information.
354        * libc/unmount.c: Removed include of imfs.h and reworded comment
355        to avoid being IMFS specific.
356
3572000-10-18      Chris Johns <ccj@acm.org>
358
359        * libfs created.
360        * libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c,
361        libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c,
362        libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c,
363        libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c,
364        libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c,
365        libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c,
366        libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c,
367        libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c,
368        libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c,
369        libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c,
370        libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c:
371        Moved to libfs/src/imfs.
372        * Makefile.am: Modified to reflect above.
373
3742000-10-18      Joel Sherrill <joel@OARcorp.com>
375
376        * libc/Makefile.am: Added mallocfreespace.c.
377        * libc/mallocfreespace.c: New file based on work by Nick Simon
378        <Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c.
379        * libc/libcsupport.h: Added prototype for malloc_free_space().
380
3812000-10-18      Joel Sherrill <joel@OARcorp.com>
382
383        * libc/fcntl.c: Do not require every filesystem to have an fcntl()
384        handler.  Most fcntl() operations can be performed with no
385        filesystem support.
386        * ChangeLog: Corrected comment.
387
3882000-09-28      Joel Sherrill <joel@OARcorp.com>
389
390        * libc/libio.h (rtems_filesystem_file_handlers_r,
391        rtems_filesystem_operations_table): Added _h to all structure
392        fields to indicate they are "handlers".
393        * libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c,
394        libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c,
395        libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c,
396        libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c,
397        libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c,
398        libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c,
399        libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c,
400        libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c:
401        Modified to reflect above name change.
402
4032000-09-22      Joel Sherrill <joel@OARcorp.com>
404
405        * libc/newlibc.c: Removed _A29K specific ifdef.
406
4072000-09-05      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
408
409        * configure.in: Cleanup comments.
410
4112000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
412
413        * libc/Makefile.am: Include compile.am
414
4152000-09-05      Joel Sherrill <joel@OARcorp.com>
416
417        * libio.c: Added O_NONBLOCK to list of flags.
418
4192000-08-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
420
421        * configure.in: Remove libcpu and libbsp
422        * Makefile.am: Remove libcpu and libbsp
423
4242000-08-25      Joel Sherrill <joel.sherrill@OARcorp.com>
425
426        * libc/fs_null_handlers.c: Added missing rmnod entry.
427
4282000-08-25      Joel Sherrill <joel.sherrill@OARcorp.com>
429
430        * libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c,
431        libc/imfs_directory.c: Fixed style issues.
432
4332000-08-11  Chris Johns <ccj@acm.org>
434
435        * libc/chmod.c: Return ENOTSUP if filesystem does not have handler.
436        * libc/eval.c: Ditto.
437        * libc/fcntl.c: Ditto.
438        * libc/fsync.c: Ditto.
439        * libc/ioctl.c: Ditto.
440        * libc/ioman.c: Ditto.
441        * libc/link.c: Ditto.
442        * libc/mknod.c: Ditto.
443        * libc/symlink.c: Ditto.
444        * libc/libio.h(rtems_filesystem_dev_major_t): New macro.
445        * libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
446        * libc/memfile.c: Deleted assert.  Added code to properly handle
447        appending to a file.
448
4492000-08-10      Joel Sherrill <joel@OARcorp.com>
450
451        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.