1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtdbcache: Remove old code in comments

Patch from Aaron W. Hsu <arcfide@sacrideo.us>
This commit is contained in:
Jon Trulson 2012-08-07 16:56:11 -06:00
parent 04b366b09c
commit 80f456e3b5

View file

@ -689,16 +689,6 @@ write_db(DtDtsMMHeader *header, void *index, int size, const char *CacheFile)
sprintf(tmpfile, "%s/%sXXXXXX", _DTDTSMMTEMPDIR, _DTDTSMMTEMPFILE);
fd = mkstemp(tmpfile);
/*
tmpfile = (char *)malloc(sizeof(_DTDTSMMTEMPDIR) +
sizeof(_DTDTSMMTEMPFILE) + L_tmpnam + 3);
tmpnam(tmpnam_buf);
sprintf(tmpfile, "%s/%s%s", _DTDTSMMTEMPDIR, _DTDTSMMTEMPFILE,
basename(tmpnam_buf));
fd = open(tmpfile, O_RDWR|O_CREAT, 0600);
*/
umask(cmask);
if(fd == -1)