A Senate committee approved a measure Thursday that would require law enforcement agencies to obtain a court-approved search warrant before reviewing any e-mail or other electronic content. The measure would close what privacy advocates describe as a loophole in the law in which Internet service providers such as Yahoo and Google may turn over e-mail older than six months if authorities obtain a subpoena, which does not require a judge’s approval.