Blender Git Loki

Git Commits -> Revision ffa7152

Revision ffa7152 by Campbell Barton (master)
October 4, 2020, 16:04 (GMT)
Cleanup: refactor where_is_temp

Functionality was hard to follow as the meaning of fullname
depended on basename being NULL or not.

- where_is_temp is now only responsible for finding the temp directory.
- Split out tempdir_session_create into it's own function
that wraps mkdtemp.
- Rename basename to tempdir, fullname to tempdir_session.

Commit Details:

Full Hash: ffa71526266930584e2d7a93f4c9f8539fafdd2c
Parent Commit: 1fa6881
Lines Changed: +45, -43

1 Modified Path:

/source/blender/blenkernel/intern/appdir.c (+45, -43) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021