PITTSBURGH (AP) _ Rookie Mike Dunne lost a no-hitter, the Pittsburgh Pirates lost a game and Manager Jim Leyland summed it all up easily.

''It's a crying shame,'' Leyland said after Glenn Wilson's ninth-inning single gave the Phillies a 1-0 win over the Pirates Thursday night.

Dunne didn't allow a hit over the first six innings before Von Hayes lined a single to right to start the seventh.

''Hanging change-up,'' Dunne said. ''He did what a good hitter is supposed to do with a mistake. The disappointment for me is the team lost. That's the bottom line.''

The Phillies won the game against relievers John Smiley, 3-2, and Brett Gideon. Pinch-hitter Ron Roenicke led off with a walk and went to third when Mike Schmidt singled.

Wilson ended an 0-for-18 slump with a single to right field.

''Usually the way out of a slump is to try and hit the ball the other way,'' said Wilson, who had hit into a double play against Dunne in the seventh.

''Dunne was excellent,'' Wilson said. ''He buried me. He's going to be tough.''

Dunne's near-miss overshadowed the pitching of starter Bruce Ruffin, who held the Pirates to five hits. He left the game after getting the first out of the ninth inning and Steve Bedrosian retired the last two hitters for his 29th save.

''Bruce wasn't happy about coming out but the win has to be the priority,'' Phillies Manager Lee Elia said. ''I wasn't going to let him get a loss. Bedrosian's been hot and I had to make the move.''

''The eighth and ninth innings have killed me the last couple starts with the long ball,'' Ruffin said. ''Lee did what he had to do.''

The Phillies moved into fourth place for the first time this season, passing the Chicago Cubs. They are 11-1 against the Pirates.

Dunne walked two over the first six innings. The other Phillies baserunner was Steve Jeltz, whose chopper was mishandled by first baseman Sid Bream.

Official scorer Jack Berger initially gave Jeltz a hit, then quickly changed his call to an error on Bream.

Pirate left fielder Barry Bonds left the game in the fifth after he jammed his right shoulder diving head first to first base. He was taken to the hospital for X-Rays.

The X-Rays were negative and trainer Kent Biggerstaff said Bonds suffered a bruise and possible slight separation.

Bonds was scheduled to be examined further Friday morning. He did not accompany the team to St. Louis Thursday night.

Center fielder Milt Thompson prevented the Pirates from scoring in the fourth when his one-hop throw to the plate cut down Al Pedrique, who tried to score from second on Bobby Bonilla's single.