Up to [cvs.NetBSD.org] / src / usr.bin / mail
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.44 / (download) - annotate - [select for diffs], Thu Nov 9 20:27:50 2017 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
HEAD
Changes since 1.43: +3 -3
lines
Diff to previous 1.43 (colored)
Only open regular files.
Revision 1.42.10.1 / (download) - annotate - [select for diffs], Thu Apr 23 19:46:40 2015 UTC (8 years, 11 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Changes since 1.42: +3 -3
lines
Diff to previous 1.42 (colored) next main 1.43 (colored)
Pull up following revision(s) (requested by christos in ticket #719): usr.bin/mail/cmd3.c: revision 1.43 usr.bin/mail/extern.h: revision 1.33 usr.bin/mail/fio.c: revisions 1.41, 1.42 usr.bin/mail/mail.1: revision 1.61 usr.bin/mail/names.c: revision 1.31, 1.32 usr.bin/mail/send.c: revision 1.38 Fix various security related issues: 0001. Do not recognize paths, mail folders, and pipes in mail addresses by default. That avoids a direct command injection with syntactically valid email addresses starting with |. Such addresses can be specified both on the command line, the mail headers (with -t) or in address lines copied over from previous while replying. This was assigned CVE-2014-7844 for some versions of BSD mailx. It is documented behavior for Heirloom mailx, and was mentioned in an old technical report about BSD mailx (which does not usually make its way into operating system installations). The patch switches off this processing and updates the documentation. Added expandaddr option to explicitly enable this behavior. 0002. When invoking sendmail, prevent option processing for email address arguments. This prevents changing e.g. the Postfix configuration file in unexpected ways. This behavior was documented for BSD mailx (sort of), but not for Heirloom mailx. We did not assign a CVE to this because it is more of a missing feature, and code invoking mailx needs adjustment in the caller as well. Fixed. 0003. Make wordexp support mandatory. (No functional change.) Fixed (replaced explicit shell pipe implementation). 0004. Prevent command execution in the expand function, which is IMHO unexpected. (Not really required with patch 1, and there is still information disclosure/DoS potential if this expansion occurs.) This is a historic vulnerability already fixed in the Debian package, retroactively assigned CVE-2004-2771: Fixed (as part of the pipe replacement with wordexp). -- fix incorrect arg size computation
Revision 1.43 / (download) - annotate - [select for diffs], Tue Dec 16 19:30:24 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Changes since 1.42: +3 -3
lines
Diff to previous 1.42 (colored)
Fix various security related issues: 0001. Do not recognize paths, mail folders, and pipes in mail addresses by default. That avoids a direct command injection with syntactically valid email addresses starting with |. Such addresses can be specified both on the command line, the mail headers (with -t) or in address lines copied over from previous while replying. This was assigned CVE-2014-7844 for some versions of BSD mailx. It is documented behavior for Heirloom mailx, and was mentioned in an old technical report about BSD mailx (which does not usually make its way into operating system installations). The patch switches off this processing and updates the documentation. Added expandaddr option to explicitly enable this behavior. 0002. When invoking sendmail, prevent option processing for email address arguments. This prevents changing e.g. the Postfix configuration file in unexpected ways. This behavior was documented for BSD mailx (sort of), but not for Heirloom mailx. We did not assign a CVE to this because it is more of a missing feature, and code invoking mailx needs adjustment in the caller as well. Fixed. 0003. Make wordexp support mandatory. (No functional change.) Fixed (replaced explicit shell pipe implementation). 0004. Prevent command execution in the expand function, which is IMHO unexpected. (Not really required with patch 1, and there is still information disclosure/DoS potential if this expansion occurs.) This is a historic vulnerability already fixed in the Debian package, retroactively assigned CVE-2004-2771: Fixed (as part of the pipe replacement with wordexp).
Revision 1.41.6.1 / (download) - annotate - [select for diffs], Wed May 23 10:08:25 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.41: +3 -3
lines
Diff to previous 1.41 (colored) next main 1.42 (colored)
sync with head.
Revision 1.42 / (download) - annotate - [select for diffs], Sun Apr 29 23:50:22 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-7-base,
agc-symver-base,
agc-symver
Branch point for: netbsd-7
Changes since 1.41: +3 -3
lines
Diff to previous 1.41 (colored)
set close on exec for all opened files.
Revision 1.39.14.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:56 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.39: +45 -24
lines
Diff to previous 1.39 (colored) next main 1.40 (colored)
Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.41 / (download) - annotate - [select for diffs], Sat Apr 11 14:22:32 2009 UTC (15 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.40: +4 -4
lines
Diff to previous 1.40 (colored)
- magic fix for short files - knf from Anon Ymous
Revision 1.40 / (download) - annotate - [select for diffs], Fri Apr 10 13:08:24 2009 UTC (15 years ago) by christos
Branch: MAIN
Changes since 1.39: +43 -22
lines
Diff to previous 1.39 (colored)
From Anon Ymous: - Remove all longjmp(3) calls from signal handlers. Instead, we post to an internal signal queue and check that periodically. All signal related code is now in sig.c, except for the SIGCHLD handler which remains in popen.c as it is intimately tied to routines there. - Handle SIGPIPE in type1() regardless of mime support, or else the handler in execute() will prevent our error code from being returned resulting in 'sawcom' not being set on the first command as it should. This only affected the initial behavior of the "next" command without mime support. - Add the 'T' flag to many commands in cmdtab.c that should not look like the first command. E.g., start mail on a mailbox with multiple messages, run "set foo", then "next", and watch the second message get displayed rather than the first as is the case without the first "set" command. - Add file descriptor and file handle leak detection. Enabled by DEBUG_FILE_LEAK. This will likely disappear in the future. - Fix a long standing (since import in 1993) longjmp() bug in edstop(): the jmpbuf was invalid when quit() is called at the end of main. - Fix a long standing bug (since import in 1993) in snarf() where it didn't strip whitespace correctly if the line consisted only of whitespace. - Lint cleanup. - New Feature: "Header" command. This allows miscellaneous header fields to be added to the header, e.g., "X-Organization:" or "Reply-To:" fields. - New Feature: "page-also" variable. This allows the specification of additional commands to page. It is more flexible than "crt". - Document the "pager-off" variable: if set, it disables paging entirely.
Revision 1.34.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:48 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.34: +192 -30
lines
Diff to previous 1.34 (colored) next main 1.35 (colored)
sync with HEAD
Revision 1.39 / (download) - annotate - [select for diffs], Tue Oct 30 16:08:11 2007 UTC (16 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Branch point for: jym-xensuspend
Changes since 1.38: +4 -2
lines
Diff to previous 1.38 (colored)
From Anon Ymous: Make this compile without MIME_SUPPORT.
Revision 1.38 / (download) - annotate - [select for diffs], Tue Oct 30 02:28:30 2007 UTC (16 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.37: +63 -13
lines
Diff to previous 1.37 (colored)
From Anon Ymous: - Add a "forward" command as requested by garbled@. From the manpage: forward Takes a list of messages and prompts for an address (or addresses) to forward each message to. If no message list is specified, the current message is used. The mail editor is run for each message allowing the user to enter a message that will precede the forward message. The message is sent as a multi- part/mixed MIME encoded message. - Add the ability to match messages that do (or do not) contain a header field. E.g., the command "f ! /Subject:" will display the list of messages that are missing a "Subject" field. - Teach savemail() to prefix fake headlines so the mbox doesn't get broken. - Fixed a couple of "bugs" in the attachment editing routine.
Revision 1.37 / (download) - annotate - [select for diffs], Mon Oct 29 23:20:37 2007 UTC (16 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.36: +8 -8
lines
Diff to previous 1.36 (colored)
From Anon Ymous: knf changes: - s/sizeof x/sizeof(x)/. - remove unnecessary malloc typecasts. - whitespace nits.
Revision 1.36 / (download) - annotate - [select for diffs], Sat Oct 27 15:14:50 2007 UTC (16 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.35: +123 -13
lines
Diff to previous 1.35 (colored)
From Anon Ymous: - Add a "bounce" command as requested by garbled@. From the manpage: bounce Takes a list of messages and prompts for an address to bounce the messages to. All the original header fields are preserved except for the ``Delivered-To'', ``X-Original-To'' and ``Status'' fields. The new ``To'' field contains the bounce address(es) plus any addresses in the old ``To'' field minus the user's local address and any on the alternates list. (See the alternates com- mand.)
Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 23 14:58:43 2007 UTC (16 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.34: +5 -5
lines
Diff to previous 1.34 (colored)
From Anon Ymous: - Introduce date_to_tm() and hl_date_to_tm() to parse the date and headline date a bit more efficiently. - If 'tm_isdst' is determined, let strftime(3) handle the '%Z' and '%z' formats. Otherwise, output "-0000" and "???", respectively, to help preserve with alignment; strftime(3) will output an empty string in these case. - Change fail() to use the '-d' flag (which sets the 'debug' variable) rather than the "debug" _environment_ variable. This is more consistent with other warnings. - Don't use gcc C extensions, e.g., "case LOW ... HIGH:". - Define is_WSP() in def.h to be an inline function that for checks whitespace (WSP = ' ' or '\t'), as defined in RFC 2822. Use it consistently in place of isblank(). - For consistency, rename skip_blank() to skip_WSP(). - Add inline skip_space() to complement skip_blank() (now skip_WSP). - Check all ctype(3) calls for argument range issues. - Whitespace and comment cleanup/changes.
Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 5 17:50:22 2007 UTC (16 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.33: +3 -12
lines
Diff to previous 1.33 (colored)
Add RCSID's to help files and centralize the function to cat the help files.
Revision 1.33 / (download) - annotate - [select for diffs], Tue Nov 28 18:45:32 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4
Changes since 1.32: +341 -259
lines
Diff to previous 1.32 (colored)
From Anon Ymous: 1) Statification of modules. 2) Implement the 'detach' and 'Detach' commands for extracting mime parts from messages. 3) Teach mail to output "In-Reply-To" and "References" header fields when replying so others can thread us. 4) Implement threading, sorting, and tagging, supported by the following commands: 'flatten', 'reverse', 'sort', 'thread', 'unthread', 'down', 'tset', 'up', 'expose', 'hide', 'tag', 'untag', 'invtags', 'tagbelow', 'hidetags', 'showtags'. See the manpage for details (when available - soon). 5) Implement a 'deldups' command to delete duplicate messages based on their "Message-Id" field, e.g., in replies to a mailing list that are also CCed to a subscriber. (This can also be accomplished with the threading and tagging commands.) 6) Implement 'ifdef' and 'ifndef' commands, and make the conditionals nestable (i.e., implement a conditional stack). The if/else/endif commands existed before, but they were primitive and undocumented. The 'if' command currently recognizes the "receiving", "sending", and "headersonly" mode keywords. 7) Teach the message selecting routine to understand regular expressions if "regex-search" is defined. Otherwise only case insensitive substring matches are done (as in the past). 8) Teach the message selection routine to understand boolean expressions. Improved "colon-modifier" support. See the manpage for details (when available - soon). 9) Extend paging to all commands (where relevant). 10) Add shell like piping and redirection of (standard) output (if "enable-piping" is defined). Extend completion to these contexts. 11) The manpage should follow soon!!!!
Revision 1.32 / (download) - annotate - [select for diffs], Tue Oct 31 20:07:32 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.31: +18 -0
lines
Diff to previous 1.31 (colored)
More fixes from Anon Ymous: 1) Removed the -B flag (it was stupid on my part) and added a short description indicating how to accomplish the same thing under the "Sending Mail" section of man mail(1). 2) Added a -H flag to dump the headers and exit. It takes optional flags to restrict to old, new, read, unread, and deleted messages (the later being kind of useless - it shares code with something that already had it). 3) Restored the 'Save' command which somehow got mistakenly removed in the last commit and add documentation for it! (My apologies to its author.) 4) Added a 'mkread' command to mark messages as read (the inverse of 'unread'). Should we also have a 'mknew' command? 5) Added a 'smopts' command to keep a database of addresses and sendmail options to be used when sending messages to those addresses. See man mail(1) for a fuller description. 6) Added 'indentpreamble' and 'indentpostscript' variables whose values are inserted before and after a quoted message (~m or ~M escapes). =20 7) Added string formatting abilities for the 'prompt', 'insertpreamble', 'insertpostscript', and header display strings. These strings support all the strftime() format parameters as well as many more specific to mail (see man mail(1)). 8) Fix the -a flag so that it only takes a single filename, unless "mime-attach-list" is defined. This is more conventional and avoids unexpected whitespace issues.
Revision 1.31 / (download) - annotate - [select for diffs], Sat Oct 21 21:37:20 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.30: +33 -22
lines
Diff to previous 1.30 (colored)
From our anonymous user: - mime and character set handling - command line editor and completion - many code improvements
Revision 1.30 / (download) - annotate - [select for diffs], Tue Sep 19 20:31:49 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.29: +6 -6
lines
Diff to previous 1.29 (colored)
s/ReplyFrom/ReplyAsRecipient/ from our anonymous user.
Revision 1.29 / (download) - annotate - [select for diffs], Mon Sep 18 19:46:21 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.28: +64 -4
lines
Diff to previous 1.28 (colored)
Jumbo mail patch from our anonymous user: 1) Use editline [optional]: Most of this code was borrowed from src/usr.bin/ftp. It does the appropriate editing, history, and completion for all mail commands (from cmdtab[]) and also does editing on header strings ('~h' inside the mail editor). 2) '-B' flag: This will suppress the "To:" line passed to sendmail. In most configurations it will lead to sendmail adding "To: undisclosed recipients;". Currently, AFAIK mail requires at least one exposed recipient address. 3) Comments in rcfile: Currently, comments in .mailrc are only supported if the first (non-white) character on a line is '#' followed by white space, i.e., '#' is a 'nop' command. This (trivial) patch allows the more normal/expected use of '#' as a comment character. It does not respect quoting, so that might be an objection which I should fix. 4) Sendmail option editing: This adds the sendmail option string to the strings editable by the '~h' command within the mail editor. Currently, you can only set this string from the command-line, which is particularly annoying when replying to mail. 5) Reply from: When replying to a message, grab the "To:" address from the message and, if there is only one such address and it does not match a list of allowed addresses (set in the "ReplyFrom" variable), pass it to sendmail as the "From:" address for the reply (with the '-f' option). I often make aliases for myself so that my primary address is not given out; if the alias gets out, I know who to blame. Unfortunately, a reply to such a message would normally use the primary address without this patch. A warning is displayed when this is going to happen so that it can be modified with '~h'. 6) CC and BCC lists: Allow '-c' and '-b' to accept white-space or ',' delimited lists. Currently, a white-space delimited list of addresses work, but a list of aliases will not get expanded. For example, currently: mail -c "foo bar" christos will fail to send mail to 'foo' and 'bar' if these are mail aliases (in ~/.mailrc); sendmail aliases (in /etc/aliases) do work. 7) pipe command: This pipes the current message into a shell command. I use this for quick decoding of uuencoded mail, but I can imagine it might be useful for decrypting encrypted mail, too. 8) show command: This command takes a list of variables and shows their values. It is probably stupid as the 'set' command without any argument displays all variable values. Of course, if there are a lot of variables you have to sift through the list for the one(s) you want.
Revision 1.28 / (download) - annotate - [select for diffs], Fri Mar 3 13:36:27 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.27: +48 -2
lines
Diff to previous 1.27 (colored)
PR/32964: Johan Veenhuizen: implement the unalias command
Revision 1.27 / (download) - annotate - [select for diffs], Tue Jul 19 23:07:10 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.26: +46 -40
lines
Diff to previous 1.26 (colored)
Pass lint completely.
Revision 1.26 / (download) - annotate - [select for diffs], Tue Jul 19 01:38:38 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.25: +10 -10
lines
Diff to previous 1.25 (colored)
WARNS=3
Revision 1.25 / (download) - annotate - [select for diffs], Mon Nov 10 21:40:22 2003 UTC (20 years, 5 months ago) by ross
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.24: +4 -5
lines
Diff to previous 1.24 (colored)
Simplify set(). No functional change.
Revision 1.24 / (download) - annotate - [select for diffs], Mon Nov 10 21:37:36 2003 UTC (20 years, 5 months ago) by ross
Branch: MAIN
Changes since 1.23: +3 -3
lines
Diff to previous 1.23 (colored)
Refix last delta's string copying edits
Revision 1.23 / (download) - annotate - [select for diffs], Fri Oct 31 01:25:54 2003 UTC (20 years, 5 months ago) by ross
Branch: MAIN
Changes since 1.22: +9 -4
lines
Diff to previous 1.22 (colored)
Defensively rewrite a string moving loop. Constify. Check for an allocation error.
Revision 1.22 / (download) - annotate - [select for diffs], Wed Oct 29 05:11:26 2003 UTC (20 years, 5 months ago) by ross
Branch: MAIN
Changes since 1.21: +4 -4
lines
Diff to previous 1.21 (colored)
Fix the broken "!" escape and "shell" (&-prompt) commands. These problems were related to closed PR bin/21896, and to the 2003-3-29 code import.
Revision 1.21 / (download) - annotate - [select for diffs], Thu Aug 7 11:14:36 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.20: +3 -7
lines
Diff to previous 1.20 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22365, verified by myself.
Revision 1.20 / (download) - annotate - [select for diffs], Sat Mar 29 21:41:04 2003 UTC (21 years ago) by christos
Branch: MAIN
Changes since 1.19: +3 -3
lines
Diff to previous 1.19 (colored)
bring in fixes from OpenBSD: - use varargs properly. - pid_t - better handling of error conditions on forked jobs.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Aug 12 02:42:52 2002 UTC (21 years, 8 months ago) by itojun
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.18: +4 -4
lines
Diff to previous 1.18 (colored)
calloc() arg mistake. it's (nelem, size). from openbsd
Revision 1.18 / (download) - annotate - [select for diffs], Fri Mar 29 15:07:52 2002 UTC (22 years ago) by ross
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
only count header lines that are actually going to be displayed when deciding whether to run $PAGER, otherwise it may start up the pager for a two line message if all 55 header lines are the subject of a .mailrc ignore command. (And no, I don't find this program directly useful for reading today's mail volumes, but it's great as a component run from wrapper scripts, pretty good for scanning archived mail, and more than adequate for sending mail.)
Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 5 21:29:30 2002 UTC (22 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.16: +4 -4
lines
Diff to previous 1.16 (colored)
Use warn() instead of perror().
Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 5 21:18:15 2002 UTC (22 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.15: +7 -7
lines
Diff to previous 1.15 (colored)
KNF: No space after casts.
Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 4 03:16:10 2002 UTC (22 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.14: +20 -20
lines
Diff to previous 1.14 (colored)
Replace some more special pointers to zero (NIL, NONE, NOVAR, NOGRP, NOGE) with NULL.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Mar 4 03:07:25 2002 UTC (22 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.13: +35 -35
lines
Diff to previous 1.13 (colored)
Don't use special null string pointer (NOSTR), just use NULL.
Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 2 15:27:51 2002 UTC (22 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.12: +10 -10
lines
Diff to previous 1.12 (colored)
Rename variables to avoid shadowing.
Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 2 14:59:36 2002 UTC (22 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.11: +29 -55
lines
Diff to previous 1.11 (colored)
ANSIfy, and minimal KNF.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 9 04:51:30 1999 UTC (25 years, 2 months ago) by dean
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
minoura-xpg4dl-base,
minoura-xpg4dl,
comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.10: +5 -3
lines
Diff to previous 1.10 (colored)
fixes for PR 3886, 4719, 5424 mail is more consistent in a su'd environment unset works if the variable is in the environment fixed off by one error with 'z' scrolling
Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 8 17:36:55 1998 UTC (25 years, 6 months ago) by wsanchez
Branch: MAIN
Changes since 1.9: +6 -6
lines
Diff to previous 1.9 (colored)
Get rid of commons. Rename vfree() to v_free() to avoid conflict in out libc's vfree().
Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 19 05:03:05 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Changes since 1.8: +28 -27
lines
Diff to previous 1.8 (colored)
WARNSify, fix .Nm usage, deprecate register, use <err.h>
Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 9 05:29:49 1997 UTC (26 years, 9 months ago) by mikel
Branch: MAIN
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored)
update printf formats to match type of line counts
Revision 1.7 / (download) - annotate - [select for diffs], Sat May 17 19:55:11 1997 UTC (26 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.6: +5 -5
lines
Diff to previous 1.6 (colored)
NULL => 0 (Arne Juul; PR#3629)
Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 28 07:10:59 1996 UTC (27 years, 3 months ago) by tls
Branch: MAIN
Changes since 1.5: +4 -4
lines
Diff to previous 1.5 (colored)
Sync with 4.4BSD-Lite2
Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sat Dec 28 05:16:49 1996 UTC (27 years, 3 months ago) by tls
Branch: WFJ-920714,
CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +2 -2
lines
Diff to previous 1.1.1.2 (colored)
Import of 4.4BSD-Lite2 source
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sat Dec 28 05:14:54 1996 UTC (27 years, 3 months ago) by tls
Branch: WFJ-920714,
CSRG
CVS Tags: lite-1
Changes since 1.1.1.1: +38 -21
lines
Diff to previous 1.1.1.1 (colored)
Import of 4.4BSD-Lite (already merged at head)
Revision 1.5 / (download) - annotate - [select for diffs], Sat Jun 8 19:48:14 1996 UTC (27 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.4: +63 -41
lines
Diff to previous 1.4 (colored)
- Fix PR/105: Implement dot locking protocol and check return value of flock. - Fix PR/2247: Don't call unknown users "ubluit". Issue an error message. - Fix/add prototypes. - Fix warnings. - Use POSIX signal mask calls. - RCSid police.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 29 05:09:11 1994 UTC (29 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1,
netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Changes since 1.3: +36 -19
lines
Diff to previous 1.3 (colored)
4.4-lite, plus our mods
Revision 1.3 / (download) - annotate - [select for diffs], Sun May 22 02:57:35 1994 UTC (29 years, 11 months ago) by jtc
Branch: MAIN
Changes since 1.2: +4 -4
lines
Diff to previous 1.2 (colored)
cfree() is obsolete, use free()
Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:13:11 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (colored)
Add RCS identifiers.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: WFJ-920714,
CSRG
CVS Tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9,
netbsd-0-8,
WFJ-386bsd-01
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
initial import of 386bsd-0.1 sources
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Initial revision