aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* MFC the BIND 9 import and chroot-by-default work up to date.Doug Barton2004-09-301-0/+5
| | | | | | | | | | | | | | | | This includes: 1. More granular NO_BIND_* make knobs. 2. WITH_BIND_LIBS make knob. 3. Run in an automatically configured chroot dir by default. 4. Edit paths in man pages, and install man pages for liblwres. 5. Improve named.conf and make it work with the new structure. 6. Install the bind9 docs. 7. A few Makefile style fixes. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=135998
* MFC: Make sure we use the correct make(1) binary in newvers.sh.Ruslan Ermilov2004-09-201-1/+1
| | | | | | | Approved by: re (scottl) Notes: svn path=/stable/5/; revision=135523
* MFC rev. 1.2, 1.3, 1.4:Stefan Farfeleder2004-09-061-5/+6
| | | | | | | | | | | | | | | | | | | date: 2004/09/03 23:26:55; author: stefanf; state: Exp; lines: +1 -1 Embarrassing typo: s/nextbyint/nearbyint/ date: 2004/09/03 23:31:28; author: stefanf; state: Exp; lines: +4 -4 Use the keyword '_Complex' rather than the macro 'complex' since applications are allowed to undefine the latter. date: 2004/09/03 23:44:09; author: stefanf; state: Exp; lines: +2 -1 Add a workaround to recognise I/_Complex_I as complex arguments. Although the GCC manual claims that the expression 1.0fi has type float _Complex, __builtin_types_compatible_p(float _Complex, __typeof__(1.0fi))) yields 0. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=134857
* MFC: Better ftw() and nftw() implementations from OpenBSD.Tim J. Robbins2004-08-291-91/+46
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/5/; revision=134471
* Connect RAID3 GEOM class to the build.Pawel Jakub Dawidek2004-08-161-1/+2
| | | | Notes: svn path=/head/; revision=133812
* Stop defining '_Complex' in a C99 environment, it is supposed to be a keyword.Stefan Farfeleder2004-08-141-0/+2
| | | | Notes: svn path=/head/; revision=133725
* Use tabulators after '#define'.Stefan Farfeleder2004-08-141-5/+5
| | | | Notes: svn path=/head/; revision=133724
* Sort in dictionary order.Tim J. Robbins2004-08-121-1/+1
| | | | | | | Suggested by: ru Notes: svn path=/head/; revision=133567
* Implement wcwidth() as an inline function.Tim J. Robbins2004-08-122-0/+18
| | | | Notes: svn path=/head/; revision=133564
* Include _ctype.h instead of ctype.h to avoid namespace pollution.Tim J. Robbins2004-08-121-1/+1
| | | | Notes: svn path=/head/; revision=133560
* Move some internal macros and inlines from ctype.h to a new file, _ctype.h,Tim J. Robbins2004-08-123-178/+9
| | | | | | | | | which has been repo-copied from ctype.h. This will allow us to remove namespace pollution from <wctype.h> and to make wcwidth() an inline function without introducing more pollution. Notes: svn path=/head/; revision=133559
* Implement C99's standard header <tgmath.h>. It provides type-generic macrosStefan Farfeleder2004-08-082-1/+168
| | | | | | | | | | for the <math.h> and <complex.h> functions that have float, double and long double implementations. Such type-generic macros expand to an actual function, depending on the types of the macro arguments, eg. if <tgmath.h> is included, the invocation cos(1.0f) calls the function cosf(). Notes: svn path=/head/; revision=133333
* Connect GEOM_MIRROR class to the build.Pawel Jakub Dawidek2004-07-301-1/+1
| | | | Notes: svn path=/head/; revision=132905
* Add __pure and __pure2 where appropriate.Tim J. Robbins2004-07-231-11/+11
| | | | Notes: svn path=/head/; revision=132577
* Mark functions pure where applicable.Tim J. Robbins2004-07-231-11/+12
| | | | Notes: svn path=/head/; revision=132565
* Mark functions pure where applicable. A notable exclusion is strcoll(),Tim J. Robbins2004-07-231-13/+13
| | | | | | | which is not strictly pure because it calls malloc()/free() in some cases. Notes: svn path=/head/; revision=132564
* Implement the GNU extensions of mbsnrtowcs() and wcsnrtombs(). These areTim J. Robbins2004-07-211-0/+4
| | | | | | | | | | convenient when the source string isn't null-terminated. Implement the other conversion functions (mbstowcs(), mbsrtowcs(), wcstombs(), wcsrtombs()) in terms of these new functions. Notes: svn path=/head/; revision=132497
* Re-implement this file, including copyright notice. Keep David Xu asMarcel Moolenaar2004-07-171-69/+31
| | | | | | | | | | | | | | | | copyright owner. Typical bugs fixed by this are: o various style(9) bugs, o #ifdef'd out code, o lack of comments, o missing const, o introduction of obsolete functions, o missing __BEGIN_DECLS & __END_DECLS, The major flaw in this version, that was also present in the previous version is the lack of man page. Minor flaws undoubtedly still exist. Notes: svn path=/head/; revision=132297
* Add fgetwln(), a wide character version of fgetln().Tim J. Robbins2004-07-161-0/+1
| | | | Notes: svn path=/head/; revision=132242
* Add proc_service.h, the common file both debugger and libthread_db willDavid Xu2004-07-152-1/+104
| | | | | | | | use, program wants to load libthread_db.so should provid proc service interface. Notes: svn path=/head/; revision=132173
* Add a new error code, REG_ILLSEQ, to indicate that a regular expressionTim J. Robbins2004-07-121-0/+1
| | | | | | | contains an illegal multibyte character sequence. Notes: svn path=/head/; revision=132017
* Reduce namespace pollution.Dag-Erling Smørgrav2004-07-091-0/+2
| | | | Notes: svn path=/head/; revision=131875
* Add a function to iterate over all characters in a particular characterTim J. Robbins2004-07-081-0/+1
| | | | | | | | | class. This is necessary in order to implement tr(1) efficiently in multibyte locales, since the brute force method of finding all characters in a class is infeasible with a 32-bit (or wider) wchar_t. Notes: svn path=/head/; revision=131787
* Add implementations of ftw(3) and nftw(3) and the corresponding headerDavid Schultz2004-07-052-1/+109
| | | | | | | | | | | ftw.h. This is the implementation written by Joel Baker <fenton@debian.org> for inclusion in NetBSD, but with several bugfixes. Obtained from: Debian Notes: svn path=/head/; revision=131661
* Introduce GEOM_LABEL class.Pawel Jakub Dawidek2004-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This class is used for detecting volume labels on file systems: UFS, MSDOSFS (FAT12, FAT16, FAT32) and ISO9660. It also provide native labelization (there is no need for file system). g_label_ufs.c is based on geom_vol_ffs from Gordon Tetlow. g_label_msdos.c and g_label_iso9660.c are probably hacks, I just found where volume labels are stored and I use those offsets here, but with this class it should be easy to do it as it should be done by someone who know how. Implementing volume labels detection for other file systems also should be trivial. New providers are created in those directories: /dev/ufs/ (UFS1, UFS2) /dev/msdosfs/ (FAT12, FAT16, FAT32) /dev/iso9660/ (ISO9660) /dev/label/ (native labels, configured with glabel(8)) Manual page cleanups and some comments inside were submitted by Simon L. Nielsen, who was, as always, very helpful. Thanks! Notes: svn path=/head/; revision=131476
* Fix typo: WRDE_DOOFS -> WRDE_DOOFFS.Tim J. Robbins2004-06-301-1/+1
| | | | | | | Noticed by: Stoned Elipot Notes: svn path=/head/; revision=131331
* Now that <runetype.h> no longer brings in namespace pollution,Tim J. Robbins2004-06-232-22/+0
| | | | | | | bring back the inline functions for the !__BSD_VISIBLE case. Notes: svn path=/head/; revision=130962
* Prefix the names of members of _RuneLocale and its sub-structuresTim J. Robbins2004-06-234-33/+31
| | | | | | | | | with ``__'' to avoid polluting the namespace. This doesn't change the documented rune interface at all, but breaks applications that accessed _RuneLocale directly. Notes: svn path=/head/; revision=130961
* Adjust the system endian and a.out headers to be more MI and cross-buildingDavid E. O'Brien2004-06-221-0/+2
| | | | | | | | | friendly. Use the systems headers rather than local versions. Reviewed by: ru Notes: svn path=/head/; revision=130927
* Remove outdated comments.Tim J. Robbins2004-06-201-3/+1
| | | | Notes: svn path=/head/; revision=130773
* Link ALTQ to the build and break with ABI for struct ifnet. Please recompileMax Laier2004-06-131-0/+8
| | | | | | | | | | | | | | | your (network) modules as well as any userland that might make sense of sizeof(struct ifnet). This does not change the queueing yet. These changes will follow in a seperate commit. Same with the driver changes, which need case by case evaluation. __FreeBSD_version bump will follow. Tested-by: (i386)LINT Notes: svn path=/head/; revision=130416
* Fix typo in putwc().Tim J. Robbins2004-06-071-1/+1
| | | | | | | Noticed by: stefanf Notes: svn path=/head/; revision=130185
* Use __isctype() instead of __istype() for iswdigit() and iswxdigit() forTim J. Robbins2004-05-311-2/+2
| | | | | | | consistency with <ctype.h>. Notes: svn path=/head/; revision=129892
* Add implementations for cimag{,f,l}, creal{,f,l} and conj{,f,l}. They areStefan Farfeleder2004-05-301-6/+12
| | | | | | | | | | needed for cases where GCC's builtin functions cannot be used and for compilers that don't know about them. Approved by: das (mentor) Notes: svn path=/head/; revision=129864
* Remove the macros for creal{,f} and cimag{,f}. They failed to convert theirStefan Farfeleder2004-05-301-7/+0
| | | | | | | | | | | | arguments to the needed type and so the result type depended on the argument type. Fixing them isn't really worth the effort because GCC emits the same assembler code with or without them. Not minded by: ru Approved by: das (mentor) Notes: svn path=/head/; revision=129861
* Correct some types in the yp structures; this fixes a number of problemsThomas Moestl2004-05-271-14/+14
| | | | | | | | on sparc64. Obtained from and cross-checked with the NetBSD version of this file and the rpcgen-generated code. Notes: svn path=/head/; revision=129777
* Bring back the macro versions of getwc(), getwchar(), putwc() andTim J. Robbins2004-05-272-0/+15
| | | | | | | | putwchar(), but this time avoid redundantly declaring __stdinp and __stdoutp when source files include both <stdio.h> and <wchar.h>. Notes: svn path=/head/; revision=129774
* Revert to rev. 1.36 until issues with -Wredundant-decls are sorted out.Tim J. Robbins2004-05-251-8/+0
| | | | Notes: svn path=/head/; revision=129713
* Fix typo in previous: getwc() should call fgetwc(), not the functionTim J. Robbins2004-05-251-1/+1
| | | | | | | | | version of itself. Noticed by: stefanf Notes: svn path=/head/; revision=129710
* Provide trivial macro implementations of getwc(), getwchar(), putwc() andTim J. Robbins2004-05-251-0/+8
| | | | | | | putwchar() to reduce function call overhead. Notes: svn path=/head/; revision=129705
* - Install includes used by STRIPE and NOP GEOM classes.Pawel Jakub Dawidek2004-05-201-1/+1
| | | | | | | | | - Create needed directories. Supported by: Wheel - Open Technologies - http://www.wheel.pl Notes: svn path=/head/; revision=129476
* Fix some^Wseveral style bugs from last commit.Peter Edwards2004-05-121-1/+0
| | | | | | | | | | | | | Remove "sys/types.h" as "sys/param.h" is already included Use cast rather than back-pointer to convert from public to private version of FTS data, and so avoid littering fts.h with any of the details. Pointed out By: bde, kientzle Notes: svn path=/head/; revision=129161
* Fixed style bugs in previous commit (bogus forward declaration andBruce Evans2004-05-101-3/+1
| | | | | | | inconsistent capitalization in comments). Notes: svn path=/head/; revision=129081
* The FTS_NOSTAT option is an optimisation that reduces the numberPeter Edwards2004-05-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | of stat(2) calls by keeping an eye of the number of links a directory has. It assumes that each subdirectory will have a hard link to its parent, to represent the ".." node, and stops calling stat(2) when all links are accounted for in a given directory. This assumption is really only valid for UNIX-like filesystems: A concrete example is NTFS. The NTFS "i-node" does contain a link count, but most/all directories have a link count between 0 and 2 inclusive. The end result is that find on an NTFS volume won't actually traverse the entire hierarchy of the directories passed to it. (Those with a link count of two are not traversed at all) The fix checks the "UFSness" of the filesystem before enabling the optimisation. Reviewed By: Tim Kientzle (kientzle@) Notes: svn path=/head/; revision=129052
* - Look into geom/gate/ and geom/concat/ for includes.Pawel Jakub Dawidek2004-04-301-2/+3
| | | | | | | | - Put geom/ subdirectories into separate line, while there are more to come. Notes: svn path=/head/; revision=128769
* Make isblank() visible in the C99 namespace.Tim J. Robbins2004-04-212-4/+16
| | | | | | | | PR: 63371 Submitted by: Stefan Farfeleder Notes: svn path=/head/; revision=128523
* Parenthesize function names in masking macros for getc() etc. for theTim J. Robbins2004-03-201-6/+6
| | | | | | | benefit of obsolete C preprocessors. Notes: svn path=/head/; revision=127230
* Re-add macro versions of getc(), getchar(), putc(), putchar(), feof(),Tim J. Robbins2004-03-171-0/+16
| | | | | | | | | | ferror(), fileno() and clearerr(), using the value of __isthreaded to decide between the fast inline single-threaded code and the more general function equivalent. This gives most of the performance benefits of the old unsafe macros while preserving thread safety. Notes: svn path=/head/; revision=127100
* Don't try to pass off a struct sockaddr as a struct sockaddr_in when itDag-Erling Smørgrav2004-03-151-2/+2
| | | | | | | | | | may in fact very well be a struct sockaddr_in6. Just use plain struct sockaddr. This brings us yet another step closer to a clean -O2 build. Notes: svn path=/head/; revision=127028
* Add skeleton build dirs for pf userland:Max Laier2004-02-281-0/+8
| | | | | | | | | | | | | | | | | | | | | libexec/ftp-proxy - ftp proxy for pf sbin/pfctl - equivalent to sbin/ipf sbin/pflogd - deamon logging packets via if_pflog in pcap format usr.sbin/authpf - authentification shell to modify pf rulesets Bring along some altq headers used to satisfy pfctl/authpf compile. This helps to keep the diff down and will make it easy to have a altq-patchset use the full powers of pf. Also make sure that the pf headers are installed. This does not link anything to the build. There will be a NO_PF switch for make.conf once pf userland is linked. Approved by: bms(mentor) Notes: svn path=/head/; revision=126385