On the variety of special linear systems on a general algebraic curve