On Tue, Aug 14, 2012 at 09:39:14PM +0200, Corinna Vinschen wrote: >On Aug 15 02:59, jojelino wrote: >> Hi, I think i found a glitch in gmon.c >> >> the testcase is following. and you can see it doesn't work. >> >> int main() >> { >> char *proffile; >> { >> char gmon_out[] = "gmon.out"; >> proffile = gmon_out; >> } >> printf("%s\n",proffile); >> } >> >> ------- >> $ ./a >> a(???" >> Actually the above can't be expected to work. the above is exactly >> same case with gmon.c:206 > >Fixed in CVS.
Btw, since this file hadn't changed in two years, it's unlikely that this was a regression and probably deserved a new subject. This really isn't an issue with the latest snapshot. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple