History log of /netbsd-src/usr.bin/uudecode/uudecode.c (Results 1 – 25 of 28)
Revision Date Author Comments
# 325671c8 28-Jan-2013 apb <apb@NetBSD.org>

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.
---


# 9a73b122 28-Jan-2013 apb <apb@NetBSD.org>

* 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 require

* 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.

show more ...


# 4d731124 06-Sep-2011 joerg <joerg@NetBSD.org>

static + __dead


# 14b71bc9 14-Apr-2009 lukem <lukem@NetBSD.org>

Fix -Wcast-qual issue


# 2ef1dd5f 29-Nov-2008 dholland <dholland@NetBSD.org>

Sync usage message with man page. PR 40063.


# 98e5374c 21-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.


# f3b496ec 24-Sep-2006 dbj <dbj@NetBSD.org>

implement HOST_CPPFLAGS+= -DNO_BASE64
this fixes cross compiling


# 3b4778f8 24-Sep-2006 elad <elad@NetBSD.org>

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.


# 05da4551 29-Jun-2005 wiz <wiz@NetBSD.org>

de-__P(), ansify, use {g,s}etprogname.


# df38245c 04-Nov-2004 dsl <dsl@NetBSD.org>

Add (unsigned char) cast to ctype functions


# 171d6532 27-Oct-2003 lukem <lukem@NetBSD.org>

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/com

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).

show more ...


# 89aaa1bb 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.


# 8e32c24c 29-Jun-2002 itojun <itojun@NetBSD.org>

correct misuse of warnx, which leads to non-informative error
message when we specify nonexisting file as argument, like:

% uudecode hoge
uudecode: hoge


# f51456c2 11-Jun-2002 itojun <itojun@NetBSD.org>

err/errx/warn/warnx do not need \n at the end


# c187f70e 31-Jan-2002 tv <tv@NetBSD.org>

Make this compilable as a host tool.


# 67631863 23-Mar-1999 cgd <cgd@NetBSD.org>

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.

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...

show more ...


# aa82d744 23-Mar-1999 cgd <cgd@NetBSD.org>

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

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>.

show more ...


# 5c39723c 18-Mar-1999 kleink <kleink@NetBSD.org>

Add a -p option to uudecode(1), which causes it to write decoded data to
stdout; based on PR bin/7183 from SUNAGAWA Keiki.


# 8139c502 20-Jan-1999 hubertf <hubertf@NetBSD.org>

Allow filename at "begin" line to contain spaces. Patch submitted by
John F. Woods <jfw@jfwhome.funhouse.com> in PR 6854.


# 86fc76a0 19-Dec-1998 christos <christos@NetBSD.org>

remove local decl of errno.


# 201e4f38 20-Oct-1997 lukem <lukem@NetBSD.org>

WARNSify, deprecate register, getopt returns -1, use ANSI string.h funcs


# b55c3729 17-May-1997 pk <pk@NetBSD.org>

NULL => 0 (Arne Juul; PR#3629)


# 373b32ea 17-Nov-1994 jtc <jtc@NetBSD.org>

fix typo


# 88d0435b 17-Nov-1994 jtc <jtc@NetBSD.org>

Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.


# 0605e44a 09-Nov-1993 jtc <jtc@NetBSD.org>

Well behaved POSIX.2 utilities always call setlocale() and getopt().


12