Commit Graph

12 Commits

Author SHA1 Message Date
cheusov ea1a131a00 Compare return value of fputs(3) with EOF instead of 0.
This is POSIX-ly correct and fixes csplit(1) on non-NetBSD systems.
2017-07-30 23:02:53 +00:00
wiz 47c7c18d7f Correct number of output files in example.
From Jason McIntyre <jmc@OpenBSD>.

While here, also explain about the extra file in the example and
put .Ex into its own section in the correct place. Bump date.
2014-02-04 19:48:48 +00:00
joerg 31870c16c9 static + __dead 2011-08-31 13:35:46 +00:00
roy 7027866a09 Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
joerg 89fd8256a6 Don't workaround ancient macro argument limit with .Xo/.Xc. Don't use
.Sm off / .Sm on.
2009-03-12 12:35:51 +00:00
wiz f2ba098cec Describe better what it does. Inspired by the confusion caused by
FreeBSD problem report 69861.

From jmc@openbsd.

Bump date.
2009-01-04 17:26:24 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
lukem 5d427989ff Convert to raise_default_signal(3). 2007-10-05 07:27:41 +00:00
lukem 3ae239d786 Attempt to raise the default signal handler (SIG_DFL) when exiting
because of a signal, rather than just relying upon _exit(2).
2007-07-18 01:32:33 +00:00
wiz b849663960 mdoc improvements. 2006-09-27 17:41:30 +00:00
christos 1a6e50f273 PR/34599: Mindaugas: csplit(1) utility port 2006-09-25 19:21:42 +00:00