pcp
[Top] [All Lists]

[Bug 838] Annoying files created at C:\

To: pcp@xxxxxxxxxxx
Subject: [Bug 838] Annoying files created at C:\
From: bugzilla-daemon@xxxxxxxxxxx
Date: Thu, 4 Jun 2009 01:13:04 -0500
Auto-submitted: auto-generated
In-reply-to: <bug-838-835@xxxxxxxxxxxxxxxx/bugzilla/>
References: <bug-838-835@xxxxxxxxxxxxxxxx/bugzilla/>
http://oss.sgi.com/bugzilla/show_bug.cgi?id=838


Nathan Scott <nathans@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Nathan Scott <nathans@xxxxxxxxxx>  2009-06-04 01:13:01 CST 
---
OK, these files are coming from the Windows tmpnam routine.
http://msdn.microsoft.com/en-us/library/hs3e7355(VS.71).aspx
In libpcp, we use tmpnam for holding some error messages before
displaying them - in this case we're not calling pmflush anywhere
after generating them though, so the tmp file doesnt get deleted.

Doing a flush cleans 'em out.  Ken came across a related issue
where the files couldn't be created (cos Windows creates them in
the drive root dir for some reason) ... and we've discussed using
tempnam instead, which will put em in TMPDIR, a more sensible
place.

The main reason you're getting these is during startup there is no
(local) pmcd context, and if no -h option on the command line then
small amounts of confusion and warnings result.  That issue will
go away since 0.0.5, as that is the first version that starts pmcd by
default.

This will all be cleaned up in the next pcp-glider release.

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 838] Annoying files created at C:\, bugzilla-daemon <=