History log of /haiku/src/system/libroot/posix/stdlib/mktemp.c
Revision Date Author Comments
# 3a747315 25-Feb-2018 Alexander von Gluck IV <kallisti5@unixzen.com>

stdlib: Add common bsd mkstemps function

Change-Id: I8c54f4b42e8b41f9a769b8b53f074a307b1a054c


# c3566660 13-Aug-2017 Jérôme Duval <jerome.duval@gmail.com>

libroot: mktemp.c: fix gcc5 warnings.


# 22b7e29b 10-Aug-2017 Philippe Houdoin <philippe.houdoin@gmail.com>

libroot: mktemp.c: use rand_r() and set seed only on first call
This avoid to break caller's own srand() and having the same seed
if called twice very quickly.
Thanks david.given for a better fix for #13660.


# c7a3a80c 09-Aug-2017 Philippe Houdoin <philippe.houdoin@gmail.com>

libroot: make mktemp() more random
... by seeding rand() with process id, user id and current time.
This fix #13660


# ae901935 24-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Introduce __set_errno() throughout libroot.

* add errno_private.h, which defines the __set_errno() macro with
and without tracing
* instead of setting errno manually, all libroot's code now invokes
__set_errno(), which makes it much easier to trace changes to errno
* redirect glibc's use of __set_errno() to our own version


# e4263eb7 01-Jan-2009 Salvatore Benedetto <salvatore.benedetto@gmail.com>

* Uncommenting POSIX mkdtemp function. Tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28840 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5af32e75 13-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/kernel to src/system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12359 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ae9019359606f1db67632ef51a77ce70001d3770 24-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Introduce __set_errno() throughout libroot.

* add errno_private.h, which defines the __set_errno() macro with
and without tracing
* instead of setting errno manually, all libroot's code now invokes
__set_errno(), which makes it much easier to trace changes to errno
* redirect glibc's use of __set_errno() to our own version


# e4263eb78ed49f523085f0980def68fd64e2cd8b 01-Jan-2009 Salvatore Benedetto <salvatore.benedetto@gmail.com>

* Uncommenting POSIX mkdtemp function. Tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28840 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5af32e752606778be5dd7379f319fe43cb3f6b8c 13-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/kernel to src/system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12359 a95241bf-73f2-0310-859d-f6bbb57e9c96