Check for EOF in swpb