summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regexec.c (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-12-16Bugfix: execvp might fail for many reasons.espie1-4/+6
Perform an explicit ENOENT check to keep the same error message for known cases.
1999-12-16Var_Subst is actually two distinct functions folded into one:espie9-162/+180
split the function specific to for.c out, and give them more sensible arguments at the same time. This makes .for loop handling more efficient, as we have some heuristic to evaluate the size of the buffer needed...
1999-12-16remaining part of the previous patch... patch got confused somehow.espie1-12/+13
1999-12-16for.c becomes sane.espie3-167/+154
- split For_Eval into For_Eval (first line of loop) / For_Accumulate (remaining lines). - encapsulate state into a For structure, instead of brain damaged static variables that need copy. Very minor performance hit, specifically, For structure is allocated with malloc/free, instead of playing tricks with static/auto variables.
1999-12-16Allocate buffers as static data structures.espie7-141/+119
This cuts down quite a lot of malloc, since in actual use, buffer usage is mostly static.
1999-12-16Fix those two bugs in cond.c.espie1-35/+35
- CondGetArg needs to differentiate between empty strings and problems. Returning problems as a separate boolean is cleaner anyway. - Fix error in conditional parser which would overstep the ending 0, so that a second zero would be needed.
1999-12-16Remove unneeded extraneous zeros at the end of buffers.espie3-20/+8
Actually, one of these needs to be there, because of two bugs in cond.c
1999-12-16Remove redundant fields from struct Buffer.espie2-112/+41
1999-12-16Split Buf_GetAll into Buf_Retrieve/Buf_Size.espie7-77/+42
(idiotic to retrieve size every time when it's used half the time)
1999-12-16Start cleaning up buf.c in earnest.espie4-73/+49
- Buf_Discard is only used to remove all the bytes in a buffer, replace with Buf_Reset, - buffer values are not read unless accessed first through Buf_GetAll, no need to null-terminate it at every point. - Buf_Expand need not check if the expansion is needed. That's Buf_AddChar and Buf_AddChars responsability (otherwise, Buf_AddChar checks twice) - Buf_Overflow only handles overflow. Adding the character is done in every case anyway.
1999-12-16regen.fgsch2-2/+9
1999-12-16sigh, fix head.fgsch1-1/+1
1999-12-16Add TI1211.fgsch1-1/+2
1999-12-16incorrect bounds on strlcpy()deraadt1-2/+2
1999-12-16Add the ability to use interface names in place of addresseskjell8-86/+110
in firewall rules. i.e. block return-rst in quick on fxp0 proto tcp from any to fxp0 port = 9999 This will make things like DHCP much easier to deal with in the future.
1999-12-16show ip6.forwardingderaadt1-1/+2
1999-12-16Xr inet6 4deraadt4-2/+6
1999-12-16syncderaadt2-1/+8
1999-12-16move dump file to /var/run, not /var/tmp.itojun2-7/+7
1999-12-16Add in cleaner dual bus and dual LVD bus support.mjacob1-41/+68
1999-12-16Add in dual bus (1240/1280) support. Some more cleanups, including fixesmjacob1-24/+46
to the speed update stuff. Also a fix for an amazingly silly botch in isp_async.
1999-12-16Roll platform version. Add a second scsi_link struct in the privatemjacob1-7/+7
area (for dual bus support). Add in a proper XS_CHANNEL macro. Reorder the printf level ifdefs- DEBUG should come before DIAGNOSTIC
1999-12-16Clean up some SXP definitions so that a SXP_BANK1_SELECT can be |'d in.mjacob1-92/+96
Note that there are *two* CONF1 SXP register selects.
1999-12-16Add in dual LVD (1280) support. Reorganize the model codes slightlymjacob1-4/+11
and add in IS_DUALBUS and IS_ULTRA2 macros.
1999-12-16Add in Qlogic 1240 (Dual Ultra) and Qlogic 1280 (Dual Ultra 2) support.mjacob1-15/+80
Other than some extra cases, there's a bit of hoohah about reading the second SXP's register bank on the 1280- not exactly well laid out hardware. The delay(250) functions added to see if this helps in more stable reads of SXP register bits.
1999-12-16Split SDEV_NOSYNCWIDE into SDEV_NOSYNC and SDEV_NOWIDE (as is donemjacob2-20/+40
in NetBSD). Look at Inquiry data during probing to further set quirks based upon device capabilities. Thanks to Todd.Miller@courtesan.com for doing the grunt work and encouraging this to get done fully.
1999-12-16Get the index in the ifnet_addrs array right (as if_index isangelos1-5/+5
pre-incremented on assignment in net/if.c)
1999-12-16deposit dump file in /var/run; markusderaadt2-5/+5
1999-12-16use arc4random()deraadt1-5/+2
1999-12-16non-working awi driver; someone finish itderaadt12-8/+4692
1999-12-15Require privileges in LMCSIOINFO.angelos1-3/+2
1999-12-15Require privileges to change card parameters.angelos1-3/+8
1999-12-15these strcpy are finederaadt1-4/+4
1999-12-15"Connection closed by x.x.x.x": fatal() -> log()markus1-3/+5
1999-12-15keysize warnings talk about identity filesmarkus2-5/+5
1999-12-15remove pn, replace with dcjason1-3/+2
1999-12-15make dc only match pn (temporarily)jason1-1/+5
1999-12-15From gcc development sources:espie1-1/+6
if -Wtraditional, warn about ANSI cpp string concatenation.
1999-12-15never go into persist mode if there are still segments to be retransmitted.provos2-25/+15
set retransmit timer again if it was cleared, that can happen in SACK when there are no elligble SACK holes to be retransmitted and the receiver window is full.
1999-12-15add missing Xrs and clean a bitjason1-5/+11
1999-12-15man page for txphyjason2-3/+53
1999-12-15fix declarationsericj1-12/+13
1999-12-15Be more verbose about when system immutable flags may be set/cleared.aaron1-6/+11
1999-12-15usage cleanupderaadt1-8/+6
1999-12-15do not overwrite traffic class portion when filling in IPv6 version field.itojun6-16/+25
1999-12-15don't check INET too much, it will make trouble with lkm compilation.itojun1-8/+3
1999-12-15safe strcpyderaadt1-3/+3
1999-12-15overflow safederaadt2-5/+5
1999-12-15does not overflowderaadt1-3/+3
1999-12-15Import of Darren Reed's IPFilter 3.3.4, including OpenBSD patches.kjell40-2621/+4065
Many, many enhancements and improvements, including new in-kernel proxies, enhancements to logging, and many bugfixes. Note: Man pages have not yet been re-converted to mdoc.