[csw-users] Solaris port of vixie-cron - a GAR build for review

Maciej (Matchek) Blizinski blizinski at google.com
Fri Mar 13 17:25:26 CET 2009


I would like to offer a GAR build of vixie-cron. The build is based on
cron_3.0pl1 as used in Debian, using a patch[3] pulled from Debian
archives. Generally, the idea is to make it as close to Debian code as
possible. The build is licensed under the terms of GPL-2.

Porting to Solaris needed few tweaks. Three noticeable ones are:

- function flock() is not available in Solaris. Code was changed to use lockf()
- function mkdtemp() is not available in our version of Solaris and
compiler tools. Function was added.
- functions sigblock() and sigmask() are not available in Solaris,
they have been replaced with sigemptyset(), sigaddset() and
sigprocmask()

All Solaris-specific changes are in one patch file:
vixiecron/trunk/files/gar-vixiecron_3.0pl1.patch

The build is available for review here:
http://code.google.com/p/usable-solaris/source/detail?r=29

If you have a Google account, you can sign in and use the code
reviewing tool, which allows to comment on specific lines of code.
After sign in, a "Start code review" link will appear in the top right
corner.

Maciej



More information about the users mailing list