Re: [cmake-developers] bizarre g_f_c(REALPATH) bug; works backwards(?!)

2013-03-14 Thread Brad King
On 03/13/2013 08:51 PM, Matthew Woehlke wrote: I've discovered an odd an seemingly incorrect behavior of get_filename_component(REALPATH)... apparently there are some conditions when it can take a canonical path and turn it *back into a symlink*. To reproduce: $ ls -l lrwxrwxrwx. 1

[cmake-developers] bizarre g_f_c(REALPATH) bug; works backwards(?!)

2013-03-13 Thread Matthew Woehlke
I've discovered an odd an seemingly incorrect behavior of get_filename_component(REALPATH)... apparently there are some conditions when it can take a canonical path and turn it *back into a symlink*. To reproduce: $ ls -l lrwxrwxrwx. 1 matthew matthew 10 Mar 13 20:17 build - real-build