Project

General

Profile

Bug #1097

glob(3c) needs to support non-POSIX options

Added by Gary Mills over 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2011-06-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

The glob(3c) function in illumos (and Solaris) defines only the set of flags defined
by POSIX 1003.2. Other operating systems add a set of non-standard flags,
for example GLOB_LIMIT to instruct the glob function to limit its path search
before resources are exhausted.

This would have to be done in a manner that maintains binary compatibility, so that existing
applications continue to work. In non-POSIX mode, more flags are available, but the flag
defaults change. In addition, the size of the glob_t structure increases in non-POSIX mode.


Files

glob.c-ill.diff (8.29 KB) glob.c-ill.diff Gary Mills, 2012-11-01 02:58 PM
glob.c-sty.diff (19 KB) glob.c-sty.diff Gary Mills, 2012-11-01 02:58 PM
glob.c-ill.diff (7.63 KB) glob.c-ill.diff Gary Mills, 2012-11-08 02:56 PM
glob.c-sty.diff (19 KB) glob.c-sty.diff Gary Mills, 2012-11-08 02:56 PM
glob.c-mb.diff (19.7 KB) glob.c-mb.diff Gary Mills, 2012-12-10 02:54 PM
glob.c-mb.diff (20.4 KB) glob.c-mb.diff Gary Mills, 2012-12-17 03:53 PM
glob.c-isw.diff (1.9 KB) glob.c-isw.diff Gary Mills, 2013-01-04 07:08 PM
glob.c-asc.diff (552 Bytes) glob.c-asc.diff Gary Mills, 2013-01-12 08:20 PM
glob.c-rev.diff (27.4 KB) glob.c-rev.diff Gary Mills, 2013-01-28 08:00 PM
glob.c-len.diff (2.34 KB) glob.c-len.diff Gary Mills, 2013-01-30 03:42 AM
glob.c-w9.diff (2.53 KB) glob.c-w9.diff Gary Mills, 2013-02-19 08:17 PM

Also available in: Atom PDF