Revision: 2080 http://geany.svn.sourceforge.net/geany/?rev=2080&view=rev Author: ntrel Date: 2007-11-30 10:01:43 -0800 (Fri, 30 Nov 2007)
Log Message: ----------- Fix broken generate tags command.
Modified Paths: -------------- trunk/ChangeLog trunk/src/symbols.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-11-30 17:34:01 UTC (rev 2079) +++ trunk/ChangeLog 2007-11-30 18:01:43 UTC (rev 2080) @@ -3,6 +3,8 @@ * src/main.c, tagmanager/tm_project.c, tagmanager/tm_workspace.c, tagmanager/include/tm_workspace.h: Remove unused config_dir argument for tm_get_workspace(). + * src/symbols.c: + Fix broken generate tags command.
2007-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/symbols.c =================================================================== --- trunk/src/symbols.c 2007-11-30 17:34:01 UTC (rev 2079) +++ trunk/src/symbols.c 2007-11-30 18:01:43 UTC (rev 2080) @@ -910,13 +910,15 @@ command = NULL; // don't preprocess
geany_debug("Generating %s tags file.", ft->name); + tm_get_workspace(); status = tm_workspace_create_global_tags(app->configdir, command, (const char **) (argv + 2), argc - 2, tags_file, ft->lang); g_free(command); if (! status) { - g_printerr(_("Failed to create tags file.\n")); + g_printerr(_("Failed to create tags file, perhaps because no tags " + "were found.\n")); return 1; } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.