[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #52018] suggestion: test case for glob with dangling symlink
From: |
Paul Eggert |
Subject: |
[bug #52018] suggestion: test case for glob with dangling symlink |
Date: |
Sun, 24 Sep 2017 18:54:09 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #4, bug #52018 (project make):
You'd have to run bleeding-edge-from-git glibc to get the new behavior, or
copy glob.c from bleeding-edge Gnulib and use that instead of glibc glob.
The new implementation will use gl_lstat when testing for existence, and will
use gl_stat only when testing for directories. However, you shouldn't assume
this; e.g., the implementation is free to use only gl_lstat if it wants to.
Your idea for a test case sounds good.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52018>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/