Subject: CVS commit: src/usr.bin/mail
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 10/23/2007 14:58:45
Module Name:	src
Committed By:	christos
Date:		Tue Oct 23 14:58:45 UTC 2007

Modified Files:
	src/usr.bin/mail: cmd3.c collect.c complete.c def.h edit.c fio.c
	    format.c format.h head.c lex.c list.c main.c mime_attach.c
	    mime_codecs.c mime_decode.c mime_detach.c mime_header.c names.c
	    send.c support.c thread.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 src/usr.bin/mail/cmd3.c
cvs rdiff -r1.39 -r1.40 src/usr.bin/mail/collect.c
cvs rdiff -r1.12 -r1.13 src/usr.bin/mail/complete.c
cvs rdiff -r1.24 -r1.25 src/usr.bin/mail/def.h
cvs rdiff -r1.22 -r1.23 src/usr.bin/mail/edit.c
cvs rdiff -r1.29 -r1.30 src/usr.bin/mail/fio.c
cvs rdiff -r1.10 -r1.11 src/usr.bin/mail/format.c
cvs rdiff -r1.2 -r1.3 src/usr.bin/mail/format.h
cvs rdiff -r1.20 -r1.21 src/usr.bin/mail/head.c src/usr.bin/mail/list.c
cvs rdiff -r1.33 -r1.34 src/usr.bin/mail/lex.c
cvs rdiff -r1.27 -r1.28 src/usr.bin/mail/main.c
cvs rdiff -r1.4 -r1.5 src/usr.bin/mail/mime_attach.c
cvs rdiff -r1.5 -r1.6 src/usr.bin/mail/mime_codecs.c
cvs rdiff -r1.9 -r1.10 src/usr.bin/mail/mime_decode.c
cvs rdiff -r1.1 -r1.2 src/usr.bin/mail/mime_detach.c
cvs rdiff -r1.3 -r1.4 src/usr.bin/mail/mime_header.c \
    src/usr.bin/mail/thread.c
cvs rdiff -r1.25 -r1.26 src/usr.bin/mail/names.c
cvs rdiff -r1.28 -r1.29 src/usr.bin/mail/send.c
cvs rdiff -r1.18 -r1.19 src/usr.bin/mail/support.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.