Joel Sherrill
09220c8129
untar.c: Coverity ID 26151 and reformat
...
The Coverity issue was an ignored return value from a read()
in a loop which should have been a seek() since the data
read was ignored.
The file itself needed reformatting to conform to RTEMS style.
2015-01-04 13:44:57 -06:00
Sebastian Huber
11925eef78
Delete or rename MIN/MAX macros and defines
...
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
2014-11-21 08:52:29 +01:00
Chris Johns
c49985691f
Change all references of rtems.com to rtems.org.
2014-03-21 08:10:47 +11:00
Gedare Bloom
e075b38872
untar: check return value from mkdir
...
Check the return value from mkdir instead of failing silently.
1063857 Unchecked return value from library
2013-09-05 14:10:52 -04:00
Cynthia Rempel
df533f10c0
Stop a resource leak
...
Stops a resource leak in the event that the system cannot malloc
2013-08-26 09:18:37 +02:00
Mathew Kallada
148e3de629
libmisc: Doxygen Enhancement Task #2
...
http://www.google-melange.com/gci/task/view/google/gci2012/7959228
2012-12-19 09:51:38 -05:00
Joel Sherrill
9b4422a251
Remove All CVS Id Strings Possible Using a Script
...
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
2012-05-11 08:44:13 -05:00
Joel Sherrill
d9bc968d5b
2011-11-07 Ralf Corsepius <ralf.corsepius@rtems.org>
...
PR 1952/cpukit
* libmisc/untar/untar.c: Add return code for failure when unable to
write file.
2011-11-07 21:42:22 +00:00
Ralf Corsepius
b15fb6e065
2010-08-24 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/untar/untar.c: Return if open fails.
Use ssize_t for read() return value.
2010-08-24 13:06:24 +00:00
Joel Sherrill
4f3d72fb53
2010-07-27 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.c: Now supports
both pax and GNU tar created tar files.
2010-07-27 18:11:42 +00:00
Joel Sherrill
acc9f0ab7d
2007-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/untar/untar.c, libmisc/untar/untar.h: Clean up prototype.
2007-09-05 23:46:36 +00:00
Joel Sherrill
5fb9e2fc36
2007-09-04 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/untar/untar.c, libmisc/untar/untar.h: Add const to char *.
Use printk.
2007-09-04 19:32:54 +00:00
Ralf Corsepius
f3ad98f483
2005-02-09 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/untar/untar.c (_rtems_octal2ulong): Replace.
2005-02-09 03:24:29 +00:00
Ralf Corsepius
1996aee7f0
2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c,
libmisc/untar/untar.c, libmisc/untar/untar.h:
Various generalizations and fixes.
2005-02-07 13:25:14 +00:00
Ralf Corsepius
e49f4c789b
2005-01-27 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/untar/untar.h: New prototype to eleminate warnings.
* libmisc/untar/untar.c: Cosmetics, add symlinks.
2005-01-27 10:14:57 +00:00
Ralf Corsepius
714f06c7fa
2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libmisc/capture/capture-cli.c, libmisc/cpuuse/cpuuse.c,
libmisc/dumpbuf/dumpbuf.c, libmisc/fsmount/fsmount.c,
libmisc/monitor/mon-command.c, libmisc/monitor/mon-config.c,
libmisc/monitor/mon-dname.c, libmisc/monitor/mon-driver.c,
libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-mpci.c,
libmisc/monitor/mon-object.c, libmisc/monitor/mon-prmisc.c,
libmisc/monitor/mon-queue.c, libmisc/monitor/mon-symbols.c,
libmisc/monitor/mon-task.c, libmisc/rtmonuse/rtmonuse.c,
libmisc/shell/cmds.c, libmisc/shell/shell.c, libmisc/shell/shell.h,
libmisc/stackchk/check.c, libmisc/untar/untar.c: Use
fprintf(stdout,...) instead of printf.
2004-04-17 08:12:02 +00:00
Ralf Corsepius
aed742c9a0
Remove stray white spaces.
2004-04-16 12:06:28 +00:00
Ralf Corsepius
3239698d1f
Remove stray white spaces.
2004-04-15 13:26:21 +00:00
Joel Sherrill
3160ff6241
2003-09-04 Joel Sherrill <joel@OARcorp.com>
...
* cpuuse/cpuuse.c, cpuuse/cpuuse.h, devnull/devnull.c,
devnull/devnull.h, dummy/dummy.c, dumpbuf/dumpbuf.c,
dumpbuf/dumpbuf.h, fsmount/fsmount.c, fsmount/fsmount.h,
serdbg/serdbgio.c, serdbg/termios_printk.c, stackchk/check.c,
stackchk/internal.h, stackchk/stackchk.h, untar/untar.c,
untar/untar.h: URL for license changed.
2003-09-04 18:54:19 +00:00
Ralf Corsepius
550c3df787
2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* capture/capture-cli.c: Add config-header support.
* capture/capture.c: Add config-header support.
* cpuuse/cpuuse.c: Add config-header support.
* devnull/devnull.c: Add config-header support.
* dummy/dummy.c: Add config-header support.
* dumpbuf/dumpbuf.c: Add config-header support.
* monitor/mon-command.c: Add config-header support.
* monitor/mon-config.c: Add config-header support.
* monitor/mon-dname.c: Add config-header support.
* monitor/mon-driver.c: Add config-header support.
* monitor/mon-extension.c: Add config-header support.
* monitor/mon-itask.c: Add config-header support.
* monitor/mon-manager.c: Add config-header support.
* monitor/mon-monitor.c: Add config-header support.
* monitor/mon-mpci.c: Add config-header support.
* monitor/mon-object.c: Add config-header support.
* monitor/mon-prmisc.c: Add config-header support.
* monitor/mon-queue.c: Add config-header support.
* monitor/mon-server.c: Add config-header support.
* monitor/mon-symbols.c: Add config-header support.
* monitor/mon-task.c: Add config-header support.
* mw-fb/mw_fb.c: Add config-header support.
* mw-fb/mw_uid.c: Add config-header support.
* rtmonuse/rtmonuse.c: Add config-header support.
* serdbg/serdbg.c: Add config-header support.
* serdbg/serdbgio.c: Add config-header support.
* serdbg/termios_printk.c: Add config-header support.
* shell/cmds.c: Add config-header support.
* stackchk/check.c: Add config-header support.
* untar/untar.c: Add config-header support.
2003-07-08 08:39:16 +00:00
Joel Sherrill
2b283071c6
Bug report from Ralf on UNIX port where the S_IR* constants were not
...
defined.
1999-04-14 18:18:03 +00:00
Joel Sherrill
b08d3ed989
Untar support submitted by Jake Janovetz <janovetz@tempest.ece.uiuc.edu>.
1999-04-06 21:45:06 +00:00