aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-mktemp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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