aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-mktemp.c
Commit message (Collapse)AuthorAgeFilesLines
* Coding style and whitespace cleanup.Matthew Barnes2010-01-311-1/+1
|
* Bug #606874 - mktemp disabled in latest glibc-2.11.90-8Milan Crha2010-01-141-5/+19
|
* Fix excessive whitespace.Matthew Barnes2009-07-131-2/+0
|
* More code cleanup.Matthew Barnes2009-06-021-3/+3
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-291-14/+14
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-1/+1
|
* Bug 572977 – Use g_strerror() instead of strerror()Matthew Barnes2009-05-031-1/+1
|
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-031-13/+13
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Fixes bug #513951Matthew Barnes2008-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #513951 * addressbook/gui/component/addressbook-component.c (ensure_sources): * addressbook/gui/component/addressbook-migrate.c (addressbook_migrate): * calendar/gui/cal-search-bar.c (cal_search_bar_construct): * calendar/gui/migration.c (create_calendar_sources), (create_task_sources), (migrate_calendars), (migrate_tasks), (create_memo_sources): * calendar/gui/e-memos.c (e_memos_setup_view_menus): * calendar/gui/tasks-component.c (ensure_sources): * calendar/gui/gnome-cal.c (gnome_calendar_setup_view_menus): * calendar/gui/calendar-component.c (ensure_sources): * calendar/gui/memos-component.c (ensure_sources): * mail/mail-config.c (gconf_mime_types_changed): Adapt to new meaning of xxx_component_peek_base_directory(). * addressbook/gui/component/addressbook-component.c (addressbook_component_init): * addressbook/gui/component/addressbook-migrate.c (create_groups): * calendar/gui/tasks-component.c (tasks_component_init): * calendar/gui/calendar-component.c (calendar_component_init): * calendar/gui/memos-component.c (memos_component_init): * composer/e-msg-composer.c (autosave_manager_query_load_orphans), (autosave_init_file): * e-util/e-mktemp.c (get_dir): * e-util/e-util.c (get_lock_filename): * mail/mail-component.c: * plugins/face/face.c (org_gnome_composer_face): * smime/lib/e-cert-db.c (initialize_nss): Use e_get_user_data_dir() instead of constructing the full path. * calendar/gui/migration.c (add_gw_esource): * composer/e-msg-composer.c (e_msg-composer_unrealize), (e_msg_composer_set_view_from), (e_msg_composer_set_view_replyto), (e_msg_composer_set_view_to), (e_msg_composer_set_view_postto), (e_msg_composer_set_view_cc), (e_msg_composer_set_view_bcc): * e-util/e-util.c (e_file_update_save_path), (e_file_get_save_path): Emit warnings if saving to GConf fails. * e-util/e-util.c (e_get_user_data_dir): New function returns the base directory for Evolution user data. This should be the /only/ place in the application where this directory is hard-coded. svn path=/trunk/; revision=35175
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-18/+18
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Warning fixes. - NULL vs 0 - ANSIfication of declarations - missingKjartan Maraas2007-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-config.c: * e-event.c: * e-gui-utils.c: * e-import.c: * e-menu.c: * e-mktemp.c: (get_dir): * e-popup.c: * e-profile-event.c: (e_profile_event_peek): * e-util.c: (get_font_options): * e-xml-utils.c: (e_xml_get_string_prop_by_name), (e_xml_get_string_prop_by_name_with_default), (e_xml_get_translated_string_prop_by_name): Warning fixes. - NULL vs 0 - ANSIfication of declarations - missing include svn path=/trunk/; revision=34428
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-3/+3
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-1/+1
| | | | svn path=/trunk/; revision=33432
* Use g_build_filename to get the tempoary directory name. Fix #399307Jeff Cai2007-02-281-3/+6
| | | | | | | | | | | 2007-02-27 Jeff Cai <jeff.cai@sun.com> * e-mktemp.c: (get_dir): Use g_build_filename to get the tempoary directory name. Fix #399307 svn path=/trunk/; revision=33263
* Delete e_mkdir_hier(), and use e_util_mkdir_hier() instead of it.Simon Zheng2006-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-10 Simon Zheng <simon.zheng@sun.com> * e-mktemp.c (get_dir): * e-plugin.c: * e-util.[ch] (e_create_directory): (e_sort): Delete e_mkdir_hier(), and use e_util_mkdir_hier() instead of it. Delete e_strstrcasea(), and use e_util_strstrcase() instead of it. Delete e_strftime(), use the copy in evolution-data-server/ libedataserver/e-data-server-util.c instead of it. Delete e_filename_make_safe(), and use the copy in evolution-data-server/libedataserver/e-data-server-util.c instead of it. Detelte e_utf8_strftime(), and use the copy in evolution-data-server/libedataserver/e-data-server-util.c instead of it. svn path=/trunk/; revision=31117
* Use GLib API where applicable for portability.Tor Lillqvist2005-12-171-20/+15
| | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-mktemp.c: Use GLib API where applicable for portability. svn path=/trunk/; revision=30823
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* debugify a few more printfsDan Winship2004-07-141-3/+3
| | | | svn path=/trunk/; revision=26649
* un-const the return values, since they need to be freed (d): turn offDan Winship2004-07-141-7/+6
| | | | | | | | | * e-mktemp.c (e_mktemp, e_mkdtemp): un-const the return values, since they need to be freed (d): turn off debugging (expire_dir_rec): remove debug printfs svn path=/trunk/; revision=26647
* ** See Bug #37329.Not Zed2004-03-031-124/+95
| | | | | | | | | | | | | | | | | | 2004-02-27 Not Zed <NotZed@Ximian.com> ** See Bug #37329. * e-mktemp.c (get_dir): setup a comjpile time option for storing in the homedir, and also just use the uid as the key for a /tmp dir option. (e_mktemp_cleanup): removed entirely. (e_mkstemp, e_mkdtemp, e_mktemp): dont save the file/dirname in a list anymore. (expire_dir_rec): expire old temp data from previous runs/old data lying around. Based on access time. (get_dir): run an expirey every now and then. svn path=/trunk/; revision=24941
* We need to unlink the full paths in the tmpdirs, not just the base path.Jeffrey Stedfast2003-08-281-6/+8
| | | | | | | | | 2003-08-27 Jeffrey Stedfast <fejj@ximian.com> * e-mktemp.c (e_mktemp_cleanup): We need to unlink the full paths in the tmpdirs, not just the base path. svn path=/trunk/; revision=22391
* A bunch of fixes to make e-util build with -DG_DISABLE_DEPRECATED andJeffrey Stedfast2003-01-031-1/+1
| | | | | | | | | 2003-01-02 Jeffrey Stedfast <fejj@ximian.com> A bunch of fixes to make e-util build with -DG_DISABLE_DEPRECATED and -DGTK_DISABLE_DEPRECATED. svn path=/trunk/; revision=19210
* #include <string.h> for strcmp.Jeffrey Stedfast2002-03-051-2/+5
| | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * e-mktemp.c: #include <string.h> for strcmp. svn path=/trunk/; revision=15907
* More fixing of the license texts.Ettore Perazzoli2001-10-281-12/+11
| | | | svn path=/trunk/; revision=14242
* Make sure the dir pointer is non-NULL before using it.Jeffrey Stedfast2001-09-141-8/+10
| | | | | | | | | 2001-09-13 Jeffrey Stedfast <fejj@ximian.com> * e-mktemp.c (e_mktemp_cleanup): Make sure the dir pointer is non-NULL before using it. svn path=/trunk/; revision=12807
* Fix the check for the case when mkdir() returns EEXIST to check S_ISDIR onDan Winship2001-09-061-1/+1
| | | | | | | | * e-mktemp.c (get_path): Fix the check for the case when mkdir() returns EEXIST to check S_ISDIR on the right structure component. Fixes bug #8775. svn path=/trunk/; revision=12644
* robustificationJeffrey Stedfast2001-08-251-6/+40
| | | | svn path=/trunk/; revision=12468
* Added e-mktemp.[c,h] to the build.Jeffrey Stedfast2001-08-251-0/+231
2001-08-24 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Added e-mktemp.[c,h] to the build. * e-mktemp.c (e_mktemp): A new wrapper around mktemp so that we can keep track of temp files for later cleanup. (e_mkstemp): Same but obviously for the mkstemp call. (e_mkdtemp): And finally a mkdtemp wrapper. svn path=/trunk/; revision=12460