/[pkg-mixmaster]/trunk/Mix/Src/util.c
ViewVC logotype

Log of /trunk/Mix/Src/util.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 571 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 8 15:17:52 2003 UTC (9 years, 9 months ago) by dybbuk
File length: 15601 byte(s)
Diff to previous 506
Working autoconf is included in this commit:

* The old Install script still works (see <20030808142406.GA19289@aarg.net> on mixmaster-devel for my plans to eliminate it)
* I updated Src/util.c to fix some setenv/putenv bugs (this hasn't been tested -- can somebody with access to a machine without setenv please test this?)
* Contrary to the old autoconf stuff, pretty much everything is in config.h.in now.

A few things still need to be cleaned up.  I want to eliminate the XDEFS as much as possible and keep nearly everything in config.h.in.  However, it works for me.  Please test it.

Revision 506 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 3 11:20:42 2003 UTC (10 years ago) by weaselp
File length: 15590 byte(s)
Diff to previous 475
Improve parse_yearmonthday() and add startup assert() to test it

Revision 475 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 4 04:20:00 2003 UTC (10 years, 3 months ago) by weaselp
File length: 15703 byte(s)
Diff to previous 357
Add a FIXME

Revision 357 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 10 22:07:48 2002 UTC (10 years, 7 months ago) by weaselp
File length: 15583 byte(s)
Diff to previous 339
make sure to unlink mix.pid in the right directory and reword a warning message

Revision 339 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 9 21:39:14 2002 UTC (10 years, 7 months ago) by weaselp
File length: 15536 byte(s)
Diff to previous 332
Removed an empty line to minimize the diff to stable

Revision 332 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 9 20:53:32 2002 UTC (10 years, 7 months ago) by weaselp
File length: 15537 byte(s)
Diff to previous 305
Whitespace cleanup:
for i in *.c; do cp -a $i $i.orig; sed -e 's/^        /<TAB>/' $i.orig > $i; rm $i.orig; done
for i in *.c *.h; do cp -a $i $i.orig; sed -e 's/[ <TAB>]*$//' $i.orig > $i; rm $i.orig; done

Revision 305 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 2 22:23:35 2002 UTC (10 years, 7 months ago) by rabbi
File length: 15544 byte(s)
Diff to previous 267
setenv() and unsetenv() are not POSIX functions, but BSDisms. We need to use putenv() on
systems that lack these functions.

Revision 267 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 24 08:08:47 2002 UTC (10 years, 7 months ago) by disastry
File length: 15522 byte(s)
Diff to previous 262
1/(64*64) pgp messages was lost,
the ones with armor checksum startig with =46

Revision 262 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 18 23:26:17 2002 UTC (10 years, 8 months ago) by rabbi
File length: 15490 byte(s)
Diff to previous 253
Added closing comments for all #ifdef statements. All #endif's, as well as
nested braces, should be commented to reference their start.

We need to provide comments before every function as well.

Revision 253 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 12 04:48:58 2002 UTC (10 years, 8 months ago) by weaselp
File length: 14934 byte(s)
Diff to previous 225
gcc on some Archs warns about possible uninitialized variables

Revision 225 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 7 11:11:28 2002 UTC (10 years, 8 months ago) by disastry
File length: 14919 byte(s)
Diff to previous 214
There is no [un]setenv() in MSVC
I hope putenv() does the same

Revision 214 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 5 01:21:54 2002 UTC (10 years, 8 months ago) by weaselp
File length: 14705 byte(s)
Diff to previous 197
Mixmaster keys now have creation and expiration date.
It is not secured by any crypto voodoo, it's only
informational for clients to decide which keys to
use should they have more.
- on the client side we do not show remailers (and
  therefore not use them) if their key is expired.
- the remailer refuses to decrypt messages to keys
  that expired one month ago or earlier.
- the remailer automatically creates new mixmaster
  keys if the current one are about to expire or
  already are expired.
- the latest key from secring.mix is written to
  key.txt. It used to be the first one. Since
  creation of new mix key appends the key, this
  seemed sensible.

Revision 197 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 28 09:35:25 2002 UTC (10 years, 8 months ago) by weaselp
File length: 14153 byte(s)
Diff to previous 163
Write a pid file

Revision 163 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 21 19:28:04 2002 UTC (10 years, 9 months ago) by weaselp
File length: 12462 byte(s)
Diff to previous 11
Make sure to deliver to the right directory with Maildir deliveries. Since
we do not chdir() to the Mixmaster base directory we need to take care of
this whenever we do file or directory operations. Fortunatly the function
mixfile() helps here. mixfile() was extended to handle paths starting
with "~/". '~' is replaced by the HOME environment variable if defined.

Implement MAILIN option: If set Mixmaster reads mails from either a mbox
or a Maildir mail folder when processing its queue (-M or daemon). After
reading the mail folder is emtpied. If MAILIN ends with / it is expected
to be a Maildir, mbox oterhwise.

I hope that I did not break anything with the change to mixfile(). Maildir
drop and reading from both Maildir and mbox has been tested a little. Seems
to work fine so far.

Revision 11 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 6 23:41:58 2001 UTC (11 years, 6 months ago) by rabbi
File length: 12186 byte(s)
Diff to previous 1
First round of changes adding support for Mixmaster as a service under
Windows NT.

Revision 1 - (view) (download) (annotate) - [select for diffs]
Added Wed Oct 31 08:19:51 2001 UTC (11 years, 6 months ago) by rabbi
File length: 12030 byte(s)
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5