Commit Graph

12515 Commits

Author SHA1 Message Date
lukem
3e0e2ca90a remove bogus setting of MKLINT 2008-05-02 11:27:08 +00:00
martin
ca37ecd7b6 Move to 2 clause TNF license (was: strange 3 clause version) 2008-05-02 11:13:02 +00:00
christos
640f4f7d25 mention thread local support. 2008-05-01 15:52:31 +00:00
jmmv
2a6dead6fc Remove the libatf library and add libatf-c and libatf-c++; per import of
atf-0.5.
2008-05-01 15:33:33 +00:00
christos
aee69d536e fix bugs that piss off lint. 2008-05-01 15:33:15 +00:00
christos
5614cf4051 Mention errno settings on failure. 2008-04-30 14:51:10 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
scw
d05f8e9263 - Document RAS_START_ASM, RAS_END_ASM, RAS_START_ASM_HIDDEN, and
RAS_END_ASM_HIDDEN.
- Advise against implementing RASs in C.

See PR lib/38482 for details.

While here, remove clauses 3 and 4 from TNF license.
2008-04-29 21:06:28 +00:00
jdc
017de4a670 Revert the scrolling region change from revision 1.18, as this breaks (at
least) mutt:

  Only change the scrolling region if the window now has fewer rows.
2008-04-29 17:46:39 +00:00
uwe
138486a3df According to C99:
6.11.5  Storage-class specifiers

       [#1] The placement of a storage-class specifier  other  than
       at   the  beginning  of  the  declaration  specifiers  in  a
       declaration is an obsolescent feature.

and gcc -Wextra warns about this, so s/const static/static const/
2008-04-29 15:10:02 +00:00
martin
3028e483e4 Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
christos
a8706a45b4 mention ldexp, frexp, modf. 2008-04-27 09:26:20 +00:00
tsutsui
f244f3d606 Use WARNS=1 rather than adding warning options to COPTS.
Tested on several MACHINE_ARCHs.
2008-04-27 03:14:59 +00:00
tsutsui
c007028e0b Enable gcc optimization on m68000 (sun2) again with minimum hacks.
gcc -O0 generates a bit fat binaries.
2008-04-27 03:06:46 +00:00
christos
e1bf490a86 pass a little lint. 2008-04-26 23:49:50 +00:00
christos
6e8524778b Remove 3 functions that exist in libc. This does not break binary compatibility
since we always link with libc.
2008-04-26 19:49:38 +00:00
christos
f5e7bbccfe Put back USE_SHLIBDIR and remove the confusing lint comment that made me
comment it out in the first place.
2008-04-26 19:19:06 +00:00
dogcow
9fdae5aaa5 make this compile again. (hi, xtos!) 2008-04-25 23:51:41 +00:00
christos
98e7e8e9f7 avoid shadow variables, and enable lint. 2008-04-25 22:21:53 +00:00
ginsbach
b876d7a7df Add %F the ISO 8601 date format which is equivalent to %Y-%m-%d. This
format character is supported for reasons of symmetry with strftime(3).
FreeBSD and GNU versions of strptime(3) both support %F.
2008-04-25 20:51:10 +00:00
christos
c9cdc30221 - always check malloc results
- don't leak fds on error
- don't cast malloc
- don't cast NULL
2008-04-25 17:44:44 +00:00
christos
eaacd42b0f I don't see why we need to strong alias those. Nothing else does it. 2008-04-25 16:43:00 +00:00
ginsbach
52de4d6274 Change date for previous change (addition of %Z). 2008-04-25 14:37:00 +00:00
ginsbach
43e9d46aab Add support for %Z ala FreeBSD and some other strptime(3) implementations.
Reviewed by christos.
2008-04-24 21:34:48 +00:00
plunky
043900c0cb constify dirname(3) and basename(3) 2008-04-23 07:53:26 +00:00
plunky
f983e71d70 constify uuid(3) 2008-04-23 07:52:32 +00:00
rmind
4000aba309 Add posix_madvise(2) and appropriate definitions in sys/mman.h header.
This interface is identical to madvise(2), however, is defined by POSIX.
Partially sync madvise(2) man page with FreeBSD.

Reviewed by <mrg>.
2008-04-22 10:42:16 +00:00
dogcow
690e5f1c0b add matching END(). found via -Wa,--fatal-warnings 2008-04-22 04:47:44 +00:00
veego
0f11cf3c0e ${gen_files} was splited into:
${gen_files_k5} ${gen_files_cms} ${gen_files_rfc2459}
 ${gen_files_pkinit} ${gen_files_pkcs12} ${gen_files_pkcs8}
 ${gen_files_pkcs9} ${gen_files_digest} ${gen_files_kx509}
Change CLEANFILES to reflect that change.
2008-04-21 21:30:59 +00:00
plunky
7c3f385475 correct cut and paste error in uuid_dec_be(); le16dec -> be16dec 2008-04-19 18:21:38 +00:00
lukem
e11ffebb07 Document the callback API used by "standard" functions.
NOTE: some of these will be changing in the future to be more
consistent with the technique used in the group & passwd backends.
I'm just documenting the existing behaviour.

Be more consistent when using certain terms.
Rename some variables to reduce confusion.
2008-04-19 08:24:45 +00:00
lukem
e39aac16df Add a missing const. 2008-04-19 07:56:34 +00:00
garbled
6f4524c1a6 Fix a stupid typo in a comment. Pointed out by Juergen Hannken-Illjes. 2008-04-18 08:05:05 +00:00
garbled
1ad3697abd Back out the ppc assembler changes for memcpy/memmove/memcmp on evbppc.
It breaks the explora because the cpu (403) cannot deal with unaligned
accesses.  Reported by Juergen Hannken-Illjes.
2008-04-18 05:34:04 +00:00
apb
01a2b8e8ab Clarify the range of the result from toascii. 2008-04-17 16:41:00 +00:00
apb
576ccca3eb When given negative inputs, isascii returns false. Clarify that
it checks for the range 0 to 127, not "less than or equal to 0177".
2008-04-17 16:40:20 +00:00
apb
a754895afc Refer to the CAVEATS section of ctype(3) for more information. 2008-04-17 16:25:36 +00:00
apb
bafb5bb96d * Expand the CAVEATS section with a lot more detail on how to safely
use the ctype functions.
* Use toupper((int)(unsigned char)*s)) instead of just
  toupper((unsigned char)*s) in an example.
2008-04-17 16:24:40 +00:00
mlelstv
30bf1b0457 If we build with tools the util functions are provided by libnbcompat. 2008-04-15 21:50:22 +00:00
jdc
e78f48a7d8 Add getwin and putwin mlinks. 2008-04-15 18:27:01 +00:00
jdc
a5d694a48c Remove unused BUGS section header. 2008-04-14 21:29:30 +00:00
jdc
9614bd680e Cross reference curses_fileio(3).
Bump date.
2008-04-14 21:26:16 +00:00
jdc
51d1151ffe Document termattrs(), term_attrs(), putwin() and getwin() 2008-04-14 20:41:34 +00:00
jdc
e4b4dc6765 Add new file IO functions.
Define DISABLE_WCHAR, so that we can build without HAVE_WCHAR.
2008-04-14 20:41:17 +00:00
jdc
b93705abe5 Add new file IO functions. 2008-04-14 20:40:53 +00:00
jdc
e501372810 File IO functions header file. 2008-04-14 20:40:37 +00:00
jdc
6dbdc40c87 Increment minor for getwin()/putwin() addition.
Document fileio.h regeneration.
2008-04-14 20:39:58 +00:00
jdc
4c71b79a6f File IO functions getwin() and putwin().
Should fix PR lib/24928.
2008-04-14 20:38:45 +00:00
jdc
d5966065f3 Header (fileio.h) generation script for file IO functions. 2008-04-14 20:35:23 +00:00