#169 temp files not deleted of \windows\temp


SDCC 2.3.0 is being used for testing.

The good old problem of temp file build-up (due to
temp files not getting deleted from c:\windows\temp)
seems to be continuing in this version as well.
This problem persists since past 2 versions and
to the best of my memory, it has been reported by
others, for previous versions.

reported by
- Suresh Joshi


  • Michael Hope

    Michael Hope - 2001-10-10
    • assigned_to: nobody --> michaelh
  • Michael Hope

    Michael Hope - 2001-10-10

    Logged In: YES

    I don't see this with the latest development snapshot on Linux
    while compiling all of the regression tests. Setting TMP puts
    them in a seperate folder which helps the testing. Can you
    confirm that this still happens under win32?

  • Johan Knol

    Johan Knol - 2001-10-13

    Logged In: YES

    There are lots of situation where exit() is called when a
    fatal error occurs. I don't see an atexit()(that should
    remove temp files) anywhere, so that could be the problem.

  • Johan Knol

    Johan Knol - 2001-10-14

    Logged In: YES

    I can confirm this happens all the time when compiling with
    mingw and cygwin.

  • Suresh B Joshi

    Suresh B Joshi - 2001-10-14

    Logged In: YES

    This is to answer michaelh's query:

    On my win98 computer, the TMP is set to c:\windows\temp,
    by windows itself and many other softwares need it to be
    like that.
    Under this situation, the new SDCC 2.3.0 continues to build
    several small length unknown files in c:\windows\temp and
    does not delete it on exiting the SDCC or its MSDOS window.

    Can you kindly let us know how to use these files for tests
    and for which kind of tests ? Can this file build-up in the
    c:\windows\temp be stopped by default and enabled only when
    needed, using any command-line switch ?

    -Suresh suresh_b_joshi@vsnl.com

  • Nobody/Anonymous

    Logged In: NO


    i encountered a similar problem.
    My temporary path is set to E:\Temp.
    SDCC (V2.3.0, Win-binary from
    sdcc.sourceforge.net) is installed in
    SDCC leaves files in the root of c:
    (e.g. s3vv0tuh, s3vv12qj, s3vv12qj.1 ...)
    It seems, that these files contain my
    pure c-sources/header without all the comments.

    Regards, Thorsten

  • Bernhard Held

    Bernhard Held - 2003-01-29
    • status: open --> closed
  • Bernhard Held

    Bernhard Held - 2003-01-29

    Logged In: YES

    Fixed by the introduction of atexit().

  • Bernhard Held

    Bernhard Held - 2003-01-29
    • assigned_to: michaelh --> bernhardheld
    • status: closed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks