| Commit message (Collapse) | Author | Files | Lines |
|
* libmisc/cpuuse/cpuusagereport.c: Make compile again.
|
|
* libmisc/shell/main_setenv.c: Revert after discussion. Mark as
intentional in Coverity.
|
|
* libmisc/shell/main_setenv.c: Address Coverity issue 134 which
recommends using strnXXX methods.
|
|
* libmisc/cpuuse/cpuusagereport.c: Avoid assumptions on execution
context.
|
|
PR 1763/shell
* libmisc/shell/hexdump-conv.c: Remove debug hacks.
PR 1757/filesystem
* libfs/src/rfs/rtems-rfs-block-pos.h,
libfs/src/rfs/rtems-rfs-block.h, libfs/src/rfs/rtems-rfs-file.c,
libfs/src/rfs/rtems-rfs-rtems-file.c: Set the file size in
iop-size when a file is open. Fix lseek to end of file then write
for sizes less than half the file system block size.
* libfs/src/rfs/rtems-rfs-rtems-dev.c,
libfs/src/rfs/rtems-rfs-rtems-dir.c,
libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-rtems.h:
Fix the fstat and fchmod calls due to the change in the iop struct
where pathinfo went away. The node_access field in pathinfo was
overloaded.
|
|
* libmisc/mouse/mouse_parser.c, libmisc/mouse/serial_mouse.c: Remove
include of bsp.h
|
|
PR 1762/cpukit
* Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am:
Add generic serial mouse driver and mouse parser. The parser code was
in the pc386 BSP but was generic so cleaned up and placed here.
Serial mouse driver itself is new.
* libmisc/mouse/README, libmisc/mouse/mouse_parser.c,
libmisc/mouse/mouse_parser.h, libmisc/mouse/serial_mouse.c,
libmisc/mouse/serial_mouse.h: New files.
|
|
* libmisc/cpuuse/cpuusagereport.c: Fix calculation in case a thread
dispatch happends in the meantime. The percent values will not sum up
to one hundred percent.
|
|
* include/rtems/irq-extension.h: Documentation.
* libmisc/monitor/mon-prmisc.c: Fix for multiprocessing configuration.
|
|
* libmisc/devnull/devnull.h, libmisc/stackchk/stackchk.h:
Fix header guard. Add missing includes.
|
|
* libmisc/Makefile.am, libmisc/fb/mw_uid.c, libmisc/fb/mw_uid.h: Clean
up. Add Doxygen style comments. Add method to print uid structure.
* libmisc/fb/mw_print.c: New file.
|
|
* libblock/include/rtems/bdpart.h (rtems_bdpart_format):
Preserve previous API.
* libblock/src/bdpart-create.c, libblock/src/bdpart-read.c,
libblock/src/bdpart-write.c: Reflect changes above.
* libmisc/shell/fdisk.c: Reflect changes above.
|
|
* libmisc/capture/capture.c, posix/src/keyfreememory.c,
posix/src/pthread.c, score/include/rtems/score/wkspace.h,
score/src/objectextendinformation.c,
score/src/objectnamespaceremove.c, score/src/objectsetname.c,
score/src/threadclose.c, score/src/threadinitialize.c,
score/src/wkspace.c: Many places were checking for a NULL pointer
before calling _Workspace_Free. By moving the check into
_Workspace_Free, we eliminate a number of conditional paths and make
it harder to return a NULL pointer.
|
|
* libmisc/shell/fdisk.c: Reflect changes above.
|
|
* libmisc/shell/hexdump-display.c:
Eliminate bcopy, bzero, bcmp, index (Obsolete).
* libmisc/shell/hexdump-parse.c: Eliminate index (Obsolete).
* libmisc/shell/hexsyntax.c: Eliminate rindex (Obsolete).
* libmisc/shell/main_hexdump.c: Eliminate rindex (Obsolete).
* libmisc/shell/main_rm.c: Eliminate rindex (Obsolete).
|
|
* libmisc/stringto/stringtounsignedchar.c,
libmisc/stringto/stringtounsignedint.c: Reformat range check.
|
|
* libmisc/Makefile.am: Add stringto/stringtolongdouble.c.
* libmisc/stringto/stringtolongdouble.c: New.
|
|
* libmisc/stringto/stringto.h: Rename header-guard.
Add rtems_string_to_long_double.
|
|
* libmisc/stringto/stringtoint.c: Reformat range check.
Add check for result==0.
|
|
* libmisc/stringto/stringtofloat.c: Reformat range check.
Add check for result = -HUGE_VALF.
|
|
* libmisc/stringto/stringtodouble.c: Reformat range check.
Add check for result = -HUGE_VAL.
|
|
* libmisc/stringto/stringtolonglong.c: Reformat range check.
c99 portability improvements. Add check for result==0.
|
|
* libmisc/stringto/stringtounsignedlonglong.c: Reformat range check.
c99 portability improvements.
|
|
* libmisc/stringto/stringtounsignedlong.c: Reformat range check.
|
|
* libmisc/stringto/stringtolong.c: Reformat range check.
Add check for result==0.
|
|
* libmisc/Makefile.am: Remove stringto/stringto_template.h.
* libmisc/stringto/stringto_template.h: Remove.
|
|
* libmisc/stringto/stringtodouble.c,
libmisc/stringto/stringtofloat.c: Rework.
|
|
* libmisc/stringto/stringtolong.c,
libmisc/stringto/stringtolonglong.c,
libmisc/stringto/stringtounsignedlong.c,
libmisc/stringto/stringtounsignedlonglong.c:
Rework.
|
|
* libmisc/stringto/stringtoint.c,
libmisc/stringto/stringtounsignedint.c,
libmisc/stringto/stringtounsignedchar.c: Rework.
|
|
* libmisc/stringto/stringtopointer.c: Rework.
|
|
* libmisc/capture/capture.c: Avoid using TCB of task just deleted.
|
|
* libmisc/shell/main_dd.c: Make symbol unique to avoid conflict with
same name in <sys/stat.h>.
|
|
* posix/src/aio_cancel.c: Fixed ending of if braces.
2011-01-17 Alin Rus <alin.codejunkie@gmail.com>
* posix/src/aio_misc.c: Add debug information. Fixed idle_threads/
active_threads issues. Fixed infinite loop in rtems_aio_handle().
|
|
* libmisc/cpuuse/cpuusagereport.c: We have to take the time since the
last context switch before the uptime.
|
|
* libnetworking/loop.h, libnetworking/net/if_loop.c,
libnetworking/rtems/rtems_glue.c, libmisc/dummy/dummy-networking.c:
Initialize loop back interface during normal initialization via
rtems_bsdnet_initialize_network().
|
|
* score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c:
Avoid dead code if POSIX API is enabled.
|
|
* score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c:
Fixed NULL pointer access in case POSIX API is disabled.
|
|
* libmisc/monitor/mon-monitor.c: Fixed broken monitor command list.
|
|
* libmisc/monitor/mon-monitor.c: Move node code into multiprocessing
ifdef.
|
|
* libmisc/stackchk/check.c: Make compile again.
* sapi/src/io.c, score/src/heap.c: Address dead assignment
issues found by clang.
|
|
* libmisc/stackchk/check.c: Address casting issue highlighted by clang.
There was no need for an intermediate cast to a structure pointer.
|
|
PR 1694/shell
* libmisc/shell/main_setenv.c: Address memory leak identified by
Coverity.
|
|
* libmisc/shell/main_date.c: Use snprintf() not sprintf().
|
|
* libmisc/monitor/mon-symbols.c: Fix length of buffer passed to
strncpy() so there is room for a NULL terminator.
|
|
Coverity Id 169
* libmisc/stackchk/check.c: Readd line accidentally deleted between
1.67 and 1.68.
|
|
Coverity Id 163
* libmisc/stackchk/check.c: Adjust conditional compilation.
|
|
* libmisc/untar/untar.c: Return if open fails.
Use ssize_t for read() return value.
|
|
* libmisc/fb/fb.h: Add constants for buffer modes.
|
|
* libmisc/stackchk/check.c: If this port does not allocate the
interrupt stack, then it must always be a thread stack. Do not
include code to print the interrupt stack information.
|
|
* libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.c: Now supports
both pax and GNU tar created tar files.
|