Re: Misleading cast in glob.c

2006-06-22 Thread Paul Eggert
Thanks for reporting that. Looks to me like someone just got frustrated by 'const' without really understanding it, and put in a 'const' everywhere they could think of. (Sounds like some of my students. :-) I installed the following somewhat more-aggressive patch, which removes eight uses of 'c

Misleading cast in glob.c

2006-06-21 Thread Larry Jones
There are casts in glob.c that contain ineffective const's that some compilers warn about: Index: glob.c === RCS file: /cvsroot/cvs/ccvs/lib/glob.c,v retrieving revision 1.18 diff -u -r1.18 glob.c --- glob.c 20 Mar 2006 02:21:56