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:
parent
04b366b09c
commit
80f456e3b5
1 changed files with 0 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue