summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Plug a mem leak. Now you can run hanoi.sed witt a lot of pegs and nototto2005-01-031-2/+4
| | | | | | run out of mem! From FreeBSD PR 75656. ok millert@ deraadt@
* remove useless comments, once used for header file generation and deleteotto2004-11-306-210/+54
| | | | parameter names from prototypes. ok millert@
* Better fix for the "unbounded recursion case", for exampleotto2004-11-291-17/+18
| | | | | | | | \(b*\)\(a*\1\)*, more cases in regress/lib/libc/regexp/test. Only stop evaluation of a back reference if the match lenght is zero and the recursion level is too deep. With help from jaredy@ Problem case found by Andrew Brown in NetBSD PR 28126. ok deraadt@ millert@
* ansify and deregister; no change in obj code. ok millert@otto2004-10-175-402/+284
|
* various fixes to make this page more readable/helpful;jmc2004-09-281-136/+596
| | | | | | | also split into 2 sections (ere and bre) and add a list of the expressions supported (nicked/adapted from ed(1)); includes fixes/feedback from otto and jared;
* Change an assert into a loop termination condition. Fixes a coremillert2004-08-131-3/+4
| | | | dump found by jmc@. OK otto@
* When parsing what follows [, do not allocate memory that is not used,otto2004-05-081-3/+7
| | | | | | also fix a memory leak in error path. ok millert@
* Describe more accurate what word boundaries are.otto2004-05-071-2/+2
| | | | ok millert@
* Avoid unbounded recursion in some expressions involving back references.otto2004-04-021-2/+4
| | | | | | | For example: echo "foo foo bar bar bar baz" | sed 's/\([^ ]*\)\( *\1\)*/\1/g' Test case found by dhartmei@ ok millert@ dhartmei@ tedu@
* Allow compilation w/ -DREDEBUG; non-debug compilation is unaffected.millert2004-03-301-2/+6
| | | | From NetBSD.
* improve Nd; from millert@jmc2004-02-101-2/+2
|
* Unbreak handling of non-ASCII chars. Fixes PR 3594. From FreeBSDotto2003-12-071-15/+17
| | | | | | regcmp.c rev 1.13. ok deraadt@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0212-73/+25
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* section reorder;jmc2003-05-301-9/+9
|
* strcpy/strcat -> strlcpy/strlcattdeval2003-04-051-3/+2
| | | | ok tedu@, hints by deraadt@ and millert@
* - don't use the function enclosure macros.wcobb2002-10-161-32/+38
| | | | | - replace `POSIX 1003.2' instances with St -p1003.2. ok mpech@, millert@
* remaining easy snprintf conversionsderaadt2002-05-252-10/+12
|
* try to use strlcpy and snprintf more; ok variousderaadt2002-05-241-2/+2
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-163-51/+51
|
* much greater care for malloc & realloc failures; millert okderaadt2001-11-011-16/+37
|
* use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel2001-06-271-3/+2
|
* More of the same.aaron2000-08-091-2/+5
|
* Repairs, mostly removing hard sentence breaks.aaron2000-04-181-2/+3
|
* Mostly punctuation fixes.aaron2000-04-151-2/+2
|
* Suffix "i.e." and "e.g." with a comma. Just another really picky man pageaaron2000-03-142-7/+7
| | | | | commit, as we want our documentation to be as consistently formatted as possible (it's getting there :-)).
* Do not leave `(' characters dangling at the end of lines; instead, use theaaron2000-03-061-3/+3
| | | | appropriate mdoc macros to handle these cases.
* Add missing MLINKsmillert1999-11-171-2/+2
|
* - remove all trailing whitespaceaaron1999-07-092-15/+15
| | | | | | | | | | * except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
* trash some old leftover macros and replace them with -mdoc macrosaaron1999-07-041-3/+3
|
* use .Tn instead of .Em for logical/bitwise OR + ANDaaron1999-06-051-80/+171
|
* remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonaaron1999-05-232-4/+4
| | | | is used instead; kwesterback@home.com
* grammar police: do not hyphenate compound words that act as adjectives if theaaron1999-05-121-3/+3
| | | | | | first word ends in -ly i.e., fully-qualified, newly-created, globally-visible, etc. are wrong
* make function names the correct casederaadt1999-02-271-13/+13
|
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-2/+2
| | | | | | | | | | | | | All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
* realloc repairderaadt1998-08-141-4/+9
|
* use Bx macro for BSD versionsmickey1998-06-151-2/+4
|
* some -Wallmillert1998-03-191-18/+18
|
* Fix warningsmillert1997-08-242-120/+120
|
* convert to mdoc formatflipk1997-07-292-263/+320
|
* formattingmickey1997-07-171-3/+3
|
* Be specific about using unsigned valuestholo1997-04-301-23/+23
|
* Remove dead code and variablestholo1997-04-302-24/+2
|
* - cast usages of *printf() to void since we don't check return valmillert1997-04-2813-71/+131
| | | | | | - move an assert to be *before* a strcpy() where it can do some good. - integrate NetBSD fixes for 64-bit machines (NetBSD PR #3450, Ross Harvey) - add lite2 tags
* long -> int to fix 64bit issues. This breaks 16bit machines but since we don't have any 16bit ports...) The alternative is to use int32_t's but then this code will break when/if int > 32bits which is not so unlikely. Fixes NetBSD PR #3450 from Ross Harvey (but in a different way)millert1997-04-123-19/+19
|
* Remove dead codetholo1996-09-153-70/+5
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* Fix RCS idstholo1996-08-1914-63/+17
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* Make a proper lvalue in INCtholo1996-03-251-1/+1
|
* initial import of NetBSD treederaadt1995-10-1814-0/+4683