summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-261-1/+5
| | | | * libmisc/stringto/stringto_template.h: Remove warning.
* 2010-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-131-2/+5
| | | | | * libmisc/shell/fts.c (fts_pow2): Rebase fts_pow2 on SIZEOF_SIZE_T * CHAR_BIT.
* Use rtems_monitor_dump_addr instead of rtems_monitor_dump_hexRalf Corsepius2010-04-122-2/+2
| | | | to print addresses.
* Add rtems_monitor_dump_addr().Ralf Corsepius2010-04-122-0/+7
|
* 16bit target fixes.Ralf Corsepius2010-04-121-1/+1
|
* 2010-04-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-101-11/+10
| | | | | * libmisc/stackchk/check.c: Remove bogus casts. Use PRIxPTR to printk pointers.
* 2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-04-072-7/+7
| | | | | * libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h: Add const to fix warning. Spacing.
* 2010-04-05 Thomas Znidar <t.znidar@embed-it.com>Joel Sherrill2010-04-052-3/+22
| | | | | * libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h: Add reset command.
* Add HAVE_CONFIG_H support to let files receive configure defines.Ralf Corsepius2010-03-2810-0/+40
|
* Reorder includes.Ralf Corsepius2010-03-281-2/+2
|
* Add stringto/stringto_template.h to libstringto_a_SOURCES.Ralf Corsepius2010-03-281-3/+1
|
* Add HAVE_CONFIG_H support to let files receive configure defines.Ralf Corsepius2010-03-274-6/+20
|
* Minimize includes.Ralf Corsepius2010-03-271-1/+2
|
* Add HAVE_CONFIG_H guards around #include "config.h".Ralf Corsepius2010-03-279-2/+20
|
* Add HAVE_STRINGS_H for better POSIX compliance.Ralf Corsepius2010-03-271-0/+3
|
* Add HAVE_CONFIG_H support to let files receive configure defines.Ralf Corsepius2010-03-271-0/+4
|
* Add HAVE_STRINGS_H for better POSIX compliance.Ralf Corsepius2010-03-265-0/+16
|
* Add HAVE_CONFIG_H support to let files receive configure defines.Ralf Corsepius2010-03-2620-0/+80
|
* 2010-03-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-161-4/+6
| | | | | * libmisc/shell/shell_makeargs.c: Fix bugs introduced by patch attempting to add quoted arguments.
* 2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-127-12/+12
| | | | | | | | | | | | | | | | | | | * ftpd/ftpd.c, httpd/asp.c, httpd/ejparse.c, httpd/emfdb.c, httpd/misc.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_misc.c, libfs/src/nfsclient/src/nfs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/shell/shell.c, libmisc/shell/shell_makeargs.c, libmisc/uuid/parse.c, libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_addr.c, libnetworking/libc/inet_network.c, libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c, libnetworking/libc/res_query.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Readdress use of ctype methods per recommendation from D.J. Delorie on the newlib mailing list. We should pass an unsigned char into these methods.
* 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-115-9/+9
| | | | | | | | | | | | * ftpd/ftpd.c, httpd/uemf.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libblock/src/diskdevs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/uuid/parse.c, libnetworking/lib/ftpfs.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_network.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Fix warnings for ctype methods.
* 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-111-2/+3
| | | | * libmisc/shell/shell_makeargs.c: Fix warnings.
* 2010-03-11 Andrei Mozzhuhin <nopscmn@gmail.com>Joel Sherrill2010-03-111-10/+26
| | | | | PR 1496/shell * libmisc/shell/shell_makeargs.c: Add support for quoted arguments.
* 2010-03-09 Joel Sherrill <joel.sherrilL@oarcorp.com>Joel Sherrill2010-03-091-2/+2
| | | | * libmisc/Makefile.am: Remove duplicate file from list.
* 2010-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-02-281-1/+1
| | | | * libmisc/shell/shell_script.c: Fix typo.
* 2010-02-24 Chris Johns <chrisj@rtems.org>Chris Johns2010-02-242-1/+12
| | | | | | | * libmisc/shell/main_msdosfmt.c, libmisc/shell/shellconfig.h: Fix the alias as I did understand how it worked. * libfs/src/dosfs/msdos_format.c: Test for a block device.
* 2010-02-19 Chris Johns <chrisj@rtems.org>Chris Johns2010-02-196-6/+128
| | | | | | | | | | | | | | | | | * libblock/src/diskdevs.c: Create the devices as block devices. * libmisc/shell/main_debugrfs.c, libmisc/shell/main_mkrfs.c, libmisc/shell/main_mount_rfs.c: New. * libmisc/shell/main_msdosfmt.c: Change the command to mkdos and alias the old name. * libmisc/shell/shellconfig.h, libmisc/Makefile.am: Add RFS support. * libfs/src/rfs/rtems-rfs-shell.c, libfs/src/rfs/rtems-rfs-shell.h: Move the format command code into the shell file.
* 2010-02-18 Chris Johns <chrisj@rtems.org>Chris Johns2010-02-182-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libfs/src/rfs/rtems-rfs-bitmaps.c, libfs/src/rfs/rtems-rfs-bitmaps.h, libfs/src/rfs/rtems-rfs-bitmaps-ut.c, libfs/src/rfs/rtems-rfs-block.c, libfs/src/rfs/rtems-rfs-block.h, libfs/src/rfs/rtems-rfs-block-pos.h, libfs/src/rfs/rtems-rfs-buffer-bdbuf.c, libfs/src/rfs/rtems-rfs-buffer.c, libfs/src/rfs/rtems-rfs-buffer-devio.c, libfs/src/rfs/rtems-rfs-buffer.h, libfs/src/rfs/rtems-rfs-data.h, libfs/src/rfs/rtems-rfs-dir.c, libfs/src/rfs/rtems-rfs-dir.h, libfs/src/rfs/rtems-rfs-dir-hash.c, libfs/src/rfs/rtems-rfs-dir-hash.h, libfs/src/rfs/rtems-rfs-file.c, libfs/src/rfs/rtems-rfs-file.h, libfs/src/rfs/rtems-rfs-file-system.c, libfs/src/rfs/rtems-rfs-file-system-fwd.h, libfs/src/rfs/rtems-rfs-file-system.h, libfs/src/rfs/rtems-rfs-format.c, libfs/src/rfs/rtems-rfs-format.h, libfs/src/rfs/rtems-rfs-group.c, libfs/src/rfs/rtems-rfs-group.h, libfs/src/rfs/rtems-rfs.h, libfs/src/rfs/rtems-rfs-inode.c, libfs/src/rfs/rtems-rfs-inode.h, libfs/src/rfs/rtems-rfs-link.c, libfs/src/rfs/rtems-rfs-link.h, libfs/src/rfs/rtems-rfs-mutex.c, libfs/src/rfs/rtems-rfs-mutex.h, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-rtems-dev.c, libfs/src/rfs/rtems-rfs-rtems-dir.c, libfs/src/rfs/rtems-rfs-rtems-file.c, libfs/src/rfs/rtems-rfs-rtems.h, libfs/src/rfs/rtems-rfs-rtems-utils.c, libfs/src/rfs/rtems-rfs-shell.c, libfs/src/rfs/rtems-rfs-shell.h, libfs/src/rfs/rtems-rfs-trace.c, libfs/src/rfs/rtems-rfs-trace.h: New. * Makefile.am, preinstall.am, libfs/Makefile.am, wrapup/Makefile.am: Updated with the RFS support. * libfs/README: Updated after 10 years. * libblock/src/flashdisk.c, libblock/src/nvdisk.c, libblock/src/ramdisk-driver.c: Updated to the new error reporting in libblock. * libmisc/shell/main_ls.c, libmisc/shell/print-ls.c: Fix printing the size in long mode. * libnetworking/nfs/bootp_subr.c, libnetworking/rtems/rtems_bootp.c, libnetworking/rtems/rtems_bsdnet_internal.h: Return the BOOTP/DHCP to the forever behaviour of 4.9 with the ability to call BOOTP and control the process if required.
* 2010-02-01 Chris Johns <chrisj@rtems.org>Chris Johns2010-02-013-126/+167
| | | | | | | | | * libmisc/shell/fts.c: Updated to the latest NetBSD version to resolve heap allocation bugs. * libmisc/shell/main_ls.c, libmisc/shell/print-ls.c: Fix printing size bugs. * libnetworking/rtems/mkrootfs.c: Fix byte order bug when creating the loopback interface address.
* 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-201-2/+4
| | | | | Coverity Id 30 * libmisc/shell/hexdump-parse.c:
* 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-201-1/+3
| | | | | Coverity Id 1 * libmisc/shell/fts.c:
* 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-201-6/+10
| | | | | | | Coverity Id 27 * libmisc/fsmount/fsmount.c: Ensure calloc() returns memory and then we do not have to check null when freeing it. Coverity noted it was used before being checked for NULL.
* 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-201-5/+1
| | | | | Coverity Id 3 * libmisc/shell/shell.c: Remove dead code path and fix warning.
* 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-201-1/+3
| | | | * libmisc/shell/hexdump-parse.c: Fix uninitialized warning.
* 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-201-0/+1
| | | | | Coverity Id 30 * libmisc/shell/hexdump-parse.c: Add free(pr) before returning.
* 2010-01-20 Chris Johns <chrisj@rtems.org>Joel Sherrill2010-01-201-2/+4
| | | | | | Coverity Id 6 * libmisc/shell/hexdump-parse.c: Modify conditional to avoid NULL dereference.
* 2010-01-20 Chris Johns <chrisj@rtems.org>Joel Sherrill2010-01-201-1/+1
| | | | | | Coverity Id 9 * libmisc/shell/main_ls.c: Modify conditional to avoid NULL dereference.
* 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-191-0/+1
| | | | | Coverity Id 23 * libmisc/monitor/mon-monitor.c: Add fclose() of file.
* 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-191-1/+1
| | | | | Coverity Id 18 * libmisc/shell/fts.c: Add free(parent) to correct leak.
* 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-191-2/+2
| | | | * libmisc/stackchk/check.c: Fix warning.
* 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-181-10/+9
| | | | | | | | | | Coverity Id 12 Coverity Id 13 Coverity Id 14 Coverity Id 15 * libmisc/stackchk/check.c: Rewrote loop to avoid possible buffer overruns when the pattern area size is not a multiple of 16. There were no current ports impacted by this but better to be safe.
* 2009-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-181-10/+13
| | | | | | | | * libmisc/shell/login_prompt.c: Switch from non-canonical mode with timeout (Case C) to blocking IO waiting for single character on login. In Case C mode, you cannot tell EOF from no data available. This means we cannot tell when a telnet connection is dropped. This was changed from 4.9 and resulted in breakage.
* 2009-12-02 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2009-12-023-3/+3
| | | | | | | | | * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagedata.c, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, rtems/include/rtems/rtems/types.h, rtems/src/ratemongetstatistics.c, rtems/src/ratemonreportstatistics.c, score/src/threaddispatch.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Updated copyright line.
* 2009-12-02 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2009-12-023-19/+13
| | | | | | | | | | | | | * configure.ac, libcsupport/src/__times.c, libmisc/cpuuse/cpuusagedata.c, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/types.h, rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c, score/include/rtems/score/thread.h, score/src/threaddispatch.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Changed the configuration of statistics granularity to use just one define.
* 2009-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-12-012-0/+28
| | | | | * libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h: Tidy up as part of adding new test.
* 2009-11-30 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-11-301-10/+14
| | | | | * libmisc/shell/login_prompt.c: Fix problem where timeout on login prompt at console results in tight loop repeating login prompt.
* Added format string to fprintf().Thomas Doerfler2009-11-301-3/+3
|
* Whitespace removal.Ralf Corsepius2009-11-2953-281/+281
|
* Whitespace removal.Ralf Corsepius2009-11-296-10/+10
|
* 2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-11-231-6/+10
| | | | | | | * libmisc/shell/shell.c: Always duplicate the environment passed to us because we will delete it when the shell exits. If we do not duplicate it, we could end up freeing memory which was not allocated from the heap or double freeing it.