summaryrefslogtreecommitdiff
path: root/usr.bin/uudecode
AgeCommit message (Collapse)Author
2013-01-28Support both "-" and "/dev/stdout" as references to standardapb
output. Add comments about what POSIX says regarding stdout. Also add comments about what POSIX says regarding file mode. ---
2013-01-28* Add "-o outfile" option. This is required by POSIX.1-2008.apb
* 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.
2011-09-06static + __deadjoerg
2009-04-14Fix -Wcast-qual issuelukem
2008-11-29Sync usage message with man page. PR 40063.dholland
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
Tweak to use a consistent format.
2006-09-24implement HOST_CPPFLAGS+= -DNO_BASE64dbj
this fixes cross compiling
2006-09-24PR/33319: Seebs: base64 is annoyingelad
Thanks to Matt Fleming for implementing a -m switch (base64 mode) for both uuencode(1) and uudecode(1)! Man-pages updated as well.
2005-06-29de-__P(), ansify, use {g,s}etprogname.wiz
2004-11-04Add (unsigned char) cast to ctype functionsdsl
2003-10-27Overhaul how `build.sh tools' are used:lukem
* 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).
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-05-18Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),lukem
there's no need to special-case .include-ing it.
2002-09-18makefile delint. use NETBSDSRCDIR as appropriatelukem
2002-06-29correct misuse of warnx, which leads to non-informative erroritojun
message when we specify nonexisting file as argument, like: % uudecode hoge uudecode: hoge
2002-06-11err/errx/warn/warnx do not need \n at the enditojun
2002-01-31Make this compilable as a host tool.tv
2001-12-12MKfoo=no -> NOfootv
1999-03-23revert usage string to be like it was, but with '[-p] ' added. the newcgd
spacing was bogus, and didn't match other commands' usage strings. The change really should have been looked at more carefully...
1999-03-23fix bug introduced in rev 1.11: freopen 'fn' (as before), not 'buf' (ascgd
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>.
1999-03-18Add a -p option to uudecode(1), which causes it to write decoded data tokleink
stdout; based on PR bin/7183 from SUNAGAWA Keiki.
1999-02-13convert from NOxxx= to MKxxx=no.lukem
include <bsd.own.mk> if testing a MKxxx variable.
1999-01-20Allow filename at "begin" line to contain spaces. Patch submitted byhubertf
John F. Woods <jfw@jfwhome.funhouse.com> in PR 6854.
1998-12-19remove local decl of errno.christos
1997-10-20WARNSify, deprecate register, getopt returns -1, use ANSI string.h funcslukem
1997-05-17NULL => 0 (Arne Juul; PR#3629)pk
1994-11-17fix typojtc
1994-11-17Merged with 4.4lite.jtc
Changed to conform to NetBSD's new RCS Id convention.
1993-11-09Well behaved POSIX.2 utilities always call setlocale() and getopt().jtc
1993-08-27Minor tweaks: including header files to bring prototypes into scope,jtc
explicitly declaring function return values, etc. to make gcc -Wall shut up.
1993-08-01Add RCS identifiers.mycroft
1993-07-30Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd