Thread (1 message) 1 message, 1 author, 2017-04-10

Re: [PATCH] environ.7: Fix name of function that honors TMPDIR

From: Michael Kerrisk (man-pages) <hidden>
Date: 2017-04-10 11:17:52

Possibly related (same subject, not in this thread)

On 04/08/2017 06:11 PM, Jakub Wilk wrote:
tempnam() takes the TMPDIR environment variable into account, unlike
tmpnam(), which always creates pathnames within /tmp.
Thnaks, Jakub. Applied.

Cheers,

Michael

quoted hunk
Signed-off-by: Jakub Wilk <redacted>
---
 man7/environ.7 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man7/environ.7 b/man7/environ.7
index a6b4fc14d..366a1e017 100644
--- a/man7/environ.7
+++ b/man7/environ.7
@@ -186,7 +186,7 @@ and
 .IP *
 .B TMPDIR
 influences the path prefix of names created by
-.BR tmpnam (3)
+.BR tempnam (3)
 and other routines, and the temporary directory used by
 .BR sort (1)
 and other programs.

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help