Stock Indexes Post Small Gains

Major U.S. stock indexes closed slightly higher Wednesday, overcoming some earlier bouts of profit taking in the final moments of trading.