Skip to content
quotesby

About this quote

What does it mean?
The code sets a signal handler to default and comments with a humorous 'crunch, crunch, crunch' indicating processing.
In plain terms
Reset signal handling to default with a light comment.
What can you take from it?
Restore default signal behavior when needed.

Where it applies

  • when cleaning up signal overrides
  • during program termination

Putting it to work

  • call SIG_DFL
  • document signal usage

Questions to consider

  • When should you reset signals to default?
  • What are the risks of leaving custom handlers?

Another view

The comment adds no technical value.

More from Larry Wall

  1. /* we have tried to make this normal case as abnormal as possible */

    Permalink to quote #258
  2. Your csh still thinks true is false. Write to your vendor today and tell them that next year Configure ought to 'rm /bin/csh' unless they fix their blasted she…

    Permalink to quote #257
  3. You can't have filenames longer than 14 chars. You can't even think about them!

    Permalink to quote #256

Related quotes

  1. But, as it is, this pied collection begs your indulgence - it's been spun from threads both sad and humoristic, themes popular or idealistic, products of caref…

    Aleksandr PushkinAleksandr Pushkin quote #6
  2. Getting out of the hospital is a lot like resigning from a book club. You're not out of it until the computer says you're out of it.

    Erma BombeckErma Bombeck quote #10
  3. I sense that novel of my dreams is in the Remington SL3 - although it writes much faster than I can spell.

    Tom RobbinsTom Robbins quote #16