Because of a late-night Senate vote, the federal government will remain open for business, at least until the next big funding deadline in two weeks.