Stocks post small gains as investors await earnings NEW YORK Stocks drifted higher yesterday, brushing aside another record high for oil prices amid hopes the impending tide of third-quarter profit reports will override worries about a struggling economic recovery.