Author: thatsafunnyname
Date: Wed Mar 25 07:58:10 2009
New Revision: 720
Modified:
trunk/NYTProf.xs
Log:
Fixing previous VMS specific patch, compiler complains about invalid
statement if VMS is defined, braces are required.
Modified: trunk/NYTProf.xs
==============================================================================
--- trunk/NYTProf.xs (original)
+++ trunk/NYTProf.xs Wed Mar 25 07:58:10 2009
@@ -1287,12 +1287,13 @@
if (strNE(file_name_abs, "/"))
#endif
{
- if (strnEQ(file_name, "./", 2))
+ if (strnEQ(file_name, "./", 2)) {
++file_name;
- else
+ } else {
#ifndef VMS
strcat(file_name_abs, "/");
#endif
+ }
}
strncat(file_name_abs, file_name, file_name_len);
found->key_abs = strdup(file_name_abs);
--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.
Group hosted at: http://groups.google.com/group/develnytprof-dev
Project hosted at: http://perl-devel-nytprof.googlecode.com
CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf
To post, email: [email protected]
To unsubscribe, email: [email protected]
-~----------~----~----~----~------~----~------~--~---