summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* According to the information on:trhodes2004-12-102-3/+19
| | | | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/swab.html the prototype for swab() should be in <unistd.h> and not in <string.h>. Move it, and update to match SUS. Leave the prototype in string.h for now, for backwards compat. PR: 74751 Submitted by: Craig Rodrigues <rodrigc@crodrigues.org> Discussed with: das
* Remove nfsclnt() prototype.phk2004-12-071-1/+0
|
* Fixed transition from SHARED=symlinks to SHARED=copies.ru2004-11-171-1/+1
|
* Help Tinderbox and remove autofsmarkm2004-11-101-1/+1
|
* For variables that are only checked with defined(), don't provideru2004-10-242-2/+2
| | | | any fake value.
* Remove the obsolete <rune.h> interface.tjr2004-10-172-69/+1
|
* 1. Add much finer granularity to the NO_BIND knobs with the addition of:dougb2004-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
* Pass the idea of the make(1) binary to use down to newvers.sh.ru2004-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".
* Install netflow includes.glebius2004-09-161-2/+3
| | | | Approved by: julian (mentor)
* Add the macro RES_DFLRETRY long-promised by resolver(5).yar2004-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)
* Add a workaround to recognise I/_Complex_I as complex arguments. Althoughstefanf2004-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.
* Use the keyword '_Complex' rather than the macro 'complex' sincestefanf2004-09-031-4/+4
| | | | applications are allowed to undefine the latter.
* Embarrassing typo: s/nextbyint/nearbyint/stefanf2004-09-031-1/+1
|
* Hook autofs to the build.alfred2004-09-021-1/+1
|
* Replace the current implementations of ftw() and nftw() with the OpenBSDtjr2004-08-241-91/+46
| | | | | implementations written by Todd C. Miller. These are cleaner, less buggy and actively maintained.
* Let GCC know that ___runetype(), ___tolower() and ___toupper() are puretjr2004-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.
* Connect RAID3 GEOM class to the build.pjd2004-08-161-1/+2
|
* Stop defining '_Complex' in a C99 environment, it is supposed to be a keyword.stefanf2004-08-141-0/+2
|
* Use tabulators after '#define'.stefanf2004-08-141-5/+5
|
* Sort in dictionary order.tjr2004-08-121-1/+1
| | | | Suggested by: ru
* Implement wcwidth() as an inline function.tjr2004-08-122-0/+18
|
* Include _ctype.h instead of ctype.h to avoid namespace pollution.tjr2004-08-121-1/+1
|
* Move some internal macros and inlines from ctype.h to a new file, _ctype.h,tjr2004-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.
* Implement C99's standard header <tgmath.h>. It provides type-generic macrosstefanf2004-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().
* Connect GEOM_MIRROR class to the build.pjd2004-07-301-1/+1
|
* Add __pure and __pure2 where appropriate.tjr2004-07-231-11/+11
|
* Mark functions pure where applicable.tjr2004-07-231-11/+12
|
* Mark functions pure where applicable. A notable exclusion is strcoll(),tjr2004-07-231-13/+13
| | | | which is not strictly pure because it calls malloc()/free() in some cases.
* Implement the GNU extensions of mbsnrtowcs() and wcsnrtombs(). These aretjr2004-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.
* Re-implement this file, including copyright notice. Keep David Xu asmarcel2004-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.
* Add fgetwln(), a wide character version of fgetln().tjr2004-07-161-0/+1
|
* Add proc_service.h, the common file both debugger and libthread_db willdavidxu2004-07-152-1/+104
| | | | | use, program wants to load libthread_db.so should provid proc service interface.
* Add a new error code, REG_ILLSEQ, to indicate that a regular expressiontjr2004-07-121-0/+1
| | | | contains an illegal multibyte character sequence.
* Reduce namespace pollution.des2004-07-091-0/+2
|
* Add a function to iterate over all characters in a particular charactertjr2004-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.
* Add implementations of ftw(3) and nftw(3) and the corresponding headerdas2004-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
* Introduce GEOM_LABEL class.pjd2004-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!
* Fix typo: WRDE_DOOFS -> WRDE_DOOFFS.tjr2004-06-301-1/+1
| | | | Noticed by: Stoned Elipot
* Now that <runetype.h> no longer brings in namespace pollution,tjr2004-06-232-22/+0
| | | | bring back the inline functions for the !__BSD_VISIBLE case.
* Prefix the names of members of _RuneLocale and its sub-structurestjr2004-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.
* Adjust the system endian and a.out headers to be more MI and cross-buildingobrien2004-06-221-0/+2
| | | | | | friendly. Use the systems headers rather than local versions. Reviewed by: ru
* Remove outdated comments.tjr2004-06-201-3/+1
|
* Link ALTQ to the build and break with ABI for struct ifnet. Please recompilemlaier2004-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
* Fix typo in putwc().tjr2004-06-071-1/+1
| | | | Noticed by: stefanf
* Use __isctype() instead of __istype() for iswdigit() and iswxdigit() fortjr2004-05-311-2/+2
| | | | consistency with <ctype.h>.
* Add implementations for cimag{,f,l}, creal{,f,l} and conj{,f,l}. They arestefanf2004-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)
* Remove the macros for creal{,f} and cimag{,f}. They failed to convert theirstefanf2004-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)
* Correct some types in the yp structures; this fixes a number of problemstmm2004-05-271-14/+14
| | | | | on sparc64. Obtained from and cross-checked with the NetBSD version of this file and the rpcgen-generated code.
* Bring back the macro versions of getwc(), getwchar(), putwc() andtjr2004-05-272-0/+15
| | | | | putwchar(), but this time avoid redundantly declaring __stdinp and __stdoutp when source files include both <stdio.h> and <wchar.h>.
* Revert to rev. 1.36 until issues with -Wredundant-decls are sorted out.tjr2004-05-251-8/+0
|
OpenPOWER on IntegriCloud