Home | History | Annotate | Download | only in uudecode
History log of /src/usr.bin/uudecode/uudecode.c
RevisionDateAuthorComments
 1.28  28-Jan-2013  apb Support both "-" and "/dev/stdout" as references to standard
output. Add comments about what POSIX says regarding stdout.
Also add comments about what POSIX says regarding file mode.
---
 1.27  28-Jan-2013  apb * Add "-o outfile" option. This is required by POSIX.1-2008.
* Recognise "/dev/stdout" as a magic filename, both when embedded in the
data stream and when specified via "-o". This is also required by
POSIX.1-2008.
* Reimplement "-p" as an alias for "-o /dev/stdout".

Thanks to Steffen Daode Nurpmeso for drawing my attention to the problems.
 1.26  06-Sep-2011  joerg branches: 1.26.2; 1.26.8;
static + __dead
 1.25  14-Apr-2009  lukem Fix -Wcast-qual issue
 1.24  29-Nov-2008  dholland branches: 1.24.2;
Sync usage message with man page. PR 40063.
 1.23  21-Jul-2008  lukem branches: 1.23.4;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.22  24-Sep-2006  dbj branches: 1.22.18;
implement HOST_CPPFLAGS+= -DNO_BASE64
this fixes cross compiling
 1.21  24-Sep-2006  elad PR/33319: Seebs: base64 is annoying

Thanks to Matt Fleming for implementing a -m switch (base64 mode) for
both uuencode(1) and uudecode(1)! Man-pages updated as well.
 1.20  29-Jun-2005  wiz de-__P(), ansify, use {g,s}etprogname.
 1.19  04-Nov-2004  dsl Add (unsigned char) cast to ctype functions
 1.18  27-Oct-2003  lukem Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h

* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
 1.17  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.16  29-Jun-2002  itojun correct misuse of warnx, which leads to non-informative error
message when we specify nonexisting file as argument, like:

% uudecode hoge
uudecode: hoge
 1.15  11-Jun-2002  itojun err/errx/warn/warnx do not need \n at the end
 1.14  31-Jan-2002  tv Make this compilable as a host tool.
 1.13  23-Mar-1999  cgd revert usage string to be like it was, but with '[-p] ' added. the new
spacing was bogus, and didn't match other commands' usage strings.
The change really should have been looked at more carefully...
 1.12  23-Mar-1999  cgd fix bug introduced in rev 1.11: freopen 'fn' (as before), not 'buf' (as
changed in rev 1.11). The former is the file name on the 'begin' line,
thel atter is the whole 'begin' line. This could never have worked;
it should have been better tested.
Bug pointed out by Andrew Gillham <gillhaa@ghost.whirlpool.com>.
 1.11  18-Mar-1999  kleink Add a -p option to uudecode(1), which causes it to write decoded data to
stdout; based on PR bin/7183 from SUNAGAWA Keiki.
 1.10  20-Jan-1999  hubertf Allow filename at "begin" line to contain spaces. Patch submitted by
John F. Woods <jfw@jfwhome.funhouse.com> in PR 6854.
 1.9  19-Dec-1998  christos remove local decl of errno.
 1.8  20-Oct-1997  lukem WARNSify, deprecate register, getopt returns -1, use ANSI string.h funcs
 1.7  17-May-1997  pk NULL => 0 (Arne Juul; PR#3629)
 1.6  17-Nov-1994  jtc fix typo
 1.5  17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.4  09-Nov-1993  jtc Well behaved POSIX.2 utilities always call setlocale() and getopt().
 1.3  27-Aug-1993  jtc Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  17-Nov-1994  jtc imported from 4.4lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.22.18.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.23.4.1  29-Nov-2008  snj Pull up following revision(s) (requested by dholland in ticket #194):
usr.bin/uudecode/uudecode.c: revision 1.24
Sync usage message with man page. PR 40063.
 1.24.2.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.26.8.1  25-Feb-2013  tls resync with head
 1.26.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed