function.c (5e3934b15a2741b2de6b217e77dc9d798d740804) function.c (2a121b97e9673ff37062c9fa026eee969940d2e2)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1990, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Cimarron D. Taylor of the University of California, Berkeley.

--- 1324 unchanged lines hidden (view full) ---

1333 perm = nextarg(option, argvp);
1334 ftsoptions &= ~FTS_NOSTAT;
1335
1336 new = palloc(option);
1337
1338 if (*perm == '-') {
1339 new->flags |= F_ATLEAST;
1340 ++perm;
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1990, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Cimarron D. Taylor of the University of California, Berkeley.

--- 1324 unchanged lines hidden (view full) ---

1333 perm = nextarg(option, argvp);
1334 ftsoptions &= ~FTS_NOSTAT;
1335
1336 new = palloc(option);
1337
1338 if (*perm == '-') {
1339 new->flags |= F_ATLEAST;
1340 ++perm;
1341 } else if (*perm == '+') {
1341 } else if (*perm == '+' || *perm == '/') {
1342 new->flags |= F_ANY;
1343 ++perm;
1344 }
1345
1346 if ((set = setmode(perm)) == NULL)
1347 errx(1, "%s: %s: illegal mode string", option->name, perm);
1348
1349 new->m_data = getmode(set, 0);

--- 461 unchanged lines hidden ---
1342 new->flags |= F_ANY;
1343 ++perm;
1344 }
1345
1346 if ((set = setmode(perm)) == NULL)
1347 errx(1, "%s: %s: illegal mode string", option->name, perm);
1348
1349 new->m_data = getmode(set, 0);

--- 461 unchanged lines hidden ---