Commit Graph

143 Commits

Author SHA1 Message Date
snj f0a7346d21 src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
2014-10-18 08:33:23 +00:00
christos f1abc9f9db goodbye CIRCLEQ, welcome TAILQ 2013-11-26 01:17:00 +00:00
christos cdffa8c1c4 Simplify previous. 2013-11-21 15:40:17 +00:00
blymn 0eefb0f72f Correct the allocation for the reformat buffer, thanks to mlelstv for
the fix.
2013-11-21 09:40:19 +00:00
mbalmer 8b29ccb36a Fix typo. 2013-01-19 16:11:03 +00:00
njoly 17568cd1bf Kill some extra spaces in function arguments. 2012-10-08 18:15:09 +00:00
matt 510d3d4c1d These directories default to WARNS=2 2012-03-21 05:38:49 +00:00
joerg 93a30e6d6f Kill a bunch of manual __attribute__ usages and replace them with the
equivalent sys/cdefs.h invocation.
2011-11-28 12:44:18 +00:00
joerg 896c6d5b09 Save space, kill some () 2011-05-23 20:43:02 +00:00
tnozaki 50eb6aadde cast isblank(3)'s argument to unsigned char. 2010-05-13 17:52:11 +00:00
joerg f63b030c15 Use .In instead of .Ar Pa for header files. 2010-03-22 21:58:31 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
christos 46edb91e9f bump shared libraries. 2009-01-11 03:07:47 +00:00
joerg cb41266e10 Depends on libcurses. 2008-03-11 23:06:04 +00:00
hubertf 55ac93d329 Remove more duplicate #includes, and a few spurious whitespaces at EOL
From Slava Semushin <slava.semushin@gmail.com>
2007-01-17 23:24:22 +00:00
dbj b41feff50f fixes for installing into a case insensitive $DESTDIR
when files may have hard links to a a name that only differs by case
  - change install to unconditionally remove its temporary file
    when installing hard links with -r.  This avoids problems when
    built with posix rename(2) semantics and reinstalling an existing
    hard link.
  - rework hard link targets in bsd.man.mk and bsd.links.mk
    to use makefile constructs instead of shell constructs
  - always reinstall hard links that may have case conflicts, even
    when MKUPDATE=yes, this ensures that they get added to METALOG
  - remove man pages which were hard linked to themselves in libform
  - remove improper hard link command for existing man page in libkrb5
  - fix libl's makefile to include bsd.lib.mk at end
  - remove shell quoting in link target for test's [.1 man page
2006-09-11 22:24:09 +00:00
christos 98527081b1 make debug build work. 2006-04-09 00:44:40 +00:00
christos 2ca947f5e7 Coverity CID 107[123]: Leave the assertions in the code, not only when DEBUG
is set.
2006-03-19 20:08:09 +00:00
christos 51566e9c85 Coverity CID 1553: Fix memory leak. While here, fix malloc calls:
- don't cast
- use sizeof(var) instead of sizeof(type)
2006-03-19 20:02:27 +00:00
wiz 9ea0254b5a We want size_t arguments, so just cast to size_t, instead of casting
to unsigned long and getting a warning on i386.
2006-02-07 20:07:42 +00:00
peter 3d73a5fb3f Add missing prototype for set_max_field() and bump date.
From xs at kittenz dot org in PR/18668.
2005-10-15 12:43:20 +00:00
wiz b86a72cb8b Improve RETURN VALUES section. 2004-11-24 12:47:20 +00:00
wiz 20a78941e4 Mark up TRUE and FALSE. 2004-11-24 12:42:51 +00:00
wiz f039f78c3f \-1, not -1. 2004-11-24 12:40:54 +00:00
wiz f91573afd7 Mark up NULL. 2004-11-24 12:26:23 +00:00
wiz 7b09170529 Use Aq instead of \*[Lt]\*[Gt]. 2004-11-24 12:12:19 +00:00
wiz a7804596c1 Bump date for previous; mark up defined values with Dv;
use Aq instead of \*[Lt]\*[Gt].
2004-11-24 12:09:13 +00:00
blymn 19f07fb20a * Rewrote internal handling of multiline field line data to fix a bug
where a newly opened line would immediately get wrapped out of existence.
  The old method of handling lines in a multiline field did not cope with
  this elegantly.

* Added new field flag O_REFORMAT which, when set, returns the field
  buffer with newlines inserted where the line wrapped.  Previously, there
  was no way of preserving the on screen format of a multiline field.

* Added new file gdbinit which contains a macro to verify and print
  the multiline field line data structure.

* Bumped libform major number due to changes in the _form_field structure.
2004-11-24 11:57:09 +00:00
itojun da88342476 NI_WITHSCOPEID was not picked up by IETF standardization process 2004-11-16 06:04:12 +00:00
dsl 1793b7dd69 Use (unsigned char) cast to sanitise arguments to ctype functions. 2004-10-28 21:14:52 +00:00
dsl d349cd6749 Fix a load of international alphabet problems with isxxx() and toupper()
Change isspace(*char_ptr) to isspace(*char_ptr & 0xff) so that the correct
piece of memory is looked at for the bit mask.
gcc optimises out the '& 0xff' (on i386 at least).
Fixes problems found by gcc when the splurious (int) cast is removed
from the #defines in ctype.h
2004-10-27 19:59:24 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
wiz 6cbd2718d7 Use mdoc macros instead of roff to mark up table;
mark up some more stuff.
2004-04-21 11:45:42 +00:00
kim 293fb86ada Formatting tweaks to make things line up yet not have columns
run into each other.  Fix one typo while here.
2004-04-21 02:46:34 +00:00
jdc ad95b1541c Increment major number (to 4) because of the libcurses major number change
and because of the change to match_enum().
2004-03-22 19:00:09 +00:00
jdc 582694413f Correct the fourth parameter to match_enum() to "exact" instead of "no blanks".
From Brett Lymn.
Part of the fix for PR bin/24604.
2004-03-22 18:59:48 +00:00
blymn 316f67d63e Add defines MIN_FORM_COMMAND and MAX_FORM_COMMAND for ncurses
compatibility.  This closes PR 20029.
2004-01-23 13:01:17 +00:00
salo 99410184e7 netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
lukem c6af0a620d clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 03:25:56 +00:00
wiz 472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
perry 8e25ed3ff9 currrent->current, accomodate->accommodate from Igor Sobrado PR misc/19814
also recognise->recognize (sorry, I know, flames anticipated.)
2003-03-31 18:44:09 +00:00
perry c286c47561 curent->current from Igor Sobrado in PR misc/19814
plus some other spelling errors and (sorry) some UK->USing for
consistency.
2003-03-31 18:41:51 +00:00
wiz 83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
lukem a2ed7b2d73 use __RCSID() 2003-03-09 00:57:17 +00:00
wiz 03c12ea0f3 New sentence, new line. From Robert Elz. 2002-10-01 19:15:15 +00:00
blymn 841a6ed66f Allow either the field_check or char_check pointers to be NULL, as
suggested in PR 18028.
2002-08-22 11:34:00 +00:00
blymn 67d86161c7 Added MLINK entries to link all function names to their respective
man page.
2002-08-11 11:57:44 +00:00
blymn c4f23a93e4 Added extension to interface, set_field_printf which allows a printf
style setting of field buffers.
2002-08-09 14:15:12 +00:00
blymn d0dbcd8f3c Fix null dereference in set_field_type. 2002-08-07 13:57:03 +00:00
blymn d87fd85949 Prevent field scrolling when REQ_RIGHT_CHAR hits the RHS of the field. 2002-08-07 11:05:10 +00:00