[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][glibc-team/tzdata][sid] 3 commits: d/rules: Support creating symlinks pointing to symlinks



Title: GitLab

Benjamin Drung pushed to branch sid at GNU Libc Maintainers / tzdata

Commits:

  • b059a452
    by Benjamin Drung at 2024-05-02T16:56:19+02:00
    d/rules: Support creating symlinks pointing to symlinks
    
    `ln --relative` resolves the target when calculating the relative path.
    This prevents creating symlinks that point to symlinks. Example:
    
    ```
    $ touch a
    $ ln -s a b
    $ ln --relative -sv b c
    'c' -> 'a'
    ```
    
    Calculate the relative target using `realpath`.
    
    Fixes: ccd155581289 ("Create relative symlinks directly")
    
  • 23793ffd
    by Benjamin Drung at 2024-05-02T17:47:44+02:00
    Fixup for avoid timezones being symlinks to symlinks
    
    Having timezones that are symlinks to symlinks isn't compatible with the
    expectations of the C++20 standard. When chrono::locate_zone finds a
    link, it expects its target to be a zone, not another link.
    
    Also fix Asia/Chungking symlink that was masked by debian/rules not
    corretly creating symlinks to symlinks in some cases. See commit
    b059a4521b3c ("d/rules: Support creating symlinks pointing to
    symlinks").
    
    Bug-Ubuntu: https://launchpad.net/bugs/2062522
    
  • 0b1df80a
    by Benjamin Drung at 2024-05-02T17:52:26+02:00
    Release tzdata 2024a-4
    
    Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
    

3 changed files:


Reply to: