Войти в систему

Home
    - Создать дневник
    - Написать в дневник
       - Подробный режим

LJ.Rossia.org
    - Новости сайта
    - Общие настройки
    - Sitemap
    - Оплата
    - ljr-fif

Редактировать...
    - Настройки
    - Список друзей
    - Дневник
    - Картинки
    - Пароль
    - Вид дневника

Сообщества

Настроить S2

Помощь
    - Забыли пароль?
    - FAQ
    - Тех. поддержка



Пишет LWN.net ([info]syn_lwnheadline)
@ 2019-08-01 15:06:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
[$] An end to implicit fall-throughs in the kernel
The C switch statement has, since the beginning of the language,
required the use of explicit break statements to prevent execution
from falling through from one case to the next. This behavior can
be a useful feature, allowing for more compact code, but it can also lead
to bugs. The effort to rid the kernel of implicit fall-through coding
patterns came to a conclusion with the 5.3-rc2 release, where
the last cases were fixed. There is a good chance that these fixes will
have to be redone in the future, though.


(Читать комментарии) (Добавить комментарий)