Bill Roper (billroper) wrote,
Bill Roper
billroper

Old Bugs, Old Bugs

There is nothing like finding a really old bug in the code.

Today, someone sent me a file and said, "This won't open. It doesn't open in the older version either."

I tried opening the file and discovered that they were correct. Hmm. I opened up the file in an editor just to check and make sure that it was, in general, correctly formatted, which it was. Of course, there could be something more subtle wrong.

Nope, nothing subtle about it at all.

Someone had once -- and against my advice -- put in a check for the specific file extension that we use for our files to solve a particular problem that they were dealing with. That obviously wasn't the problem here, because the file had the correct extension.

In ALL CAPS. Darned shame that whoever was checking for the extension had written code that checked for the extension in all lower case.

The comparison is now case-insensitive.

And the very old bug has gone away.
Tags: computers, musings, tech, work
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments