Many residents were preparing to spend a second night in parks and plazas, in tents or makeshift shelters, unable or unwilling to return to their homes as authorities inspected some 600 buildings whose walls swayed and cracked when the quake struck.