Commit Graph

6743 Commits

Author SHA1 Message Date
joff 2c4a7474a0 use TCP_NODELAY 2003-06-14 22:43:31 +00:00
drochner 96b62d8a69 no need to #include <sys/dkstat.h> 2003-06-11 17:26:31 +00:00
tron e290120150 Remove old, unused and unsafe shell scripts as suggested by Jeremy C. Reed
on "current-users".
2003-06-11 16:22:10 +00:00
briggs 4441128638 Support negotiation and use of TFTP Option Extension (rfc 2347) for the
'blksize' option (rfc 2348) and the 'timeout' and 'tsize' options (rfc 2349).

Contributed by Wasabi Systems, Inc.
2003-06-11 01:43:52 +00:00
hubertf ccaf934316 Escape backslashes properly. Fixes PR 6679. 2003-06-10 21:27:16 +00:00
dsl 62a063f96b Change msg_window() to return old window (temp buffer size isn't too important)
Change msg_promt_win() to create the window.
Number MSG_xxx from 1 (because 0 is NULL)
2003-06-10 17:24:17 +00:00
dsl 19605a628c Add extra command 'allow dynamic messages' which will push all texts through
the msgc translation service.
Allow for texts being NULL as well as "", don't use strlen() to test for "".
2003-06-10 17:19:04 +00:00
bjh21 0b52d9cd7b From FreeBSD:
Allow "-" to be specified as an operand as well as an option.
SUSV3 requires something like "split -- -" to work. Document the "-" operand.
2003-06-10 16:57:05 +00:00
bjh21 2ef4680e17 Add support for the -a option, which should fix standards/11226.
Code from <hiramatu@boreas.dti.ne.jp>, with improvements from me.
Manual page updates from FreeBSD.
2003-06-10 16:32:54 +00:00
dsl 3c95a92e07 More changes to improve sysinst:
- pass 'menudesc' and 'arg' values to post_act() and exit_act()
- add set_menu_numopt() for variable length menus
- fix (badly broken) allocation/free of dynamic menus
- option to allow default selection to be the exit line
2003-06-09 18:48:40 +00:00
aymeric 36f363a1cc bump to nb9 after fixing PR#21797.
"flooding nvi['s insert mode] leads it to dump core"
2003-06-06 08:09:38 +00:00
aymeric baffc152bc When an error occurs in v_txt(), leave input mode too.
Otherwise, (among other things) db_get() thinks it can re-use the TEXT buffers
when it's not true, leading to a crash because that TEXT buffer will be
released just before it is actually used to create a new one.
This fixes PR#21797.
2003-06-06 08:06:47 +00:00
atatat 85cee2b43a Add -h to cal, which makes it highlight the current date, if it's
present in the displayed calender.  It uses libtermcap to discover the
proper sequences to turn on bold, or uses overstriking if output is
not to a terminal.  If you use two -h options with terminal output,
the date is presented in reverse video instead of bold.

Next we'll have to make the Gregorian gap vary with TZ settings, since
the current method (do it only for September 1752) is decidely
Anglo-centric.  ;-P
2003-06-05 00:21:20 +00:00
dsl 3f8c566477 Add 'exit' (for exit text) parameter to new_menu() for dynamic menus.
Correct calculation of menu height and whether scrolling needs (was wrong
if a height was specified that was smaller that the number of lines needed).
Move keypad(m->mw, TRUE) to stop core dump when newwin() fails.
Allow for calling code hacking m->h (to reduce number of lines displayed).
Add a MC_NOCLEAR option to leave menu text showing when doing action.
2003-06-04 19:07:39 +00:00
dsl 15cd94ddd8 Add msg_prompt_win() that will prompt in the specified window (instead of
the default one), and with a box around the window if >= 3 lines.
Stop the char delete from killingthe RHS of any box.
Make msg_string a noop for invalid strings (might be quoted text).
2003-06-04 19:00:26 +00:00
dsl 6af8425f81 Add a 'void *' argument to process_menu() so that some more global variables
can be killed.
2003-06-03 11:51:56 +00:00
dsl 76c4788c16 More trivial changes...
Exclude '<: page up, >: page down' line from m->h count to simplify code.
2003-06-03 08:49:53 +00:00
matt 78735dbbe5 For a library, only check in cmtime (children's modification) if there are
children.  This prevents spurious out-of-date failures when you have a
rules checking for a library's existance (and no children).
2003-06-02 21:49:00 +00:00
dsl 99778eca69 Whitespace and other layout stuff.
Change an elsif sequence to switch()
2003-06-02 21:19:35 +00:00
kristerw 158e4448b0 Shorten long lines.
Some whitespace changes to get closer to KNF.
2003-06-01 22:04:29 +00:00
thorpej d6c02b1523 "objcopy --redefine-syms-file" is now "objcopy --redefine-syms". 2003-06-01 02:03:22 +00:00
kristerw f4b0e187e9 Fix some lint warnings. 2003-05-30 23:08:12 +00:00
kristerw 7e5434fe39 Remove stuff that are not needed any longer. 2003-05-30 22:33:58 +00:00
kristerw b86c323d39 Simplify handling of memory allocation, and make sure all return values
from malloc etc. are handled.

This removes the old behavior to retry the operation with a less memory-
consuming method in case malloc failed (this mechanism has never really
worked, and is hard to test.  Besides, it is less useful now than it was
20 years ago when the code was written...)
2003-05-30 18:14:13 +00:00
christos fb6b32b11b Back out debugging Makefile. 2003-05-30 13:38:09 +00:00
christos e3071c679b PR/21706: Krister Walfridsson: CVT nodes not handled in ?: expressions. 2003-05-30 13:37:49 +00:00
minoura 9e27136527 Correct some Japanese entries.
- Add New Year's Day
  - Adults Day -> Coming-of-Age day
  - Girl's Day is not a holiday
  - Constitution Day is 5/3
  - There's no Boy's Day on 5/1; maybe 5/5? (which is now Children's Day)
  - Add Ocean Day (7/20)

Need sort?
2003-05-30 05:11:25 +00:00
simonb ae46649fa5 Pass a NULL to getbsize() for any arguments that aren't needed, and
remove the otherwise unused variables.
2003-05-30 00:17:25 +00:00
christos 7d2c2eeaea - make all targparam.h files consistent with the arch includes
- add a new INTPTR_IS_LONG define and use it.

- XXX: the PTRDIFF, SIZEOF, INTPTR defines really make lint more relaxed
  in some platforms than others. We should really be looking for the
  particular tokens to enable this kind of checking. I.e.
  now:

	char *p;
	int foo = (int)p;

  does not produce a warning on INTPTR_IS_LONG == 0 platformas.
  In reality it should only elide the warning if:

	char *p;
	int foo = (intptr_t)p;

  but it is not that smart (yet).
2003-05-29 18:12:13 +00:00
kristerw 2a9882e7e9 Be consistent with use of types (e.g. do not use LINENUM for quantities
that are not line numbers).
2003-05-29 00:59:23 +00:00
kristerw a5348cc746 Remove a duplicated entry. 2003-05-28 23:14:03 +00:00
dsl b5a44ece1f Look at mode of program being run, not of ldd when deciding whether to
use LD_LIBRARY_PATH.
2003-05-28 20:45:39 +00:00
dsl 31cb6aba03 Reinstate our STOP handler before curses installs its one.
Ensures that both handlers are executed on subsequent stops.
2003-05-28 20:17:14 +00:00
pooka 241a9c6d03 Adapt to new magic compilation behaviour: copy magic.mime to objdir
before compiling it so that we get the output also in the objdir instead
of the distdir
2003-05-26 13:42:33 +00:00
lukem 9014bdbce6 * Document $RCMD_CMD in environ(7).
* Cross-reference rcmd(1), rcmd(3), and environ(7) as appropriate.

Should fix [bin/21670] from Geoff Wing.
2003-05-26 10:18:39 +00:00
wiz 54fa9685f1 End sentence with a dot. 2003-05-24 23:37:00 +00:00
bjh21 62cb0dbbca Add reference to uname(1). Don't claim that machine(1) is under development,
since it isn't, and suggest that it might have originated in 4.3reno.
2003-05-24 22:54:43 +00:00
christos 0fe2b9e22b handle void ({ }) 2003-05-24 22:17:46 +00:00
jmmv 5fa5de38b4 Use ; instead of , in a sentence (and fix case of next word). 2003-05-24 18:24:28 +00:00
wiz 7fbb5054ee New sentence, new line; bump date for last. 2003-05-23 18:15:17 +00:00
christos 7ce8fa7806 PR/10917: John Hawkinson: Document $MAKE and say which one we want to be using. 2003-05-23 17:25:10 +00:00
christos 11dc6dfd26 PR/19781: Thomas Klausner: make error message not helpful on unclosed ${var:foo 2003-05-22 18:20:10 +00:00
yamt 0c0dee33b1 protect from signals properly.
(fix crashes when get SIGINFO.)
2003-05-22 15:48:44 +00:00
yamt 9847a81452 rename a global variable, 'entry', to 'g_entry'.
it was confusing because we have many local 'entry' variable.
2003-05-22 15:47:25 +00:00
hubertf 34f17e9696 set s_proto properly
XXX this doesn't help with rsh insisting on a reserved port, which of course
	fails for non root users. and which only seems to happen when given
	ports >1023, funny enough. anyone? :/
2003-05-22 02:14:03 +00:00
simonb f7ed8a7482 Move one group of #define's so this looks more like ilp32.h. 2003-05-21 12:09:39 +00:00
christos 1a57478e96 Better implementation of ({}) gcc extension. 2003-05-20 13:59:32 +00:00
wiz 3443db5bce Sync usage with man page; break to 80 chars/line. 2003-05-20 08:34:52 +00:00
wiz 5a5ddfd30b More option sorting; sync -f argument name with db.c. 2003-05-20 08:32:42 +00:00
wiz 3b86e27c3d Sort options. New sentence, new line. 2003-05-20 08:27:39 +00:00