-----BEGIN PGP SIGNED MESSAGE-----
Hello all,
I now fixed all the warnings that gcc generated in the segments of
code that were changed by me (including one grave error).
Now vpopmail.c got only more two warnings during the build (gcc
2.95.2, FreeBSD 4.3):
gcc -I. -Icdb -g -O2 -Wall -c vpopmail.c
vpopmail.c: In function `vpasswd':
vpopmail.c:1102: warning: unused variable `gid'
vpopmail.c:1101: warning: unused variable `uid'
which is a bit strange cause vpasswd() uses both of them.
The updated patch is attached (to be applied like the last one).
There's one further issue that needs to be addressed before
it can go into production (despite eventually found bugs, of
course ;-): it probably would be the best if there were a small app
that converted the existing, symlink based aliasdomains to the new
scheme. This is rather easy to do for domains in ~vpopmail/domains
[1]
[2] and I'm willing to supply the code that will do it BUT I ask Ken
(or anyone else) to take care of the actual integration of it into
the package as I haven't got any experiences with the configure
stuff.
Best regards,
Gabriel
[1] go through the list of entries in the domain directory, check
whether a given entry is a symlink (which means it is an aliasdomain)
call the old vdeldomain() on it and reinstall it using
vaddaliasdomain
[2] I don't know whether there are actually situations where the
domains aren't located there but placed all over the filesystem, for
which the [1] obviously approach won't work.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i
iQEVAwUBO45XM8Za2WpymlDxAQHeJwf+Ip9Qv7aGD86D4sVYzyaeHZ8pSYYQz3M0
0z+02/fRMVcdYxcHuZ+muvQjrfp2GYhjk5GBDMGAqDzw2ddk4FAP1dKPKMZyLVEg
elasLA2rGxi1+V1rxNbmlpHux9C7DVvSNC+ZTNF7hUWpFy3ceJ3haB+2lrpcSYXy
/R1MmNpTRFVRiMeWX9GXRHRJWG75Q4GYWPNXkWaSf2fQ8sdmaDjgkvOwdLNoJNX3
vpSwb0nW5OlUv8KTEQ1TQjDLVAU4+tc84ebPD20XX2Ax3HbA6sSnwcoKV7HTvb5J
rGngKp42ha0Tp5sfT1lOtNdg4Lzag7DyKnVdA/8G0DWu/rgL1oUDKg==
=dAcB
-----END PGP SIGNATURE-----
vpopmail.patch