>From 8f5b62f7f84ea8bcef880c86685d5f0aa3d296f1 Mon Sep 17 00:00:00 2001
From: "Aaron W. Hsu" <[email protected]>
Date: Mon, 6 Aug 2012 18:08:59 -0400
Subject: [PATCH 2/2] Remove old code in comments
---
cde/lib/DtSvc/DtUtil1/MMDb.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/cde/lib/DtSvc/DtUtil1/MMDb.c b/cde/lib/DtSvc/DtUtil1/MMDb.c
index 20d830d..0ef886e 100644
--- a/cde/lib/DtSvc/DtUtil1/MMDb.c
+++ b/cde/lib/DtSvc/DtUtil1/MMDb.c
@@ -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)
--
Aaron W. Hsu | [email protected] | http://www.sacrideo.us
Programming is just another word for the lost art of thinking.
Aaron W. Hsu | [email protected] | http://www.sacrideo.us
Programming is just another word for the lost art of thinking.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel