It is shown that the space X-[0,X-1], of continuous maps [0, 1] --> X with the compact-open topology, is not locally compact for any space X having a nonconstant path of closed points. For a T-1-space X, it follows that X-[0,X-1] is locally compact if and only if X is locally compact and totally path-disconnected.