Re: swap files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 11, 1999 at 11:57:34PM +0200, David Monniaux <David.Monniaux@xxxxxx> wrote:
> Under Linux at least, tmpfile() simply does an unlink() after opening the
> file. :-)

However, unlink is not available on mos tplatforms. tmpfile is available
on _every_ platform that supports C.

> The problem with tmpfile(), as it has been pointed out, is that it does
> not allow for changing the path to swap dir.

Wether unlink or tmpfile is used is not the point. That the swapfiles should
be removed reliably is. And I don't understand why so many people like to
waste their diskspace....

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@xxxxxxxx      |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux