Revision: 1661 http://svn.sourceforge.net/geany/?rev=1661&view=rev Author: ntrel Date: 2007-07-04 05:07:57 -0700 (Wed, 04 Jul 2007)
Log Message: ----------- Create /tags directory if it doesn't exist when loading global tags.
Modified Paths: -------------- trunk/ChangeLog trunk/src/symbols.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-07-04 12:04:46 UTC (rev 1660) +++ trunk/ChangeLog 2007-07-04 12:07:57 UTC (rev 1661) @@ -14,6 +14,9 @@ Capitalize 2 menu item labels. * plugins/classbuilder.c: Make Class Builder dialog close when pressing escape. + * src/symbols.c: + Create $configdir/tags directory if it doesn't exist when loading + global tags.
2007-07-02 Enrico Tröger enrico.troeger@uvena.de
Modified: trunk/src/symbols.c =================================================================== --- trunk/src/symbols.c 2007-07-04 12:04:46 UTC (rev 1660) +++ trunk/src/symbols.c 2007-07-04 12:07:57 UTC (rev 1661) @@ -845,6 +845,12 @@
// don't need to delete list contents because they are now used for hash contents g_slist_free(file_list); + + // create the tags dir for next time if it doesn't exist + if (! g_file_test(user_tags_dir, G_FILE_TEST_IS_DIR)) + { + utils_mkdir(user_tags_dir, FALSE); + } return lang_hash; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.