[7c844e3] | 1 | 2001-05-17 Joel Sherrill <joel@OARcorp.com> |
---|
| 2 | |
---|
| 3 | * libc/envlock.c: Implemented code to let newlib's envlock share |
---|
| 4 | the libio open/close mutex. Since both should be lightly used, |
---|
| 5 | this should not lead to problems and saves resources. |
---|
| 6 | |
---|
[c0d4abe6] | 7 | 2002-05-15 Chris Johns <ccj@acm.org> |
---|
| 8 | |
---|
| 9 | * libc/newlibc.c: Per PR141, move the C library re-enterrant |
---|
| 10 | support directly into the thread dispatch code. RTEMS needs |
---|
| 11 | libc and so requiring libc to use a user extension with its |
---|
| 12 | overhead is not the best solution. This patch lowers the |
---|
| 13 | overhead to 2 pointer moves. |
---|
| 14 | |
---|
[e8ff934a] | 15 | 2001-05-15 Joel Sherrill <joel@OARcorp.com> |
---|
| 16 | |
---|
| 17 | * libc/Makefile.am: envlock.c should only be built for embedded |
---|
| 18 | targets using newlib. |
---|
| 19 | |
---|
[baf71338] | 20 | 2001-05-14 Till Straumann <strauman@slac.stanford.edu> |
---|
| 21 | |
---|
| 22 | * Per PR212, added envlock support for newlib. This is used |
---|
| 23 | by at least getenv()/putenv() to avoid race conditions. |
---|
| 24 | * libc/envlock.c: New file. |
---|
| 25 | * libc/Makefile.am: Modified to reflect above. |
---|
| 26 | |
---|
[deb66d1] | 27 | 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 28 | |
---|
| 29 | * include/Makefile.am: Remove. |
---|
| 30 | * include/sys/utsname.h: Added, removed times (now in newlib). |
---|
| 31 | * Makefile.am: Merge include/Makefile.am |
---|
| 32 | |
---|
| 33 | * libc/utsname.c: Relocated from posix/src. |
---|
| 34 | * libc/Makefile.am: Reflect changes above. |
---|
| 35 | |
---|
| 36 | * configure.ac: Remove include/Makefile |
---|
| 37 | |
---|
[b7be6533] | 38 | 2002-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 39 | |
---|
| 40 | * include/sys/ioctl.h: Relocated from libnetworking/sys. |
---|
| 41 | * include/sys/filio.h: Relocated from libnetworking/sys. |
---|
| 42 | * include/sys/sockio.h: Relocated from libnetworking/sys. |
---|
| 43 | * include/Makefile.am: Reflect changes above. |
---|
| 44 | * configure.ac: Take out *NETWORKING*. |
---|
| 45 | |
---|
[616b9f5] | 46 | 2001-04-26 Joel Sherrill <joel@OARcorp.com> |
---|
| 47 | |
---|
| 48 | * libc/gxx_wrappers.c: Fix to keep prototype same as in gcc and |
---|
| 49 | remove warning. |
---|
| 50 | |
---|
[1216c9c] | 51 | 2002-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 52 | |
---|
| 53 | * libc/scandir.c: Initialize nitems = 0. |
---|
| 54 | |
---|
[485e80fa] | 55 | 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 56 | |
---|
| 57 | * include/Makefile.am: Add stdint.h and inttypes.h. |
---|
| 58 | (reported by Mike Siers <mikes@poliac.com>) |
---|
| 59 | * include/stdint.h: New file. |
---|
| 60 | * include/inttypes.h: New file. |
---|
| 61 | |
---|
[29fd4e38] | 62 | 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 63 | |
---|
| 64 | * libc/stat.c: include <string.h>. |
---|
| 65 | * libc/printk.c: Remove libcpu/cpu.h. |
---|
| 66 | |
---|
[47f7dc5] | 67 | 2002-04-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 68 | |
---|
| 69 | * libc/ctermid.c: Include <string.h>. |
---|
| 70 | * libc/ttyname.c: Ditto. |
---|
| 71 | * libc/ttyname_r.c: Ditto. |
---|
| 72 | |
---|
[b449267] | 73 | 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 74 | |
---|
| 75 | * configure.ac: |
---|
| 76 | AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). |
---|
| 77 | AM_INIT_AUTOMAKE([no-define foreign 1.6]). |
---|
| 78 | * include/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 79 | * Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 80 | * libc/Makefile.am: Remove AUTOMAKE_OPTIONS. |
---|
| 81 | |
---|
[eaeb467] | 82 | 2001-03-20 Joel Sherrill <joel@OARcorp.com> |
---|
| 83 | |
---|
| 84 | * PR143 |
---|
| 85 | * lib/include/rtems/termiostypes.h: Removed unneeded volatile on |
---|
| 86 | "theBuf" since no byte is read more than once anyway. |
---|
| 87 | |
---|
[49155d9] | 88 | 2002-03-01 Eric Norum <eric.norum@usask.ca> |
---|
| 89 | |
---|
| 90 | * libc/gxx_wrappers.c: Task is not preemptable while running a |
---|
| 91 | pthread_once init function. This is slightly less heavy handed |
---|
| 92 | than disabling dispatching and seems better than consuming a mutex. |
---|
| 93 | |
---|
[5ec6f09] | 94 | 2001-01-31 Mike Siers <mikes@poliac.com> |
---|
| 95 | |
---|
| 96 | * Nice Update of PPPD support which eliminates the |
---|
| 97 | requiremetn that drivers be in the termios TASK_DRIVEN mode. |
---|
| 98 | Mike did significant testing and reports that it seems to be |
---|
| 99 | more stable and handle larger packets better. This patch |
---|
| 100 | replaces the termios tasks with more general pppd network |
---|
| 101 | driver tasks. The functions pppinput() and pppstart() get |
---|
| 102 | called from the interrupt service routine. |
---|
| 103 | * libc/termios.c: Added PPCDISC. |
---|
| 104 | |
---|
[d09ad1f0] | 105 | 2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 106 | |
---|
| 107 | * include/rtems/libio.h: Add #include <rtems/fs.h>. |
---|
| 108 | Reflect changes due to using rtems/fs.h. |
---|
| 109 | * include/rtems/libio_.h: Reworked. |
---|
| 110 | |
---|
[c4477581] | 111 | 2002-02-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 112 | |
---|
| 113 | * libc/gxx_wrappers.c: Add #include <rtems/error.h>. |
---|
| 114 | |
---|
[d3ba9b35] | 115 | 2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 116 | |
---|
| 117 | * libc/Makefile.am: Add MULTISUBDIR support. |
---|
| 118 | * libc/fcntl.c: Add #include <stdarg.h>. |
---|
| 119 | * libc/privateenv.c: Add #include <stdlib.h>. |
---|
| 120 | |
---|
[a02224e] | 121 | 2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 122 | |
---|
| 123 | * include/rtems/libio_.h: Remove set_errno_and_return_minus_one. |
---|
| 124 | * libc/cfsetispeed.c: Include <rtems/seterr.h>. |
---|
| 125 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 126 | * libc/cfsetospeed.c: Include <rtems/seterr.h>. |
---|
| 127 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 128 | * libc/chdir.c: Include <rtems/seterr.h>. |
---|
| 129 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 130 | * libc/chmod.c: Include <rtems/seterr.h>. |
---|
| 131 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 132 | * libc/chown.c: Include <rtems/seterr.h>. |
---|
| 133 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 134 | * libc/chroot.c: Include <rtems/seterr.h>. |
---|
| 135 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 136 | * libc/closedir.c: Include <rtems/seterr.h>. |
---|
| 137 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 138 | * libc/eval.c: Include <rtems/seterr.h>. |
---|
| 139 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 140 | * libc/fchdir.c: Include <rtems/seterr.h>. |
---|
| 141 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 142 | * libc/fchmod.c: Include <rtems/seterr.h>. |
---|
| 143 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 144 | * libc/fdatasync.c: Include <rtems/seterr.h>. |
---|
| 145 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 146 | * libc/fpathconf.c: Include <rtems/seterr.h>. |
---|
| 147 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 148 | * libc/fstat.c: Include <rtems/seterr.h>. |
---|
| 149 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 150 | * libc/fsync.c: Include <rtems/seterr.h>. |
---|
| 151 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 152 | * libc/ftruncate.c: Include <rtems/seterr.h>. |
---|
| 153 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 154 | * libc/getdents.c: Include <rtems/seterr.h>. |
---|
| 155 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 156 | * libc/ioctl.c: Include <rtems/seterr.h>. |
---|
| 157 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 158 | * libc/link.c: Include <rtems/seterr.h>. |
---|
| 159 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 160 | * libc/lseek.c: Include <rtems/seterr.h>. |
---|
| 161 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 162 | * libc/mknod.c: Include <rtems/seterr.h>. |
---|
| 163 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 164 | * libc/open.c: Include <rtems/seterr.h>. |
---|
| 165 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 166 | * libc/read.c: Include <rtems/seterr.h>. |
---|
| 167 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 168 | * libc/readlink.c: Include <rtems/seterr.h>. |
---|
| 169 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 170 | * libc/rmdir.c: Include <rtems/seterr.h>. |
---|
| 171 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 172 | * libc/stat.c: Include <rtems/seterr.h>. |
---|
| 173 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 174 | * libc/symlink.c: Include <rtems/seterr.h>. |
---|
| 175 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 176 | * libc/tcsetattr.c: Include <rtems/seterr.h>. |
---|
| 177 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 178 | * libc/telldir.c: Include <rtems/seterr.h>. |
---|
| 179 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 180 | * libc/ttyname.c: Include <rtems/seterr.h>. |
---|
| 181 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 182 | * libc/ttyname_r.c: Include <rtems/seterr.h>. |
---|
| 183 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 184 | * libc/unlink.c: Include <rtems/seterr.h>. |
---|
| 185 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 186 | * libc/unmount.c: Include <rtems/seterr.h>. |
---|
| 187 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 188 | * libc/utime.c: Include <rtems/seterr.h>. |
---|
| 189 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 190 | * libc/write.c: Include <rtems/seterr.h>. |
---|
| 191 | Apply rtems_set_errno_and_return_minus_one. |
---|
| 192 | |
---|
[29e1c006] | 193 | 2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 194 | |
---|
| 195 | * libc/printk.c: Include rtems/bspIo.h instead of bspIo.h. |
---|
| 196 | * include/Makefile.am: Remove bspIo.h. |
---|
| 197 | * include/bspIo.h: Removed. |
---|
| 198 | |
---|
[c43d7bd] | 199 | 2001-11-30 Jennifer Averett <jennifer@OARcorp.com> |
---|
| 200 | |
---|
| 201 | This was tracked as PR88. |
---|
| 202 | * libc/scandir.c: Fixed to perform cleanup on error conditions. |
---|
| 203 | |
---|
[bc2db66] | 204 | 2001-11-07 Jennifer Averett <jennifer@OARcorp.com> |
---|
| 205 | |
---|
| 206 | Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR63. |
---|
| 207 | * libc/chdir.c: Check for search/execute permissions on chdir. |
---|
| 208 | This requires passing RTEMS_LIBIO_PERMS_SEARCH to |
---|
| 209 | rtems_filesystem_evaluate_path(). |
---|
| 210 | |
---|
[1e4968e] | 211 | 2001-10-26 Joel Sherrill <joel@OARcorp.com> |
---|
| 212 | |
---|
| 213 | * libc/libio.c: Cleanup of initialization per suggestion from |
---|
| 214 | Eric Norum. |
---|
| 215 | |
---|
[9c30d6a9] | 216 | 2001-10-25 Jennifer Averett <jennifer@OARcorp.com> |
---|
| 217 | |
---|
| 218 | * libc/unmount.c: Primarily restructuring and clean up to address |
---|
| 219 | procedures which did not do what their name implied. Also addressed |
---|
| 220 | problem situation where unmount fails and the filesystem was |
---|
| 221 | inconsistent. The mounted filesystem could have been left hanging. |
---|
| 222 | |
---|
[1af79634] | 223 | 2001-10-25 Jennifer Averett <jennifer@OARcorp.com> |
---|
| 224 | |
---|
| 225 | * libc/libio.c: Initialize more fields to NULL/0 during initialiation. |
---|
| 226 | * include/rtems/libio_.h: Fix freenode macro so it works for sockets |
---|
| 227 | which do not have the full set of filesystem operations and are |
---|
| 228 | initialized via something other than open(). |
---|
| 229 | |
---|
[0c40eb3] | 230 | 2001-10-18 Till Straumann <strauman@SLAC.Stanford.EDU> |
---|
| 231 | |
---|
| 232 | * libc/open.c, libc/close.c: Moved freenode from open to |
---|
| 233 | close. |
---|
| 234 | |
---|
[efb5450] | 235 | 2001-10-17 Till Straumann <strauman@SLAC.Stanford.EDU> |
---|
| 236 | |
---|
| 237 | * These changes were discussed and reviewed by many people but the |
---|
| 238 | primary people were Jennifer Averett <jennifer@OARcorp.com> |
---|
| 239 | and Eugeny Mints <jack@oktet.ru>. |
---|
| 240 | * libc/utime.c: Add missing call to rtems_filesystem_freenode() |
---|
| 241 | at verification that utime is supported by the filesystem. |
---|
| 242 | * libc/link.c: Remove calls to freenode when the node was |
---|
| 243 | not successfully allocated. |
---|
| 244 | * libc/unmount.c: In the method file_systems_below_this_mountpoint() |
---|
| 245 | added calls to correctly free fs_root_loc when a failure occurs. |
---|
| 246 | * libc/open.c: Add freenode calls upon failure. |
---|
| 247 | * libc/open.c, lib/libc/close.c: (PENDING -- NOT INCLUDED THIS TIMER) |
---|
| 248 | Modifications the move the freenode from open() to close() (also part |
---|
| 249 | of this patch) are pending further discussion. |
---|
| 250 | |
---|
[49ed8e7] | 251 | 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 252 | |
---|
| 253 | * include/zilog/Makefile.am: Remove. |
---|
| 254 | * include/motorola/Makefile.am: Remove. |
---|
| 255 | * include/sys/Makefile.am: Remove. |
---|
| 256 | * include/rtems/Makefile.am: Remove. |
---|
| 257 | * include/Makefile.am: Handle subdirs, require automake-1.5 |
---|
| 258 | * Makefile.am: Require automake-1.5. |
---|
| 259 | |
---|
[9f6c063] | 260 | 2001-10-12 Joel Sherrill <joel@OARcorp.com> |
---|
| 261 | |
---|
| 262 | * include/chain.h: Fixed typo. |
---|
| 263 | |
---|
[38db58f] | 264 | 2001-10-11 Mike Siers <mikes@poliac.com> |
---|
| 265 | |
---|
| 266 | * libc/termios.c: Fixed a memory leak in the termios |
---|
| 267 | software. Basically the tty open function was allocating an input |
---|
| 268 | raw buffer, an output raw buffer, and a cooked buffer that were |
---|
| 269 | not getting released. I have attached a patch for the latest |
---|
| 270 | snapshot. The patch also has a fix to ensure the tty link list |
---|
| 271 | is updated correctly when a tty is closed. |
---|
| 272 | |
---|
[df25c998] | 273 | 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 274 | |
---|
| 275 | * .cvsignore: Add autom4te.cache for autoconf > 2.52. |
---|
| 276 | * configure.in: Remove. |
---|
| 277 | * configure.ac: New file, generated from configure.in by autoupdate. |
---|
| 278 | |
---|
[ceead58] | 279 | 2001-10-10 Joel Sherrill <joel@OARcorp.com> |
---|
| 280 | |
---|
| 281 | * libc/printk.c (printNum): Properly handle a maxwidth of 0 |
---|
| 282 | as reported by Nick Hennenfent <NICK.HENNENFENT@ROCHE.COM>. |
---|
| 283 | |
---|
[4154b62] | 284 | 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 285 | |
---|
| 286 | * include/zilog/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 287 | * include/motorola/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 288 | * include/sys/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 289 | * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 290 | * include/Makefile.am: Use 'PREINSTALL_FILES ='. |
---|
| 291 | |
---|
[dbdd7d4] | 292 | 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 293 | |
---|
| 294 | * include/sys/Makefile.am: Use = instead of += to setup |
---|
| 295 | NETWORKING_H_FILES and NEWLIB_H_FILES. |
---|
| 296 | |
---|
[bd850c6] | 297 | 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 298 | |
---|
| 299 | * libc/Makefile.am: Revamp INCLUDES handling to make automake-1.5 |
---|
| 300 | happy. |
---|
| 301 | |
---|
[6d135639] | 302 | 2001-09-14 Eric Norum <eric.norum@usask.ca> |
---|
| 303 | |
---|
| 304 | * libc/gxx_wrappers.c: Modifications to make gcc 3.x happy. |
---|
| 305 | |
---|
[d6c20ff3] | 306 | 2001-08-17 Joel Sherrill <joel@OARcorp.com> |
---|
| 307 | |
---|
| 308 | * include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX |
---|
| 309 | is defined on GNU/Linux (RedHat 6.2 distribution). |
---|
| 310 | * libc/unixlibc.c: Added stubs for rtems_io_register_name() and |
---|
| 311 | rtems_io_lookup_name() so UNIX port would compile the IO manager |
---|
| 312 | sptest that registers /dev/null. |
---|
| 313 | |
---|
[6e46cf8f] | 314 | 2001-08-10 Radzislaw Galler <rgaller@et.put.poznan.pl> |
---|
| 315 | |
---|
| 316 | * score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector |
---|
| 317 | number range check and handling of interrupt priority regs to |
---|
| 318 | conform SH2 specs. |
---|
| 319 | * sci/sci_termios.c: New file. |
---|
| 320 | * include/sci_termios.h: New file. |
---|
| 321 | * include/Makefile.am (EXTRA_DIST): Added sci_termios.h. |
---|
| 322 | (include_sh_HEADERS): Added sci_termios.h. |
---|
| 323 | * score/ispsh7045.c (isp): Calling an ISR with immediate argument |
---|
| 324 | casued negative sign extension for vector numbers of 128 and |
---|
| 325 | above. This was fixed. |
---|
| 326 | * sci/sci.c: Cleaned initialization of SCI registers; added |
---|
| 327 | necessary setup for new TERMIOS console cooperation |
---|
| 328 | |
---|
[dfd218d5] | 329 | 2001-08-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 330 | |
---|
| 331 | * libc/lseek.c: Modified after discussion with Eugeny S. Mints |
---|
| 332 | <jack@oktet.ru> to correct the behavior. There were two mistakes. |
---|
| 333 | First, iop->offset was incorrectly set for SEEK_END. Second, |
---|
| 334 | iop->offset should be left unmodified if there are errors. |
---|
| 335 | This modification attempts to fix both situations. |
---|
| 336 | |
---|
[f7691e3] | 337 | 2001-08-16 Mike Siers <mikes@poliac.com> |
---|
| 338 | |
---|
| 339 | * include/rtems/termiostypes.h, include/sys/ioccom.h: |
---|
| 340 | Update of PPPD to 2.3.11 from 2.3.5 touched these files. |
---|
| 341 | |
---|
[4b3c197f] | 342 | 2001-08-16 Mike Siers <mikes@poliac.com> |
---|
| 343 | |
---|
| 344 | * libc/termios.c: Fix a bug in the termios implementation in |
---|
| 345 | the following scenario: |
---|
| 346 | The General Terminal Interface document that me states that |
---|
| 347 | if VMIN = 0 and VTIME = 0, then read() should return the minimum |
---|
| 348 | of two values: |
---|
| 349 | a) number of bytes available |
---|
| 350 | b) number of bytes requested (I assume from the read call) |
---|
| 351 | |
---|
| 352 | The current implementation of the fillBufferQueue() in termios.c is |
---|
| 353 | always return 1 character with these setting values. I know the |
---|
| 354 | termios buffer has more than one character available and my read() |
---|
| 355 | call is requesting 1024 bytes. |
---|
| 356 | |
---|
[ccb13cfe] | 357 | 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com> |
---|
| 358 | |
---|
| 359 | * libc/getgrent.c, libc/getpwent.c: the 'ls' and more related command |
---|
| 360 | previous failed after a chroot(). (unknown user & group) |
---|
| 361 | |
---|
[2082fe29] | 362 | 2001-08-03 Joel Sherrill <joel@OARcorp.com> |
---|
| 363 | |
---|
| 364 | * libc/libio_sockets.c (rtems_bsdnet_fdToSocket): Per bug |
---|
| 365 | report from Gene Smith <Gene.Smith@sea.siemens.com>, enhanced the |
---|
| 366 | error checking to account for a socket being closed. |
---|
| 367 | |
---|
[c891fe0] | 368 | 2001-05-25 Joel Sherrill <joel@OARcorp.com> |
---|
| 369 | |
---|
| 370 | * libc/base_fs.c: Deleted chmod() now that IMFS creates the |
---|
| 371 | root node with the desired permissions. chmod() is also not |
---|
| 372 | supported by the miniIMFS so this is not allowable. |
---|
| 373 | |
---|
[87fb080d] | 374 | 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es> |
---|
| 375 | |
---|
| 376 | * include/rtems/libio_.h: Added login name, uid, gid, euid, and egid |
---|
| 377 | so they can be part of the private environment. |
---|
| 378 | |
---|
[e565720a] | 379 | 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es> |
---|
| 380 | |
---|
| 381 | * libc/ttyname.c (ttyname_r): Removed duplicate call to closedir(). |
---|
| 382 | * libc/getpwent.c: Create a more robust /etc/passwd and /etc/group. |
---|
| 383 | * libc/base_fs.c: Change permissions of files and directories. Now uses |
---|
| 384 | octal constants. |
---|
| 385 | |
---|
[c8f7f94b] | 386 | 2001-05-11 Joel Sherrill <joel@OARcorp.com> |
---|
| 387 | |
---|
| 388 | * libc/write.c: Change type of rc to match return type from |
---|
| 389 | underlying function per report from Eric Norum. |
---|
| 390 | |
---|
[ab94137] | 391 | 2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 392 | |
---|
| 393 | * configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET. |
---|
| 394 | |
---|
[6f43d82] | 395 | 2001-04-24 Joel Sherrill <joel@OARcorp.com> |
---|
| 396 | |
---|
| 397 | * libc/libio.c (rtems_libio_allocate): Make sure size and offset |
---|
| 398 | fields are cleared on each file open. Before this field was cleared, |
---|
| 399 | this resulted in the value from the last time that IOP was used |
---|
| 400 | being still in place. Discovered by Andrew Bythell |
---|
| 401 | <abythell@nortelnetworks.com>. |
---|
| 402 | * libc/open.c: Remove redundant setting of iop->offset. |
---|
| 403 | |
---|
[d8a9155] | 404 | 2001-04-20 Correo Fernando-ruiz <correo@fernando-ruiz.com> |
---|
| 405 | |
---|
| 406 | * include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c: |
---|
| 407 | Private environment and chroot() enhancements and fixes. Comments: |
---|
| 408 | + privateenv has been modified to let at chroot() to be more |
---|
| 409 | POSIX like Sergei Organov recommended. |
---|
| 410 | + A task owner lets that rtems_set_private_env() will be |
---|
| 411 | called twice or more times. |
---|
| 412 | + chroot() can be called without a previous |
---|
| 413 | rtems_set_private_env(); (transpanrently) |
---|
| 414 | + The second call of rtems_set_private_env() makes a internal |
---|
| 415 | chroot("/") into global imfs_root. |
---|
| 416 | + chroot() runs like chdir() without a previous chdir("/") with |
---|
| 417 | the global root. |
---|
| 418 | + The current directory can be in a wrong place like Linux and |
---|
| 419 | many other Unices. |
---|
| 420 | |
---|
[d6a2d7ee] | 421 | 2001-04-16 Joel Sherrill <joel@OARcorp.com> |
---|
| 422 | |
---|
| 423 | * include/rtc.h: New file. |
---|
| 424 | * include/Makefile.am: Updated to reflect above. |
---|
[2d5748f] | 425 | |
---|
[9da92fb3] | 426 | 2001-02-06 Joel Sherrill <joel@OARcorp.com> |
---|
| 427 | |
---|
| 428 | * include/ioccom.h: Unreferenced and thus removed. |
---|
| 429 | |
---|
[f3d7592] | 430 | 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 431 | |
---|
| 432 | * include/zilog/Makefile.am, include/Makefile.am, |
---|
| 433 | include/motorola/Makefile.am, include/sys/Makefile.am |
---|
| 434 | include/rtems/Makefile.am: Apply include_*HEADERS instead of |
---|
| 435 | H_FILES. |
---|
| 436 | |
---|
[56f20bac] | 437 | 2001-01-26 Joel Sherrill <joel@OARcorp.com> |
---|
| 438 | |
---|
| 439 | * libc/chroot.c: Fixed naming problems. Names were changed |
---|
| 440 | when the code this depends on was merged. |
---|
| 441 | |
---|
[37535317] | 442 | 2001-01-25 Fernando Ruiz <fernando.ruiz@ctv.es> |
---|
| 443 | |
---|
| 444 | * Alternate email is correo@fernando-ruiz.com |
---|
| 445 | * libc/chroot.c: New file. |
---|
| 446 | * libc/Makefile.am: Reflect above. |
---|
| 447 | |
---|
[41caf2df] | 448 | 2001-01-25 Fernando Ruiz <fernando.ruiz@ctv.es> |
---|
| 449 | |
---|
| 450 | * Alternate email is correo@fernando-ruiz.com |
---|
| 451 | * libc/privateenv.c: New file. |
---|
| 452 | * include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c, |
---|
| 453 | libc/unmount.c: Moved default umask, current working directory, |
---|
| 454 | root, and links followed count into a structure "user environment" |
---|
| 455 | that can then be treated as a unit. This enable giving unique |
---|
| 456 | copies of these to individual threads or collection of threads. |
---|
| 457 | |
---|
[9c49db4] | 458 | 2001-01-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 459 | |
---|
| 460 | * configure.in: Add libc/config.h |
---|
| 461 | * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h |
---|
| 462 | * libc/.cvsignore: Add config.h and stamp-h |
---|
| 463 | * libc/*.c: Add config.h support. |
---|
| 464 | |
---|
[922a723] | 465 | 2000-12-06 Joel Sherrill <joel@OARcorp.com> |
---|
| 466 | |
---|
| 467 | * libc/mallocfreespace.c: Name of routine is |
---|
| 468 | rtems_region_get_information() NOT region_get_information(). |
---|
| 469 | * libc/unmount.c: Removed unused variable. |
---|
| 470 | |
---|
[88d7985] | 471 | 2000-11-30 Joel Sherrill <joel@OARcorp.com> |
---|
| 472 | |
---|
| 473 | * include/rtems/Makefile.am: Added termiostypes.h. |
---|
| 474 | * libc/Makefile.am: Removed termiostypes.h. |
---|
| 475 | * libc/termios.c: Changed include of "termiostypes.h" to |
---|
| 476 | <rtems/termiostypes.h> since that is an RTEMS specific header file. |
---|
| 477 | |
---|
[f5f31dd] | 478 | 2000-11-29 Joel Sherrill <joel@OARcorp.com> |
---|
| 479 | |
---|
| 480 | * include/sys/ttycom.h: New file -- moved from libnetworking/sys. |
---|
| 481 | * Makefile.am: Modified to reflect above. |
---|
| 482 | |
---|
[e23afc3] | 483 | 2000-11-28 Sergei Organov <osv@javad.ru> |
---|
| 484 | |
---|
| 485 | * libc/getcwd.c: Ensure _closedir(dir) is called even on |
---|
| 486 | error exit from the routine. |
---|
| 487 | |
---|
[e2af631] | 488 | 2000-11-25 Antti P Miettinen <antti.p.miettinen@nokia.com> |
---|
| 489 | |
---|
| 490 | * libc/termios.c, libc/termiostypes.h: Task driver driver model |
---|
| 491 | and line discipline support from Thomas Doerfler |
---|
| 492 | <Thomas.Doerfler@imd-systems.de>. |
---|
| 493 | |
---|
[bde7e18e] | 494 | 2000-11-20 Dmitry Kargapolov <dk@gentex.ru> |
---|
| 495 | |
---|
| 496 | * libc/mount.c: Make sure there is space allocated for a device name |
---|
| 497 | in the mount table entry. |
---|
| 498 | |
---|
| 499 | 2000-11-17 Jennifer Averret <jennifer@OARcorp.com> |
---|
| 500 | |
---|
| 501 | * libc/mount.c (search_mt_for_mount_point): Deleted routine. |
---|
| 502 | * libc/mount.c (Is_node_fs_root): Replacement for above that |
---|
| 503 | accounts for the imaginary root node being returned by the |
---|
| 504 | filesystem evaluation routine. |
---|
| 505 | * libc/unmount.c (unmount): Account for imaginary root node |
---|
| 506 | being returned and improved variable names to clarify code. |
---|
| 507 | * libc/unmount.c (file_systems_below_this_mountpoint): Body of |
---|
| 508 | routine replaced to account for imaginary root node being returned. |
---|
| 509 | |
---|
[5dc2b66d] | 510 | 2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 511 | |
---|
| 512 | * libc/libio.c: Special treatment of O_NDELAY for Cygwin. |
---|
| 513 | |
---|
[feead226] | 514 | 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 515 | |
---|
| 516 | * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. |
---|
| 517 | |
---|
[a314d3b4] | 518 | 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 519 | |
---|
| 520 | * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal. |
---|
| 521 | |
---|
[3ba74c73] | 522 | 2000-11-01 Joel Sherrill <joel@OARcorp.com> |
---|
| 523 | |
---|
| 524 | * configure.in: Added include/rtems subdirectory. |
---|
| 525 | |
---|
| 526 | 2000-11-01 Joel Sherrill <joel@OARcorp.com> |
---|
| 527 | |
---|
| 528 | * include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am, |
---|
| 529 | libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c, |
---|
| 530 | libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c, |
---|
| 531 | libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c, |
---|
| 532 | libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c, |
---|
| 533 | libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c, |
---|
| 534 | libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c, |
---|
| 535 | libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c, |
---|
| 536 | libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c, |
---|
| 537 | libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c, |
---|
| 538 | libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c, |
---|
| 539 | libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c, |
---|
| 540 | libc/utime.c, libc/write.c: |
---|
| 541 | assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved |
---|
| 542 | from libc to lib/include/rtems and now must be referenced as |
---|
| 543 | <rtems/XXX.h>. |
---|
| 544 | * include/rtems/Makefile.am, include/rtems/.cvsignore: New file. |
---|
| 545 | * include/rtems/assoc.h, include/rtems/error.h, |
---|
| 546 | include/rtems/libcsupport.h, include/rtems/libio.h, |
---|
| 547 | include/rtems/libio_.h: New/moved files. |
---|
| 548 | |
---|
[2d5748f] | 549 | 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 550 | |
---|
| 551 | * configure.in: Remove bogus cfg_subdirs. |
---|
| 552 | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. |
---|
| 553 | Switch to GNU canonicalization. |
---|
[7b0001f7] | 554 | |
---|
| 555 | 2000-10-24 Joel Sherrill <joel@OARcorp.com> |
---|
| 556 | |
---|
| 557 | * libc/ioman.c: Moved to libfs. |
---|
| 558 | * libc/Makefile.am: Removed ioman.c as part of moving it to libfs. |
---|
| 559 | * libc/base_fs.c: Removed include of imfs.h and reworded comment |
---|
| 560 | to avoid being IMFS specific. |
---|
| 561 | * libc/libio.h: Removed prototype of IMFS_ops since it should |
---|
| 562 | not be in this file. |
---|
| 563 | * libc/mount.c: Removed IMFS specific configuration information. |
---|
| 564 | * libc/unmount.c: Removed include of imfs.h and reworded comment |
---|
| 565 | to avoid being IMFS specific. |
---|
[e94ad1fe] | 566 | |
---|
[bfac6a7] | 567 | 2000-10-18 Chris Johns <ccj@acm.org> |
---|
| 568 | |
---|
| 569 | * libfs created. |
---|
| 570 | * libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c, |
---|
| 571 | libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c, |
---|
| 572 | libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c, |
---|
| 573 | libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c, |
---|
| 574 | libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c, |
---|
| 575 | libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c, |
---|
| 576 | libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c, |
---|
| 577 | libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c, |
---|
| 578 | libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c, |
---|
| 579 | libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c, |
---|
| 580 | libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c: |
---|
| 581 | Moved to libfs/src/imfs. |
---|
| 582 | * Makefile.am: Modified to reflect above. |
---|
| 583 | |
---|
[3815a2b] | 584 | 2000-10-18 Joel Sherrill <joel@OARcorp.com> |
---|
| 585 | |
---|
| 586 | * libc/Makefile.am: Added mallocfreespace.c. |
---|
| 587 | * libc/mallocfreespace.c: New file based on work by Nick Simon |
---|
| 588 | <Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c. |
---|
| 589 | * libc/libcsupport.h: Added prototype for malloc_free_space(). |
---|
| 590 | |
---|
[e3250b3] | 591 | 2000-10-18 Joel Sherrill <joel@OARcorp.com> |
---|
| 592 | |
---|
| 593 | * libc/fcntl.c: Do not require every filesystem to have an fcntl() |
---|
| 594 | handler. Most fcntl() operations can be performed with no |
---|
| 595 | filesystem support. |
---|
| 596 | * ChangeLog: Corrected comment. |
---|
| 597 | |
---|
[9c3fa30] | 598 | 2000-09-28 Joel Sherrill <joel@OARcorp.com> |
---|
| 599 | |
---|
| 600 | * libc/libio.h (rtems_filesystem_file_handlers_r, |
---|
| 601 | rtems_filesystem_operations_table): Added _h to all structure |
---|
| 602 | fields to indicate they are "handlers". |
---|
| 603 | * libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c, |
---|
| 604 | libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c, |
---|
| 605 | libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c, |
---|
| 606 | libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c, |
---|
| 607 | libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c, |
---|
| 608 | libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c, |
---|
| 609 | libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c, |
---|
| 610 | libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c: |
---|
| 611 | Modified to reflect above name change. |
---|
| 612 | |
---|
[fb327db3] | 613 | 2000-09-22 Joel Sherrill <joel@OARcorp.com> |
---|
| 614 | |
---|
| 615 | * libc/newlibc.c: Removed _A29K specific ifdef. |
---|
| 616 | |
---|
[9c48256] | 617 | 2000-09-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 618 | |
---|
| 619 | * configure.in: Cleanup comments. |
---|
| 620 | |
---|
[9eb89a1e] | 621 | 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 622 | |
---|
| 623 | * libc/Makefile.am: Include compile.am |
---|
| 624 | |
---|
[5a9a5ec] | 625 | 2000-09-05 Joel Sherrill <joel@OARcorp.com> |
---|
| 626 | |
---|
| 627 | * libio.c: Added O_NONBLOCK to list of flags. |
---|
| 628 | |
---|
[51f21b2] | 629 | 2000-08-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
---|
| 630 | |
---|
| 631 | * configure.in: Remove libcpu and libbsp |
---|
| 632 | * Makefile.am: Remove libcpu and libbsp |
---|
| 633 | |
---|
[1a3b281] | 634 | 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
| 635 | |
---|
| 636 | * libc/fs_null_handlers.c: Added missing rmnod entry. |
---|
| 637 | |
---|
[662678d1] | 638 | 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
| 639 | |
---|
| 640 | * libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c, |
---|
| 641 | libc/imfs_directory.c: Fixed style issues. |
---|
| 642 | |
---|
[dd19c0b] | 643 | 2000-08-11 Chris Johns <ccj@acm.org> |
---|
| 644 | |
---|
| 645 | * libc/chmod.c: Return ENOTSUP if filesystem does not have handler. |
---|
| 646 | * libc/eval.c: Ditto. |
---|
| 647 | * libc/fcntl.c: Ditto. |
---|
| 648 | * libc/fsync.c: Ditto. |
---|
| 649 | * libc/ioctl.c: Ditto. |
---|
| 650 | * libc/ioman.c: Ditto. |
---|
| 651 | * libc/link.c: Ditto. |
---|
| 652 | * libc/mknod.c: Ditto. |
---|
| 653 | * libc/symlink.c: Ditto. |
---|
| 654 | * libc/libio.h(rtems_filesystem_dev_major_t): New macro. |
---|
[e3250b3] | 655 | * libc/libio.h(rtems_filesystem_dev_minor_t): New macro. |
---|
| 656 | * libc/memfile.c: Deleted assert. Added code to properly handle |
---|
[dd19c0b] | 657 | appending to a file. |
---|
| 658 | |
---|
[e94ad1fe] | 659 | 2000-08-10 Joel Sherrill <joel@OARcorp.com> |
---|
| 660 | |
---|
| 661 | * ChangeLog: New file. |
---|