Indeed. There are a large number of structures in San Francisco that wouldn't withstand an earthquake of magnitude 7. The city just started a public shaming campaign to try to force property owners to come up to code, and you see the notices everywhere.
We've been lucky, but I expect that "the big one", when it hits here, will cause a lot of deaths from building collapse in older structures. I'm not really sure that the building I live in could handle a magnitude 7 quake...