[Bug 261438] mktemp(1): better unique file names

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Jan 2022 18:48:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261438

            Bug ID: 261438
           Summary: mktemp(1): better unique file names
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: wosch@FreeBSD.org

Our mktemp(1) implementation uses 8-X for a temp file by default. That's ok,
but we should increase the value from 8 to 10 as many other OS already did.

git grep '\.XXXXXXXX'
mktemp.c:                       asprintf(&name, "%s%s.XXXXXXXX", _PATH_TMP,
prefix);
mktemp.c:                       asprintf(&name, "%s/%s.XXXXXXXX", tmpdir,
prefix);

-- 
You are receiving this mail because:
You are the assignee for the bug.