[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] gm2 uses /var/tmp?
From: |
john o goyo |
Subject: |
Re: [Gm2] gm2 uses /var/tmp? |
Date: |
Thu, 03 Jan 2013 15:19:19 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-GB; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 |
On 01/01/13 10:30 AM, Gaius Mulley wrote:
john o goyo<address@hidden> writes:
This may be more of a gcc thing than a gm2 thing but I recently noted
that building and testing gm2 (on Solaris 10/sparc) dumps a *lot* of
files into /var/tmp without removing them afterwards. In fact, over
the past year, over 130000 files were left there. Can anyone shed any
light on this?
john
Hi John,
can you give a brief list of some of the filenames (or their stems)?
They are created in the dejagnu testing process. I built gm2 but no
files left; I ran "gmake check-gm2" and over 2000 files were left in
/var/tmp. They are text files.
Here is one example: cc0F4DlIcpp
========[begin cc0F4DlIcpp]========
# 1 "/home/build/src/gcc-4.1.2/gcc/testsuite/gm2/iso/pass/ChanConsts.mod"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "/home/build/src/gcc-4.1.2/gcc/testsuite/gm2/iso/pass/ChanConsts.mod"
(* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
Foundation, Inc. *)
(* This file is part of GNU Modula-2.
GNU Modula-2 is free software; you can redistribute it and/or modify it
under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
version.
GNU Modula-2 is distributed in the hope that it will be useful, but
WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with gm2; see the file COPYING. If not, write to the Free Software
Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *)
IMPLEMENTATION MODULE ChanConsts ;
END ChanConsts.
========[end cc0F4DlIcpp]========
On 02/01/13 5:17 AM, John Long wrote (in part and in response to Andreas
Fischlin):
> I believe /var/tmp is for temp files that should survive a reboot
> and /tmp for those that should not. Seems like a good idea but not
> every piece of code and especially not something designed to run on
> Solaris respects the convention.
I believe that is correct. Gcc puts its temporary files in /var/tmp so
that may be GNU convention and dejagnu does not remove them.
john