tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: stdio.h's P_tmpdir definition - make it /tmp?
On Fri, Aug 30, 2019 at 01:38:02PM -0000, Valery Ushakov wrote:
> Greg Troxel <gdt%lexort.com@localhost> wrote:
>
> > It seems that long long ago, /tmp was small and on /, and /var was often
> > bigger, and people used /var/tmp for larger stuff. Also I remember a
> > notion of clearing /tmp on boot and not clearing /var/tmp. Now, /tmp
> > is a tmpfs and large/fast, and the right place for things that really
> > belong in /tmp.
>
> That's true for some people/systems. Not true for others.
Right. I have various systems with /tmp being a tiny tmpfs.
> libiberty does check TMPDIR as the very first thing. If the build
> breaks that, may be the build should be fixed?
Definitively. The $TOOLDIR gcc at least does not use TMPDIR, contrary to
regular gcc documentation. I have not checked whethere the installed compiler
gets it right.
Martin
Home |
Main Index |
Thread Index |
Old Index