HomeSort by: relevance | last modified time | path
    Searched refs:posix (Results 1 - 25 of 35) sorted by relevancy

1 2

  /src/usr.bin/make/unit-tests/
deptgt-posix.mk 1 # $NetBSD: deptgt-posix.mk,v 1.4 2022/05/07 21:24:52 rillig Exp $
3 # Tests for the special target '.POSIX', which enables POSIX mode.
5 # As of 2022-04-18, when parsing the dependency line '.POSIX', the variable
6 # '%POSIX' is defined and <posix.mk> is included, if it exists. Other than
7 # that, POSIX support is still incomplete, the exact set of supported features
8 # needs to be cross-checked with the POSIX specification.
10 # At the point of '.POSIX:', <sys.mk> has been loaded already, unless the
11 # option '-r' was given. This means that an implementation of <posix.mk> mus
    [all...]
posix-varassign.mk 1 # $NetBSD: posix-varassign.mk,v 1.1 2025/04/13 09:29:33 rillig Exp $
13 .POSIX:
22 # Deviation from POSIX: The "::=" assignment operator is not supported,
25 VAR::= posix-immediate-expansion
28 .elif ${${:UVAR\:}} != "posix-immediate-expansion"
33 # Deviation from POSIX: The ":::=" assignment operator is not supported,
35 VAR:::= posix-delayed-expansion
38 .elif ${${:UVAR\:\:}} != "posix-delayed-expansion"
68 # In POSIX mode, the ":=" assignment operator is available as well, even
69 # though it is not specified by POSIX, due to the differences in existin
    [all...]
posix-expansion.mk 1 # $NetBSD: posix-expansion.mk,v 1.2 2025/04/13 09:34:43 rillig Exp $
5 # In POSIX mode, when expanding an expression containing modifiers, the
6 # modifiers specified in POSIX take precedence over the BSD-style modifiers.
8 .POSIX:
12 # The modifier contains a "=" and is thus the POSIX modifier.
posix-execution.mk 1 # $NetBSD: posix-execution.mk,v 1.1 2025/04/13 09:29:32 rillig Exp $
6 .POSIX:
31 # Deviation from POSIX: The shell "-e" option is not in effect.
Makefile 162 TESTS+= deptgt-posix
217 TESTS+= # escape # broken by reverting POSIX changes
305 TESTS+= posix
306 TESTS+= posix-execution
307 TESTS+= posix-expansion
308 TESTS+= posix-varassign
309 TESTS+= # posix1 # broken by reverting POSIX changes
495 # posix-*.mk (see posix.mk and posix1.mk)
710 # are several decades old and don't follow modern POSIX standards
    [all...]
  /src/lib/libposix/
Makefile 3 LIB= posix
  /src/tests/include/
t_limits.c 71 * POSIX symbolic constants.
253 ATF_TC(posix);
254 ATF_TC_HEAD(posix, tc)
256 atf_tc_set_md_var(tc, "descr", "Test POSIX limits");
259 ATF_TC_BODY(posix, tc)
283 ATF_TP_ADD_TC(tp, posix);
  /src/bin/kill/
kill.c 273 int posix; local in function:printsignals
275 posix = getenv("POSIXLY_CORRECT") != 0;
286 if (posix && pad)
307 if (posix && pad)
  /src/usr.bin/patch/
common.h 122 extern int posix;
patch.c 93 int posix = 0; /* strict POSIX mode? */ variable in typeref:typename:int
217 backup_type = posix ? none : numbered_existing;
498 {"posix", no_argument, &posix, 1},
630 posix = 1;
633 backup_if_mismatch = posix ? 0 : 1;
644 " [--backup-if-mismatch] [--no-backup-if-mismatch] [--posix]\n"
pch.c 381 if (posix)
404 if (posix)
1429 /* POSIX defines allowed commands as {a,c,d,i,s} */
1478 * Choose the name of the file to be patched based on POSIX rules.
1479 * NOTE: the POSIX rules are amazingly stupid and we only follow them
1480 * if the user specified --posix or set POSIXLY_CORRECT.
1489 * POSIX states that the filename will be chosen from one
  /src/bin/sh/
option.list 36 // the POSIX defined options
68 posix posix # be closer to POSIX compat
main.c 144 posix = getenv("POSIXLY_CORRECT") != NULL;
256 if ((iflag || !posix) && !privileged) {
options.c 98 psx = posix; /* save what we set it to earlier */
105 posix = psx; /* restore before processing -o ... */
149 /* POSIX 1003.2: first arg after -c cmd is $0, remainder $1... */
675 * discarded. This is for some POSIX special builtins that require
trap.c 188 if (posix)
210 if (!posix)
364 /* This is not a fatal error, so sayeth posix */
397 * (POSIX says this is an "undefined" operation so
571 * POSIX 3.14.13 states that non-interactive shells
578 * This change allows us to be POSIX compliant, and
cd.c 127 #if 0 /* POSIX 2024 says this must be an error */
244 else if (print && (iflag || posix))
367 * Posix says the default should be 'pwd -L' (as below), however
369 * posix 'cd -P' (not the posix default of 'cd -L').
390 #if 0 /* posix has been changed to forbid this */
parser.c 301 if (posix && negate)
536 if (posix && n1 == NULL)
1847 * POSIX says we should skip till the closing quote.
  /src/sys/rump/
listsrcdirs 23 em='sys posix'
26 all='sys posix usr'
110 # when targeting POSIX-y platforms
111 lsrc posix /lib/lib rump rumpdev rumpnet rumpvfs
112 lsrc posix /lib/lib rumpuser rumpclient rumphijack
113 lsrc posix /usr.bin/ rump_server rump_allserver shmif_dumpbus
  /src/lib/librumpuser/
configure.ac 2 # Rump kernel POSIX hypervisor autoconf support.
12 AC_INIT([rumpuser-posix], [999], [https://github.com/rumpkernel/])
configure 3 # Generated by GNU Autoconf 2.69 for rumpuser-posix 999.
28 *posix*) :
29 set -o posix ;; #(
172 *posix*) :
173 set -o posix ;; #(
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
581 PACKAGE_NAME='rumpuser-posix'
582 PACKAGE_TARNAME='rumpuser-posix'
584 PACKAGE_STRING='rumpuser-posix 999'
1240 \`configure' configures rumpuser-posix 999 to adapt to many kinds of systems
    [all...]
  /src/tests/usr.bin/patch/
t_patch.sh 130 # --posix should imply -V none.
132 patch --posix to_patch < test_diff.patch
  /src/tools/make/
configure.ac 37 # Make sure we have POSIX regex ability.
38 AC_CHECK_HEADER([regex.h],, AC_MSG_ERROR([POSIX regex.h is required]))
49 AC_SEARCH_LIBS([regfree], [rx posix])
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/scripts/
build_symbolizer.sh 164 nm -f posix -g symbolizer.o | cut -f 1,2 -d \ | LC_COLLATE=C sort -u > undefined.new
  /src/tools/host-mkdep/
configure 29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30 set -o posix
1936 # `set' quotes correctly as required by POSIX, so do not add quotes.
2033 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2034 set -o posix
  /src/tools/compat/
configure.ac 303 AC_SEARCH_LIBS(regfree, rx posix)

Completed in 22 milliseconds

1 2