add get_job
port win32 patch to trunk
fix get_job function.