[bug #18517] Compilation error in find_directory() in dir.c on Windows platforms

2006-12-13 Thread Paul D. Smith
Update of bug #18517 (project make): Status:None => Later Open/Closed:Open => Closed ___ Follow-up Comment #1: Hi all. The make sou

RE: [bug #18517] Compilation error in find_directory() in dir.c onWindows platforms

2006-12-13 Thread Martin Dorey
> Did you miss the fact that p is const? Doh, yes, sorry. - Martin's Outlook, BlueArc Engineering ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make

RE: [bug #18517] Compilation error in find_directory() in dir.c onWindows platforms

2006-12-13 Thread Dave Korn
On 13 December 2006 16:58, Martin Dorey wrote: >> p[-1] = '\0'; > > What makes you think this is a compilation error? Do you have a > compiler error message for us? Did you miss the fact that p is const? cheers, DaveK -- Can't think of a witty .sigline today __

RE: [bug #18517] Compilation error in find_directory() in dir.c on Windows platforms

2006-12-13 Thread Martin Dorey
> p[-1] = '\0'; What makes you think this is a compilation error? Do you have a compiler error message for us? I suspect that you're just worried about indexing an "array" with -1. "p" isn't an array. It's previously been assigned by: p = name + strlen (name); So -1 is only an invalid

[bug #18517] Compilation error in find_directory() in dir.c on Windows platforms

2006-12-13 Thread Rafi Einstein
URL: Summary: Compilation error in find_directory() in dir.c on Windows platforms Project: make Submitted by: rafi_einstein Submitted on: Wednesday 12/13/2006 at 16:43 Severity: 3 - N