libc: Purge unneeded cdefs.hThese sys/cdefs.h are not needed. Purge them. They are mostly left-overfrom the $FreeBSD$ removal. A few in libc are still required for macrosthat cdefs.h defines. Kee
libc: Purge unneeded cdefs.hThese sys/cdefs.h are not needed. Purge them. They are mostly left-overfrom the $FreeBSD$ removal. A few in libc are still required for macrosthat cdefs.h defines. Keep those.Sponsored by: NetflixDifferential Revision: https://reviews.freebsd.org/D42385
show more ...
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Replace dot-dot relative pathing with SRCTOP-relative paths where possibleThis reduces build output, need for recalculating paths, and makes it clearerwhich paths are relative to what areas in the
Replace dot-dot relative pathing with SRCTOP-relative paths where possibleThis reduces build output, need for recalculating paths, and makes it clearerwhich paths are relative to what areas in the source tree. The change inperformance over a locally mounted UFS filesystem was negligible in my testing,but this may more positively impact other filesystems like NFS.LIBC_SRCTOP was left alone so Juniper (and other users) can continue tomanipulate lib/libc/Makefile (and other Makefile.inc's under lib/libc) asinclude Makefiles with custom options.Discussed with: marcel, sjgMFC after: 1 weekReviewed by: emasteSponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D9207
Use SRCTOP where possible and use :H to manipulate .CURDIR to get rid ofunnecessarily long relative path .PATH values with makeMFC after: 1 daysSponsored by: Dell EMC Isilon
Add -static to CFLAGS to unbreak the tests by using a libc.a withthe xlocale private symbols exposed which aren't exposed publiclyvia the DSOPR: 191354MFC after: 1 weekSponsored by: EMC / Isilo
Add -static to CFLAGS to unbreak the tests by using a libc.a withthe xlocale private symbols exposed which aren't exposed publiclyvia the DSOPR: 191354MFC after: 1 weekSponsored by: EMC / Isilon Storage Division
Fix -Wformat issues and minor whitespace issues in surrounding areasMFC after: 1 weekSponsored by: EMC / Isilon Storage Division
split.ih:- Create automatically generated include header for split.cmain.c:- Use function definitions from debug.ih and split.ih instead of externsSponsored by: EMC / Isilon Storage Division
Use `==` instead of `=` in the function comment above split(..) so mkh -pexposes split(..).MFC after: 1 weekSponsored by: EMC / Isilon Storage Division
Use ANSI C function prototypes/definitions instead of K&R style onesMFC after: 1 weekSponsored by: EMC / Isilon Storage Division
Add missing headers and sort #includes per style(9)MFC after: 1 weekSponsored by: EMC / Isilon Storage Division
- Use ANSI C function prototypes/definitions instead of K&R style ones- Add a missing return type for main(..)MFC after: 1 weekSponsored by: EMC / Isilon Storage Division
Fix -Wformat warnings by using the correct format qualifiersMFC after: 1 weekSponsored by: EMC / Isilon Storage Division
Add two test cases from PR 130504.An additional one coming from http://www.research.att.com/~gsf/testregex/was not added; at some point the entire AT&T regression test harnessshould be imported he
Add two test cases from PR 130504.An additional one coming from http://www.research.att.com/~gsf/testregex/was not added; at some point the entire AT&T regression test harnessshould be imported here.But that would also mean commitment to fix the uncovered errors.PR: 130504Submitted by: Chris Kuklewicz
getopt(3) returns -1, not EOF.
Test cases for back references.Obtained from: OpenBSD
Update paths to reg*.c and regex2.h. Add a target to build regex.h.
Update for removal of cclass.h. Trim some useless targets. Invoke mkhwith "sh mkh" so it works if the script is not executable.
Update for recent changes to struct re_guts. Disable printing the contentsof OANYOF sets for the moment.
Remove unused files.
Fix the style of the SCM ID's.I believe have made all of libc .h's as consistent as possible.
Fix the style of the SCM ID's.I believe have made all of libc .c's as consistent as possible.
Back out last commit (rev 1.2). I thought I caught this file in timewhen deP'ing. But I guess not.
Remove __P() usage.
Remove 'register' keyword.
12