Ignore:
Timestamp:
12/05/2023 05:32:48 PM (10 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
Children:
7cce808, c4108e5
Parents:
981b9fa6
Message:

kernel-config: Sync fixes from BLFS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel/kernel-config.py

    r981b9fa6 r31a9142  
    186186            elif line.startswith('endif'):
    187187                if_stack = if_stack[:-1]
     188
     189    if config_buf:
     190        r += [parse_config(config_buf)]
     191
    188192    return r
    189193
     
    260264        title = title[:rem - 3] + '...'
    261265
    262     b = title.lstrip('YyMmNnHh')
     266    b = title.lstrip('YyMmNnHh.' + "".join(map(str, range(10))))
    263267    a = title[:len(title) - len(b)]
    264268    b0 = "<emphasis role='blue'>" + escape(b[0]) + "</emphasis>"
Note: See TracChangeset for help on using the changeset viewer.