|
@@ -131,7 +131,7 @@ int main(int argc, char *argv[])
|
|
|
ms = G_get_available_mapsets();
|
|
|
|
|
|
for (nmapsets = 0; ms[nmapsets]; nmapsets++) {
|
|
|
- if (G__mapset_permissions(ms[nmapsets]) > 0) {
|
|
|
+ if (G_mapset_permissions(ms[nmapsets]) > 0) {
|
|
|
fprintf(stdout, "%s ", ms[nmapsets]);
|
|
|
}
|
|
|
}
|
|
@@ -152,7 +152,7 @@ int main(int argc, char *argv[])
|
|
|
/* Check if the mapset exists and user is owner */
|
|
|
G_debug(2, "check : %s", mapset_new_path);
|
|
|
|
|
|
- ret = G__mapset_permissions2(gisdbase_new, location_new, mapset_new);
|
|
|
+ ret = G_mapset_permissions2(gisdbase_new, location_new, mapset_new);
|
|
|
switch (ret) {
|
|
|
case 0:
|
|
|
G_fatal_error(_("You don't have permission to use the mapset <%s>"),
|