source: rtems/c/src/lib/ChangeLog @ 9e1ae79

4.104.114.84.95
Last change on this file since 9e1ae79 was c43d7bd, checked in by Joel Sherrill <joel.sherrill@…>, on 11/30/01 at 12:03:15

2001-11-30 Jennifer Averett <jennifer@…>

This was tracked as PR88.

  • libc/scandir.c: Fixed to perform cleanup on error conditions.
  • Property mode set to 100644
File size: 17.1 KB
RevLine 
[c43d7bd]12001-11-30      Jennifer Averett <jennifer@OARcorp.com>
2
3        This was tracked as PR88.
4        * libc/scandir.c: Fixed to perform cleanup on error conditions.
5
[bc2db66]62001-11-07      Jennifer Averett <jennifer@OARcorp.com>
7
8        Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR63.
9        * libc/chdir.c: Check for search/execute permissions on chdir.
10        This requires passing RTEMS_LIBIO_PERMS_SEARCH to
11        rtems_filesystem_evaluate_path().
12
[1e4968e]132001-10-26      Joel Sherrill <joel@OARcorp.com>
14
15        * libc/libio.c: Cleanup of initialization per suggestion from
16        Eric Norum.
17
[9c30d6a9]182001-10-25      Jennifer Averett <jennifer@OARcorp.com>
19
20        * libc/unmount.c: Primarily restructuring and clean up to address
21        procedures which did not do what their name implied.  Also addressed
22        problem situation where unmount fails and the filesystem was
23        inconsistent.  The mounted filesystem could have been left hanging.
24
[1af79634]252001-10-25      Jennifer Averett <jennifer@OARcorp.com>
26
27        * libc/libio.c: Initialize more fields to NULL/0 during initialiation.
28        * include/rtems/libio_.h: Fix freenode macro so it works for sockets
29        which do not have the full set of filesystem operations and are
30        initialized via something other than open().
31
[0c40eb3]322001-10-18      Till Straumann <strauman@SLAC.Stanford.EDU>
33
34        * libc/open.c, libc/close.c:  Moved freenode from open to
35          close.
36
[efb5450]372001-10-17      Till Straumann <strauman@SLAC.Stanford.EDU>
38               
39        * These changes were discussed and reviewed by many people but the
40        primary people were Jennifer Averett <jennifer@OARcorp.com>
41        and Eugeny Mints <jack@oktet.ru>.
42        * libc/utime.c: Add missing call to rtems_filesystem_freenode()
43        at verification that utime is supported by the filesystem.
44        * libc/link.c: Remove calls to freenode when the node was
45        not successfully allocated.
46        * libc/unmount.c: In the method file_systems_below_this_mountpoint()
47        added calls to correctly free fs_root_loc when a failure occurs.
48        * libc/open.c: Add freenode calls upon failure.
49        * libc/open.c, lib/libc/close.c: (PENDING -- NOT INCLUDED THIS TIMER)
50        Modifications the move the freenode from open() to close() (also part
51        of this patch) are pending further discussion.
52
[49ed8e7]532001-10-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
54
55        * include/zilog/Makefile.am: Remove.
56        * include/motorola/Makefile.am: Remove.
57        * include/sys/Makefile.am: Remove.
58        * include/rtems/Makefile.am: Remove.
59        * include/Makefile.am: Handle subdirs, require automake-1.5
60        * Makefile.am: Require automake-1.5.
61
[9f6c063]622001-10-12      Joel Sherrill <joel@OARcorp.com>
63
64        * include/chain.h: Fixed typo.
65
[38db58f]662001-10-11      Mike Siers <mikes@poliac.com>
67
68        * libc/termios.c: Fixed a memory leak in the termios
69        software.  Basically the tty open function was allocating an input
70        raw buffer, an output raw buffer, and a cooked buffer that were
71        not getting released.  I have attached a patch for the latest
72        snapshot.  The patch also has a fix to ensure the tty link list
73        is updated correctly when a tty is closed.
74
[df25c998]752001-10-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
76
77        * .cvsignore: Add autom4te.cache for autoconf > 2.52.
78        * configure.in: Remove.
79        * configure.ac: New file, generated from configure.in by autoupdate.
80
[ceead58]812001-10-10      Joel Sherrill <joel@OARcorp.com>
82
83        * libc/printk.c (printNum): Properly handle a maxwidth of 0
84        as reported by Nick Hennenfent <NICK.HENNENFENT@ROCHE.COM>.
85
[4154b62]862001-09-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
87
88        * include/zilog/Makefile.am: Use 'PREINSTALL_FILES ='.
89        * include/motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
90        * include/sys/Makefile.am: Use 'PREINSTALL_FILES ='.
91        * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
92        * include/Makefile.am: Use 'PREINSTALL_FILES ='.
93
[dbdd7d4]942001-09-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
95
96        * include/sys/Makefile.am: Use = instead of += to setup
97        NETWORKING_H_FILES and NEWLIB_H_FILES.
98
[bd850c6]992001-09-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
100
101        * libc/Makefile.am: Revamp INCLUDES handling to make automake-1.5
102        happy.
103
[6d135639]1042001-09-14      Eric Norum <eric.norum@usask.ca>
105
106        * libc/gxx_wrappers.c: Modifications to make gcc 3.x happy.
107
[d6c20ff3]1082001-08-17      Joel Sherrill <joel@OARcorp.com>
109
110        * include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX
111        is defined on GNU/Linux (RedHat 6.2 distribution).
112        * libc/unixlibc.c: Added stubs for rtems_io_register_name() and
113        rtems_io_lookup_name() so UNIX port would compile the IO manager
114        sptest that registers /dev/null.
115
[6e46cf8f]1162001-08-10  Radzislaw Galler  <rgaller@et.put.poznan.pl>
117
118        * score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
119        number range check and handling of interrupt priority regs to
120        conform SH2 specs.
121        * sci/sci_termios.c: New file.
122        * include/sci_termios.h: New file.
123        * include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
124        (include_sh_HEADERS): Added sci_termios.h.
125        * score/ispsh7045.c (isp): Calling an ISR with immediate argument
126        casued negative sign extension for vector numbers of 128 and
127        above. This was fixed.
128        * sci/sci.c: Cleaned initialization of SCI registers; added
129        necessary setup for new TERMIOS console cooperation
130
[dfd218d5]1312001-08-16      Joel Sherrill <joel@OARcorp.com>
132
133        * libc/lseek.c: Modified after discussion with Eugeny S. Mints
134        <jack@oktet.ru> to correct the behavior.  There were two mistakes.
135        First, iop->offset was incorrectly set for SEEK_END.  Second,
136        iop->offset should be left unmodified if there are errors.
137        This modification attempts to fix both situations.
138
[f7691e3]1392001-08-16      Mike Siers <mikes@poliac.com>
140
141        * include/rtems/termiostypes.h, include/sys/ioccom.h:
142        Update of PPPD to 2.3.11 from 2.3.5 touched these files.
143
[4b3c197f]1442001-08-16      Mike Siers <mikes@poliac.com>
145
146        * libc/termios.c: Fix a bug in the termios implementation in
147        the following scenario:
148          The General Terminal Interface document that me states that
149          if VMIN = 0 and VTIME = 0, then read() should return the minimum
150          of two values:
151                a) number of bytes available
152                b) number of bytes requested (I assume from the read call)
153
154          The current implementation of the fillBufferQueue() in termios.c is
155          always return 1 character with these setting values.  I know the
156          termios buffer has more than one character available and my read()
157          call is requesting 1024 bytes.
158
[ccb13cfe]1592001-08-09      Fernando-Ruiz Casas <correo@fernando-ruiz.com>
160
161        * libc/getgrent.c, libc/getpwent.c: the 'ls' and more related command
162        previous failed after a chroot(). (unknown user & group)
163
[2082fe29]1642001-08-03      Joel Sherrill <joel@OARcorp.com>
165
166        * libc/libio_sockets.c (rtems_bsdnet_fdToSocket): Per bug
167        report from Gene Smith <Gene.Smith@sea.siemens.com>, enhanced the
168        error checking to account for a socket being closed.
169
[c891fe0]1702001-05-25      Joel Sherrill <joel@OARcorp.com>
171
172        * libc/base_fs.c: Deleted chmod() now that IMFS creates the
173        root node with the desired permissions.  chmod() is also not
174        supported by the miniIMFS so this is not allowable.
175
[87fb080d]1762000-05-24      Fernando Ruiz Casas <fernando.ruiz@ctv.es>
177
178        * include/rtems/libio_.h: Added login name, uid, gid, euid, and egid
179        so they can be part of the private environment.
180
[e565720a]1812000-05-24      Fernando Ruiz Casas <fernando.ruiz@ctv.es>
182
183        * libc/ttyname.c (ttyname_r): Removed duplicate call to closedir().
184        * libc/getpwent.c: Create a more robust /etc/passwd and /etc/group.
185        * libc/base_fs.c: Change permissions of files and directories.  Now uses
186        octal constants.
187
[c8f7f94b]1882001-05-11      Joel Sherrill <joel@OARcorp.com>
189
190        * libc/write.c: Change type of rc to match return type from
191        underlying function per report from Eric Norum.
192
[ab94137]1932001-04-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
194
195        * configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
196
[6f43d82]1972001-04-24      Joel Sherrill <joel@OARcorp.com>
198
199        * libc/libio.c (rtems_libio_allocate): Make sure size and offset
200        fields are cleared on each file open.  Before this field was cleared,
201        this resulted in the value from the last time that IOP was used
202        being still in place.  Discovered by  Andrew Bythell
203        <abythell@nortelnetworks.com>.
204        * libc/open.c: Remove redundant setting of iop->offset.
205
[d8a9155]2062001-04-20  Correo Fernando-ruiz <correo@fernando-ruiz.com>
207
208        * include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c:
209        Private environment and chroot() enhancements and fixes.  Comments:
210          + privateenv has been modified to let at chroot() to be more
211            POSIX like Sergei Organov recommended.
212          + A task owner lets that rtems_set_private_env() will be
213            called twice or more times.
214          + chroot() can be called without a previous
215            rtems_set_private_env(); (transpanrently)
216          + The second call of rtems_set_private_env() makes a internal
217            chroot("/") into global imfs_root.
218          + chroot() runs like chdir() without a previous chdir("/") with
219            the global root.
220          + The current directory can be in a wrong place like Linux and
221            many other Unices.
222
[d6a2d7ee]2232001-04-16      Joel Sherrill <joel@OARcorp.com>
224
225        * include/rtc.h: New file.
226        * include/Makefile.am: Updated to reflect above.
[2d5748f]227
[9da92fb3]2282001-02-06      Joel Sherrill <joel@OARcorp.com>
229
230        * include/ioccom.h: Unreferenced and thus removed.
231
[f3d7592]2322001-02-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
233
234        * include/zilog/Makefile.am, include/Makefile.am,
235        include/motorola/Makefile.am, include/sys/Makefile.am
236        include/rtems/Makefile.am: Apply include_*HEADERS instead of
237        H_FILES.
238
[56f20bac]2392001-01-26      Joel Sherrill <joel@OARcorp.com>
240
241        * libc/chroot.c: Fixed naming problems.  Names were changed
242        when the code this depends on was merged.
243
[37535317]2442001-01-25      Fernando Ruiz <fernando.ruiz@ctv.es>
245
246        * Alternate email is correo@fernando-ruiz.com
247        * libc/chroot.c: New file.
248        * libc/Makefile.am: Reflect above.
249
[41caf2df]2502001-01-25      Fernando Ruiz <fernando.ruiz@ctv.es>
251
252        * Alternate email is correo@fernando-ruiz.com
253        * libc/privateenv.c: New file.
254        * include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
255        libc/unmount.c: Moved default umask, current working directory,
256        root, and links followed count into a structure "user environment"
257        that can then be treated as a unit.  This enable giving unique
258        copies of these to individual threads or collection of threads.
259
[9c49db4]2602001-01-05      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
261
262        * configure.in: Add libc/config.h
263        * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
264        * libc/.cvsignore: Add config.h and stamp-h
265        * libc/*.c: Add config.h support.
266
[922a723]2672000-12-06      Joel Sherrill <joel@OARcorp.com>
268
269        * libc/mallocfreespace.c: Name of routine is
270        rtems_region_get_information() NOT region_get_information().
271        * libc/unmount.c: Removed unused variable.
272
[88d7985]2732000-11-30      Joel Sherrill <joel@OARcorp.com>
274
275        * include/rtems/Makefile.am: Added termiostypes.h.
276        * libc/Makefile.am: Removed termiostypes.h.
277        * libc/termios.c: Changed include of "termiostypes.h" to
278        <rtems/termiostypes.h> since that is an RTEMS specific header file.
279
[f5f31dd]2802000-11-29      Joel Sherrill <joel@OARcorp.com>
281
282        * include/sys/ttycom.h: New file -- moved from libnetworking/sys.
283        * Makefile.am: Modified to reflect above.
284
[e23afc3]2852000-11-28       Sergei Organov <osv@javad.ru>
286
287        * libc/getcwd.c: Ensure _closedir(dir) is called even on
288        error exit from the routine.
289
[e2af631]2902000-11-25  Antti P Miettinen  <antti.p.miettinen@nokia.com>
291
292        * libc/termios.c, libc/termiostypes.h: Task driver driver model
293        and line discipline support from Thomas Doerfler
294        <Thomas.Doerfler@imd-systems.de>.
295
[bde7e18e]2962000-11-20       Dmitry Kargapolov <dk@gentex.ru>
297
298        * libc/mount.c: Make sure there is space allocated for a device name
299        in the mount table entry.
300
3012000-11-17      Jennifer Averret <jennifer@OARcorp.com>
302
303        * libc/mount.c (search_mt_for_mount_point): Deleted routine.
304        * libc/mount.c (Is_node_fs_root): Replacement for above that
305        accounts for the imaginary root node being returned by the
306        filesystem evaluation routine.
307        * libc/unmount.c (unmount): Account for imaginary root node
308        being returned and improved variable names to clarify code.
309        * libc/unmount.c (file_systems_below_this_mountpoint):  Body of
310        routine replaced to account for imaginary root node being returned.
311
[5dc2b66d]3122000-11-10      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
313
314        * libc/libio.c: Special treatment of O_NDELAY for Cygwin.
315
[feead226]3162000-11-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
317
318        * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
319
[a314d3b4]3202000-11-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
321
322        * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
323
[3ba74c73]3242000-11-01      Joel Sherrill <joel@OARcorp.com>
325
326        * configure.in: Added include/rtems subdirectory.
327
3282000-11-01      Joel Sherrill <joel@OARcorp.com>
329
330        * include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am,
331        libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c,
332        libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c,
333        libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c,
334        libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c,
335        libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c,
336        libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c,
337        libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c,
338        libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c,
339        libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c,
340        libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c,
341        libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c,
342        libc/utime.c, libc/write.c:
343        assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
344        from libc to lib/include/rtems and now must be referenced as
345        <rtems/XXX.h>. 
346        * include/rtems/Makefile.am, include/rtems/.cvsignore: New file.
347        * include/rtems/assoc.h, include/rtems/error.h,
348        include/rtems/libcsupport.h, include/rtems/libio.h,
349        include/rtems/libio_.h: New/moved files.
350
[2d5748f]3512000-10-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
352
353        * configure.in: Remove bogus cfg_subdirs.
354        * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
355        Switch to GNU canonicalization.
[7b0001f7]356   
3572000-10-24      Joel Sherrill <joel@OARcorp.com>
358
359        * libc/ioman.c: Moved to libfs.
360        * libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
361        * libc/base_fs.c: Removed include of imfs.h and reworded comment
362        to avoid being IMFS specific.
363        * libc/libio.h: Removed prototype of IMFS_ops since it should
364        not be in this file.
365        * libc/mount.c: Removed IMFS specific configuration information.
366        * libc/unmount.c: Removed include of imfs.h and reworded comment
367        to avoid being IMFS specific.
[e94ad1fe]368
[bfac6a7]3692000-10-18      Chris Johns <ccj@acm.org>
370
371        * libfs created.
372        * libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c,
373        libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c,
374        libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c,
375        libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c,
376        libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c,
377        libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c,
378        libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c,
379        libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c,
380        libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c,
381        libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c,
382        libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c:
383        Moved to libfs/src/imfs.
384        * Makefile.am: Modified to reflect above.
385
[3815a2b]3862000-10-18      Joel Sherrill <joel@OARcorp.com>
387
388        * libc/Makefile.am: Added mallocfreespace.c.
389        * libc/mallocfreespace.c: New file based on work by Nick Simon
390        <Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c.
391        * libc/libcsupport.h: Added prototype for malloc_free_space().
392
[e3250b3]3932000-10-18      Joel Sherrill <joel@OARcorp.com>
394
395        * libc/fcntl.c: Do not require every filesystem to have an fcntl()
396        handler.  Most fcntl() operations can be performed with no
397        filesystem support.
398        * ChangeLog: Corrected comment.
399
[9c3fa30]4002000-09-28      Joel Sherrill <joel@OARcorp.com>
401
402        * libc/libio.h (rtems_filesystem_file_handlers_r,
403        rtems_filesystem_operations_table): Added _h to all structure
404        fields to indicate they are "handlers".
405        * libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c,
406        libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c,
407        libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c,
408        libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c,
409        libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c,
410        libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c,
411        libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c,
412        libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c:
413        Modified to reflect above name change.
414
[fb327db3]4152000-09-22      Joel Sherrill <joel@OARcorp.com>
416
417        * libc/newlibc.c: Removed _A29K specific ifdef.
418
[9c48256]4192000-09-05      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
420
421        * configure.in: Cleanup comments.
422
[9eb89a1e]4232000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
424
425        * libc/Makefile.am: Include compile.am
426
[5a9a5ec]4272000-09-05      Joel Sherrill <joel@OARcorp.com>
428
429        * libio.c: Added O_NONBLOCK to list of flags.
430
[51f21b2]4312000-08-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
432
433        * configure.in: Remove libcpu and libbsp
434        * Makefile.am: Remove libcpu and libbsp
435
[1a3b281]4362000-08-25      Joel Sherrill <joel.sherrill@OARcorp.com>
437
438        * libc/fs_null_handlers.c: Added missing rmnod entry.
439
[662678d1]4402000-08-25      Joel Sherrill <joel.sherrill@OARcorp.com>
441
442        * libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c,
443        libc/imfs_directory.c: Fixed style issues.
444
[dd19c0b]4452000-08-11  Chris Johns <ccj@acm.org>
446
447        * libc/chmod.c: Return ENOTSUP if filesystem does not have handler.
448        * libc/eval.c: Ditto.
449        * libc/fcntl.c: Ditto.
450        * libc/fsync.c: Ditto.
451        * libc/ioctl.c: Ditto.
452        * libc/ioman.c: Ditto.
453        * libc/link.c: Ditto.
454        * libc/mknod.c: Ditto.
455        * libc/symlink.c: Ditto.
456        * libc/libio.h(rtems_filesystem_dev_major_t): New macro.
[e3250b3]457        * libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
458        * libc/memfile.c: Deleted assert.  Added code to properly handle
[dd19c0b]459        appending to a file.
460
[e94ad1fe]4612000-08-10      Joel Sherrill <joel@OARcorp.com>
462
463        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.