aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Fixed transition from SHARED=symlinks to SHARED=copies.Ruslan Ermilov2004-11-171-1/+1
| | | | Notes: svn path=/head/; revision=137836
* Help Tinderbox and remove autofsMark Murray2004-11-101-1/+1
| | | | Notes: svn path=/head/; revision=137556
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-242-2/+2
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Remove the obsolete <rune.h> interface.Tim J. Robbins2004-10-172-69/+1
| | | | Notes: svn path=/head/; revision=136609
* 1. Add much finer granularity to the NO_BIND knobs with the addition of:Doug Barton2004-09-271-0/+5
| | | | | | | | | | | | NO_BIND_DNSSEC, NO_BIND_ETC, NO_BIND_NAMED, and NO_BIND_UTILS. 2. Make creation of directories in /usr/include that are only needed in the WITH_BIND_LIBS case conditional. Reviewed by: ru, des Notes: svn path=/head/; revision=135851
* Pass the idea of the make(1) binary to use down to newvers.sh.Ruslan Ermilov2004-09-171-1/+1
| | | | | | | | | | | | | | | | This is necessary so source upgrades use the correct binary. MFC after: 3 days For the record: Problem spotted by Scott Long, who mentioned that source upgrades from 4.7 to recent 5.x and 6.0 are broken. Detailed analysis shows that 4.7 has a broken make(1) binary. A breakage was fixed in RELENG_4 in make/main.c,v 1.35.2.7 by imp@, though the commit log erroneously stated "MFC 1.68" while in fact it should have been spelled as "MFC 1.67". Notes: svn path=/head/; revision=135371
* Install netflow includes.Gleb Smirnoff2004-09-161-2/+3
| | | | | | | Approved by: julian (mentor) Notes: svn path=/head/; revision=135339
* Add the macro RES_DFLRETRY long-promised by resolver(5).Yaroslav Tykhiy2004-09-091-0/+1
| | | | | | | | | | | | | It specifies the default number of retries per a name server. This makes the code consistent with the manpage and allows to kill another constant in res_init.c that should have been a #define'd parameter. (This appears to be a case when the manpage was better than the code, so the latter was to be fixed.) PR: bin/62139 (in the audit trail) Notes: svn path=/head/; revision=134999
* Add a workaround to recognise I/_Complex_I as complex arguments. AlthoughStefan Farfeleder2004-09-031-1/+2
| | | | | | | | the GCC manual claims that the expression 1.0fi has type float _Complex, __builtin_types_compatible_p(float _Complex, __typeof__(1.0fi))) yields 0. Notes: svn path=/head/; revision=134736
* Use the keyword '_Complex' rather than the macro 'complex' sinceStefan Farfeleder2004-09-031-4/+4
| | | | | | | applications are allowed to undefine the latter. Notes: svn path=/head/; revision=134735
* Embarrassing typo: s/nextbyint/nearbyint/Stefan Farfeleder2004-09-031-1/+1
| | | | Notes: svn path=/head/; revision=134733
* Hook autofs to the build.Alfred Perlstein2004-09-021-1/+1
| | | | Notes: svn path=/head/; revision=134657
* Replace the current implementations of ftw() and nftw() with the OpenBSDTim J. Robbins2004-08-241-91/+46
| | | | | | | | implementations written by Todd C. Miller. These are cleaner, less buggy and actively maintained. Notes: svn path=/head/; revision=134244
* Let GCC know that ___runetype(), ___tolower() and ___toupper() are pureTim J. Robbins2004-08-211-3/+3
| | | | | | | | | | functions, allowing it to generate better code for the <ctype.h> and <wctype.h> functions. For example, it can now keep _CurrentRuneLocale in a register across calls to these functions, and can delete calls to ___runetype() if the result is already known or not used. Notes: svn path=/head/; revision=134101
* 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