Project

General

Profile

Feature #1690 ยป 0021-mkstemp.m4-Update-to-serial-31.patch

Marko Lindqvist, 09/21/2025 07:47 PM

View differences:

dependencies/m4/mkstemp.m4
# mkstemp.m4
# serial 30
dnl Copyright (C) 2001, 2003-2007, 2009-2024 Free Software Foundation, Inc.
# serial 31
dnl Copyright (C) 2001, 2003-2007, 2009-2025 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
......
# On some hosts (e.g., HP-UX 10.20, SunOS 4.1.4, Solaris 2.5.1), mkstemp has a
# silly limit that it can create no more than 26 files from a given template.
# Other systems lack mkstemp altogether.
# On OSF1/Tru64 V4.0F, the system-provided mkstemp function can create
# only 32 files per process.
# On some hosts, mkstemp creates files with mode 0666, which is a security
# problem and a violation of POSIX 2008.
# On systems like the above, arrange to use the replacement function.
    (1-1/1)