[svn:parrot] r44106 - trunk/src
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Wed Feb 17 19:20:23 UTC 2010
Author: NotFound
Date: Wed Feb 17 19:20:22 2010
New Revision: 44106
URL: https://trac.parrot.org/parrot/changeset/44106
Log:
avoid STRING_IS_NULL usage in main that makes MSWin32 fail, don't know why
Modified:
trunk/src/main.c
Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c Wed Feb 17 19:02:19 2010 (r44105)
+++ trunk/src/main.c Wed Feb 17 19:20:22 2010 (r44106)
@@ -132,11 +132,11 @@
PMC *env = pmc_new(interp, enum_class_Env);
STRING *path = VTABLE_get_string_keyed_str(interp, env,
Parrot_str_new_constant(interp, "PARROT_LIBRARY"));
- if (!STRING_IS_NULL(path) && Parrot_str_length(interp, path) > 0)
+ if (!STRING_is_null(interp, path) && Parrot_str_length(interp, path) > 0)
Parrot_lib_add_path(interp, path, PARROT_LIB_PATH_LIBRARY);
path = VTABLE_get_string_keyed_str(interp, env,
Parrot_str_new_constant(interp, "PARROT_INCLUDE"));
- if (!STRING_IS_NULL(path) && Parrot_str_length(interp, path) > 0)
+ if (!STRING_is_null(interp, path) && Parrot_str_length(interp, path) > 0)
Parrot_lib_add_path(interp, path, PARROT_LIB_PATH_INCLUDE);
}
More information about the parrot-commits
mailing list