Commit Graph

10047 Commits

Author SHA1 Message Date
dholland 3251535c47 Avoid memory leak in error case. From Gao Ya'nan in PR bin/39721. 2008-10-09 07:18:15 +00:00
lukem a1e399536b WARNS=4 2008-10-08 03:55:18 +00:00
lukem e9415a55f8 use a const struct hash pointer 2008-10-08 03:55:05 +00:00
lukem 9cec53beb4 Explicitly pull in "nbtool_config.h" if available.
Fixes tools/db build, as reported by Matthias Scheler.
2008-10-07 10:03:47 +00:00
lukem 84d42cdace Fail with a non-zero exit code if deleting a non-existant key.
Fixes bug introduced in rev 1.15, and reported in PR 39710 from Juan RP.

Don't display various warnings in delete if -q.
Suggested in PR 39710.

Add some sanity enforcing abort()s.
2008-10-07 01:32:51 +00:00
joerg bd681a4d7e Don't use emalloc and friends directly, but call them consistently
bmake_malloc and friends. Implement them via macros for the native case
and provide fallback implementations otherwise. Avoid polluting the
namespace by not defining enomem globally. Don't bother to provide
strdup and strndup, they were only used for the estrdup and estrndup
comapt code.

This addresses the presence of emalloc in system libraries on A/UX and
resulted strange issues as reported by Timothy E. Larson.
2008-10-06 22:09:21 +00:00
dholland b458f98fad If the parser scrapes up something it thinks is positionally a month, but
is numerically out of range, do something reasonable instead of crashing.
PR bin/39627.
2008-09-30 05:51:41 +00:00
dholland d65073510e Use off_t, not __off_t. 2008-09-30 04:03:37 +00:00
lukem b88214a09b update copyrights 2008-09-30 03:41:53 +00:00
dholland c92bbe4462 Don't accidentally treat "long double" as "long". PR bin/39639. 2008-09-27 20:04:24 +00:00
matt c58ed3675c Add the complex types to the floating point promotion rules. 2008-09-27 02:30:46 +00:00
matt 2ded04cde2 Add a missing label for LCOMPLEX 2008-09-26 23:51:04 +00:00
matt 9364aa71ae Teach lint about long double _Complex (C99) 2008-09-26 22:52:24 +00:00
hubertf 4841b75981 sign over my copyright to TNF 2008-09-22 13:10:25 +00:00
wiz ccc14bc16a Sort options. Uppercase GNU. 2008-09-21 16:46:01 +00:00
joerg d5b2c9a825 Update patch to the version used by DragonFly and derived from OpenBSD.
Major changes are:
- better detection of double applied patches
- rejects remain unified diffs for unified patches
- far less limitations, e.g. patch lines may be arbitrary long

This addresses PR standards/11220 by changing patch -b behavior to be
POSIX compliant. Old behavior can be obtained using --suffix, which
works since NetBSD 1.4. pkgsrc has been adjusted accordingly.
2008-09-19 18:33:34 +00:00
perry 5a047c798a Add a -r flag that is an alias for -E, for compatibility with gnu sed. 2008-09-16 13:32:04 +00:00
christos dcfa7f5149 handle SI_NOINFO 2008-09-12 20:46:42 +00:00
christos a5ae52b986 When returning an unknown code, return the code number not NULL 2008-09-12 20:44:40 +00:00
joerg 8a89a3dc54 Check value range of ULONG and UQUAD values. On 32 bit platforms like
i386 "unsigned long x = 0x800000000UL;" passed lint and gcc complains
(rightfully). Validate quad as well to allow using a potentially larger
type to store the value.
2008-09-10 14:05:00 +00:00
jnemeth 60d26697e2 Updated UK Bank Holidays based on http://en.wikipedia.org/wiki/Bank_holiday
Thanks to perry@ for pointing me to this page.
2008-09-10 01:39:00 +00:00
jnemeth c189d3256b - update all dates that varies (hopefully, they'll be correct for the
first year that NetBSD 5.0 is out)
- add release date of NetBSD 4.0

XXX  There are several UK "Bank Holidays" in calendar.holiday.  Could
     somebody update those and give an indication of when they are, please?
2008-09-09 18:47:19 +00:00
gmcgarry 0e0358051d Cast f_type to signed integer before comparison with negative values. 2008-09-09 00:56:23 +00:00
gmcgarry 507b8fdd96 getline() returns int. Don't cast to unsigned value and compare with -1. 2008-09-09 00:48:28 +00:00
wiz fb73034467 Sort SEE ALSO.
Remove unnecessary Bk/Ek in SYNOPSIS.
2008-09-05 09:05:13 +00:00
lukem b5b5e891d4 crank to WARNS=4 2008-09-05 07:56:07 +00:00
lukem 68089bcfee Add -P pagesize, to tune the btree psize and hash bsize.
Set to 0 to let the system choose (based on st_blksize of the file)
Defaults to 4096.
2008-09-05 07:55:33 +00:00
lukem 0e22f8f32f Support -Th (VIS_HTTPSTYLE) when -U decoding key/value for delete or write 2008-09-05 05:04:40 +00:00
lukem 081a7c3db2 Fix -N so that it sets O_TRUNC in the flags to pass to dbopen(3)
and not the flags used by db(1) to control internal behaviour.
2008-09-05 03:41:35 +00:00
lukem 82ec76f4db Support -Th to enable VIS_HTTPSTYLE.
Expand description of -T so there's less need to consult
both vis(1) and strvis(3) to determine what the characters mean.
2008-09-04 09:54:56 +00:00
drochner 316dc7a8ab Support -the "-A addressformat" flag for od(1), from FreeBSD.
(I found a script which tries to figure out the byteorder of a box
by "od -An | grep", but it is POSIX anyway.)
There is a little behavioural change: The whitespace without any arguments
is like "-to2" now; before it was custom. It's not worse imho.
2008-09-03 16:32:57 +00:00
christos 369f880abf disable completely. 2008-09-02 09:26:55 +00:00
christos fb5e0a80e2 Add docs back the best way we can:
1. Don't add changelog and other implementation specific nvi files because
   this have changed from 1.79 and are probably not relevant in 1.81
2. Put back virecover.
3. Descend regularly to subdirs instead of Makefile hacks
4. Use USD.doc stuff from the 1.81 docs except for vi.ref which has
   unfortunately been converted to texinfo. For that, we preserve
   the original documents because we want to still be able to make
   section 13 (building texinfo is not acceptable because it will not
   have the same look and feel as the rest of the book)
5. Since the texinfo reference is probably better maintained, build
   that too as a texinfo document.
2008-09-02 09:25:39 +00:00
dholland 0a268c3ebf Fix description of %b format. PR 39111 from Paul Goyette. 2008-09-01 09:20:41 +00:00
christos 19656dada9 For now descend into old vi for virecover and doc. Unfortunately the
new vi vi.ref is now texinfo and our makeinfo is too old to deal with it.
2008-08-31 12:09:48 +00:00
christos 0d6bb61e85 nvi is now default 2008-08-31 05:17:31 +00:00
christos 45ee307f3b no more magic.mime 2008-08-30 12:25:41 +00:00
cube baebbcf71a Bump CONFIG_VERSION after the previous fix to main.c. 2008-08-30 02:59:55 +00:00
cube 8e3d873278 In find_declared_option, use the correct hash for file-systems. That way,
information about dependencies are actually processed.
2008-08-30 02:57:42 +00:00
gmcgarry 15631ee3b4 Undefine __PCC__ the same as __GNUC__ inside lint. 2008-08-29 00:44:48 +00:00
gmcgarry 3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
mrg 8cdb9d89bb don't parse $LESS env-var in more_mode. (also, don't parse $LESS twice
in non more_mode.)
2008-08-28 07:20:20 +00:00
gmcgarry 6745125758 Remove old pcc reachover build now that pcc and its libraries are built from
src/external/bsd/pcc.
2008-08-27 12:28:14 +00:00
christos 6677e30757 add the ability to have non widechar build, with USE_WIDECHAR=no
On i386:
vi		308685
nvi.nonwide	296856
nvi.wide	340860
2008-08-27 10:17:49 +00:00
christos 80a5932343 setup _POSIX2_C_BIND per SUSv3, from Andy Shevchenko 2008-08-27 08:56:49 +00:00
christos d430a181cb - don't compile with debugging on
- split the wide regex options in preparation for a non-wide build.
2008-08-27 05:42:54 +00:00
lukem c063e13c21 Repeat after me:
* define NOfoo before .including <bsd.own.mk> or anything else that
   might (indirectly) .include it, not after.
 * defining MKfoo=no isn't what Makefiles are supposed to do
(yes, both mistakes were present :)
2008-08-26 12:15:53 +00:00
lukem 7cf6380198 "-indent" isn't a valid directive to .Bl, and "-offset indent" didn't
seem consistent with other man pages.  Remove it.
2008-08-26 12:12:58 +00:00
wiz 8ff1fd42f2 Correction for previous from dillo: it is a backquote, not a single quote. 2008-08-25 09:36:24 +00:00
wiz affdbfea59 Explicitly mention that it is the single quote character, to unconfuse joerg. 2008-08-23 16:32:50 +00:00
he cef17755f2 Restore the "pages actige" and "pages inactive" value printouts
in "vmstat -s" output when run on the active kernel.

The reason we can't easily provide these values out of a crash
dump, is that these fields are no longer proper members of
struct uvmexp, but rather are estimated by and dependent on
the currently active page replacement policy in the kernel.
2008-08-20 18:51:49 +00:00
reed b63f4fe587 Fix birth year for Meriwether Lewis.
Also add who he is.

(Why does this "birthday" file have deaths in it?)
2008-08-18 15:11:42 +00:00
dholland 81b964b825 Avoid dumping core on bad options. 2008-08-18 02:12:35 +00:00
gmcgarry 38c13341d1 Dont build atf tools with (${MKATF} == no). 2008-08-16 23:59:45 +00:00
wiz 5c6f9cb082 Fix typo in Dd argument. 2008-08-15 21:10:57 +00:00
apb b1dd3534e7 For binary controls, ++ and -- toggle between on and off. 2008-08-15 17:41:29 +00:00
wiz 99f508ab37 Correct spellings.
From comet-berkeley <comet@transbay.net> on FreeBSD PR conf/126199,
and Frantisek Holop.

From Igor Sobrado <sobrado@openbsd.org>.
2008-08-15 13:12:15 +00:00
lukem 4f152bac9e Use AF_INET instead of AF_UNSPEC as the default family if !defined(INET6).
Avoids problem reported by Matthias Scheler <tron@NetBSD.org>.
2008-08-13 04:59:13 +00:00
wiz 6ae5b86a80 Drop trailing whitespace. Use .Dq. 2008-08-10 23:25:50 +00:00
gdt 69bdd817cc Add error checking to use of fputs in creating output file in
temprorary directory.  Previously, fputs was used without checking the
return value, leading to silent truncation when the temporary
filesystem was full (such as can easily happen when migrating to
tmpfs).
2008-08-10 22:36:23 +00:00
cube dda0645b09 Clarify a bit .SUFFIXES and .IMPSRC. Should fix PR#37822. 2008-08-10 19:47:29 +00:00
skrll 38af541845 WARNS=3 2008-08-03 09:25:05 +00:00
apb 4e07a05b2d Lint predefines the following symbols: "__LINT__", "lint", "__lint", and
"__lint__"; not only "lint" as the man page previously claimed.
2008-08-02 12:05:48 +00:00
christos 2703aa2d0d enable -P 2008-07-31 15:25:18 +00:00
christos 8bba9bd7b0 document P 2008-07-31 15:24:09 +00:00
christos 3457928c2a Add Picky flag; this produces more warnings:
1. long a; int i; a = i * i;
   suggests casting i to long, so that we gain precision in the multiplication.
2. warns about magnitude comparisons in enums.
3. warns about possible sign extension issues when integer types become widened.
2008-07-31 15:21:34 +00:00
joerg f45c989c53 Micro-optimise VarQuote by exploiting that meta characters are normally
rare and skipping over normal characters with strcspn is therefore
faster. Further simplify logic by always setting newline and precompute
the size of the string.

OK christos@
2008-07-31 15:19:19 +00:00
joerg 2ad045d932 Meta characters are a constant, mark it so. 2008-07-31 14:59:39 +00:00
dsl 0109c05abd Fix 'total' output from 'du -sc'.
Simplify the change (adding -d<depth>) that broke it by noting that
-d0 is supposed to be the same as -s.
Calling fts_set(fts,p,FTS_SKIP) here is also pointless.
2008-07-30 22:03:40 +00:00
pooka f00b7c9b12 Solve the fstat-wants-to-look-at-kernel-data-structures in a nicer
way: don't export the fs internals to innocent userspace programs
which just want to mount the file system.
2008-07-29 09:10:09 +00:00
pooka f99d5e92e0 include correct header 2008-07-28 18:05:09 +00:00
dsl d4d6980a4b Add a check for 'continue' inside a 'do ... while (0)' loop.
'continue' has the same effect as 'break' - as that probably isn't
what the writer had in mind!
2008-07-25 18:33:53 +00:00
gmcgarry 8385c9b102 Both legs of a conditional operator must return the same type. 2008-07-25 06:53:43 +00:00
christos ecfa5800d4 PR/39201: Brian Marcotte: "who am i" problem when using ptyfs, because it
strips pts/
2008-07-24 15:35:41 +00:00
christos 8dd0b4459d handle more types. 2008-07-23 11:59:43 +00:00
lukem 93505eb7ec Add back rev 1.83. (hi christos!) 2008-07-23 00:57:53 +00:00
christos 380fafb740 a better attempt on printing dtype_misc 2008-07-22 22:58:04 +00:00
dyoung 6c06f2593a Per discussion on tech-userlevel@, do not compile and install nvi
if MKNVI=no.

The default is MKNVI=yes, so that this amounts to no change for
most users, but the default may change.
2008-07-22 21:07:58 +00:00
lukem f56a1ee83d Add TNF to __COPYRIGHT 2008-07-21 23:11:16 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
veego e234a5ca82 Use BUILDSYMLINKS for the nvi.1 manpage instead of copying the vi.1 file
to nvi.1
Resolves the problem that this file was not removed during a make cleandir.
2008-07-20 20:06:46 +00:00
veego 2be155d689 Add CLEANFILES for krb5-config 2008-07-20 17:53:30 +00:00
drochner 93e3fc3cf6 thanks David, but the initialisation might not work, dependent on
the %union used -- remove the "const" instead (and add a "static"
which desn't seem to hurt)
2008-07-18 14:25:37 +00:00
dsl 6889d181fd groff puts this code through g++ which is rather happier if we give
yyvalzero an initialiser.
2008-07-18 09:57:15 +00:00
drochner f2e25e0cba fix a longstanding bug, from Otto Moerbeck:
if we're reducing a rule that has an empty
right hand side and the yacc stackpointer is pointing at the very
end of the allocated stack, we end up accessing the stack out of
bounds by the implicit $$ = $1 action

do it a bit differently than in Openbsd: avoid pulling in <string.h>
because this is not compatible with wacky namespace games we do in libc
2008-07-17 16:28:14 +00:00
drochner 1f6364ac89 some improvements to digital play mode:
-use AUMODE_PLAY_ALL, from Sergey Svishchev -- this might cause
 stuttering if the write to audio can't keep up, but it avoids pauses
 if the audio buffer drains out on stop/resume
-The timeout for the raw SCSI command to read audio data
 was too small, causing complete failure for me.
-Since the itimer can't do faster than HZ, a too small buffer doesn't
 work. Try to calculate a sensible buffer size.
-While it makes sense to deliver data a bit faster than necessary,
 it should be not that much that the blocking in the signal handler
 hurts interactive response. Allow for 50ms.
-Comment out a sched_yield() in the signal handler - this doesn't
 look right.
This is far from being perfect, but it makes digital mode usable for me.
And for Jeremy C. Reed, the author of PR bin/38493.
2008-07-16 17:26:25 +00:00
kent ecafa994fb * emitrules()
- code cleanup
 - support for extensions of which length is not 1
2008-07-16 11:45:56 +00:00
christos dd8e10b0fe top is now in dist/bsd 2008-07-16 00:43:04 +00:00
wiz b642991c89 Remove trailing whitespace. Fix formatting. Remove superfluous .Pp. 2008-07-15 12:14:13 +00:00
dillo 74b46c9c7a Improve with information provided by Joerg.
There are some formatting errors, someone with mandoc clue please correct.

Also, this man page assumes familiarity with the concepts uesd.
While fully describing these concepts is outside the scope of this
man page, a pointer to such a description should be included.
Someone who knows of such a description, please provide pointers.

Finally, we should have a companion tool to create the peaces needed
to use this tool: set up a CA, create a certificate chain and a
private key/certificate pair for signing.
2008-07-15 11:17:44 +00:00
dholland 16e3bec279 Clarify how one is supposed to use the pointers returned by getutentries()
(the utmpentry.c code), specifically with respect to who owns them and
when to free them. Now they're owned by utmpentry.c, only. Abolish the
freeutentries() function, which was the wrong abstraction; add instead
endutentries(), which flushes out the internally managed memory.

Update callers as necessary. Some (e.g. talkd) had been leaking memory;
others (e.g. syslogd) had been accidentally freeing and reloading utmp
more often than necessary. There are a couple untidy bits in users and
rwhod that someone should look after sometime, maybe.

Fixes PR bin/35131, which was about talkd's memory leak.
2008-07-13 20:07:48 +00:00
christos da732476b6 fix build. 2008-07-13 03:44:41 +00:00
tnozaki 4dbd28ac77 add check wether /var/run/vi.* is regular file or not.
nvi-1.81.6 may create not only recovery file, but
tempoary directory(for db) using this name.
2008-07-10 17:48:04 +00:00
cube 7490b3179c It actually makes no sense to warn on a behaviour that was allowed in
previous versions, when we know we're working on an old file.  That way,
a -current config(1) works on a 4.0 source tree (or older) without
warning.  Pointed out by Christos Zoulas.

XXX We should set up way to note compatibility code we can get rid of
XXX the day we choose to bump CONFIG_MINVERSION.
2008-07-07 16:10:27 +00:00
he dfcadaa439 Fix alignment of fields for "vmstat -m" when KMEMSTATS are available:
o Make "prop dictionary" fit in the "Type" coloumn
 o Ensure that fields don't run into each other (adds a space between fields)
 o Ensure that a Limit of >100000K fits in the field width
2008-06-24 12:47:23 +00:00
njoly 996306675b Output linux ptrace request name for processes under compat linux32
emulation too.
2008-06-18 23:04:52 +00:00
christos 8b0443fdbf From skd: Delete kernel_floor tests. They don't make sense on amd64. 2008-06-17 15:54:45 +00:00
joerg d40cb84328 If key usage validation is requested, ensure that all bits exist.
Check the certificates before printing that the signature is valid.
Improvide wording of error message as suggested by Love.
2008-06-11 16:31:09 +00:00
aymeric 2974b82da3 enable the wcurses-enabled vi as 'nvi', 'nex', and 'nview'.
Will be put in place of the default "non-n" variants when they are stable.
2008-06-10 18:41:47 +00:00
drochner b66156c7c9 Disable use of pseudo-devices defined "defpseudo" with interface
attributes, but provide compatibility for older source trees (according
to the "version" in conf/files and other files.*.
reviewed by cube
2008-06-10 18:11:31 +00:00
cube 53faa53d5a Do proper config(5) version checking after previous changes [hi drochner!].
The rule is, if you change scan.l or gram.y, you bump the config(5)
version.  If you implement the changes under sys/conf/files or affiliate,
you bump the required version in sys/conf/files or in an appropriate place
to minimise annoyance.  If the changes makes new config(1) incompatible
with a previous version of config(5), embed it in config(1) using the
CONFIG_MINVERSION definition along with CONFIG_VERSION.

This has been in the tree for what, 3 years now?  It's even documented...
2008-06-10 14:03:57 +00:00
wiz 3c60159914 Bump date for previous. 2008-06-10 12:56:33 +00:00
drochner 8456b350de Seperate pseudo-devs which don't use device_t et al. (the classical
ones, mostly network pseudo interfaces) and those which use autoconf
to attach instances dynamically, or to attach child devices.
Use a new keyword "defpseudodev" for the latter.
Issue a warning if interface attributes are used with "old" pseudodevs,
but let it work as before for now. This will be removed soon.
approved by cube
2008-06-10 12:35:32 +00:00
aymeric afab0934cb rename ru_SU to ru_RU, as was done in the previous vi 7 years ago 2008-06-05 21:16:15 +00:00
ad e7fbdbbaf0 vmstat -s: report cpu pagealloc hits/misses. 2008-06-04 12:47:47 +00:00
christos 9f1edc04f7 PR/38840: Pierre Pronchery: make crashes while parsing long lines in Makefiles 2008-06-03 13:02:28 +00:00
wiz fbf4777151 Sort options. 2008-06-01 10:25:29 +00:00
christos dc05e9ba0d - rewrite, ansify, lint
- ad the ability to remove all entries at once.
2008-05-31 14:27:39 +00:00
mrg 04f2afbef7 convert the rest of my licenses to 2-clause, extracting myself out
from a group as necessary.

bozohttpd remains, but it will get fixed next time i update it.
2008-05-30 02:29:37 +00:00
mrg c2b95373bf remove clause #3 from my license where there are no other
copyright holders involved.
2008-05-29 14:51:25 +00:00
christos 8567cf00de PR/38756: dominik: make dumps core on invalid makefile 2008-05-26 14:29:55 +00:00
dholland 2b94d6fae5 Error out instead of dumping core if we can't write (one of) the output
files. Fixes PR 36725.
2008-05-26 07:57:29 +00:00
dholland 89a35a0e0a Cosmetic fix: don't exit without completing the progress bar, either on
write error or by receiving SIGPIPE. This avoids leaving the tty in a
mess. Probably addresses PR 30287.
2008-05-26 04:53:11 +00:00
dholland 2dad86041d Document the values returned by close() and fflush(). PR bin/38132. 2008-05-26 02:07:25 +00:00
rmind 5c6ac26f4d Allow in top(1) to specify refresh time in parts of second. Minimal time is
0.5s for user, and 0.1s for superuser.

OK by <christos>.
2008-05-25 21:49:33 +00:00
christos da88a5a499 Coverity CID 5011: #ifdef out unreachable code. 2008-05-24 19:26:14 +00:00
mlelstv 217da3ad75 don't free input buffer repeatedly during non-whitespace hunt 2008-05-24 14:45:46 +00:00
wiz 16cab1f7e5 Formatting improvements. Use standard headers and macros.
Fix typos. Bump date for import.
2008-05-22 12:01:03 +00:00
aymeric 0536e8e6b3 add the reachover infrastructure to build nvi 1.81.6 from src/dist/nvi
XXX docs are left out for the moment
the recover script is also left out, but provided by the older vi

The src/usr.bin/nvi directory is not descended into yet, but is otherwise
functional
2008-05-20 18:04:16 +00:00
atatat 23a609536c The ofmt variable is actually a bit mask (not the character that was
in the format string) so that we can "or" it with the bits in the
formats variable.  This fixes the missing " -> " in front of the real
path (when you use %SR).

Also, the ?: needs another space.
2008-05-16 17:58:33 +00:00
sjg f2c43a72d5 VAR_CMD context is used by conditionals and other purposes, so
actually set VAR_FROM_CMD when appropriate and only skip setting in
VAR_GLOBAL when that flag is set.
2008-05-15 21:05:54 +00:00
sjg db7f6ac403 Disable this for now, VAR_CMD is abused for other purposes... 2008-05-15 18:25:12 +00:00
sjg 20275ee931 Do not set vars in VAR_GLOBAL context, if they have been set on the
command line.
Add a suitable unit-test.
2008-05-14 14:27:02 +00:00
tron 684e3b35bd Add support for "netgroup" database. The output format matches what
Linux produces (because Solaris doesn't support this).
2008-05-14 11:44:09 +00:00
wiz b766901d20 Bump date; punctuation improvements. 2008-05-13 09:33:36 +00:00
joerg 21edf88c1e Add nbsvtool to the build. 2008-05-11 17:58:45 +00:00
joerg 1762b349a6 Add nbsvtool, a simple and small program to create and verify detached
PKCS7 signatures. This was written by lha@ and discussed on
tech-security. I've slightly cleaned up the program and man page.
Contrary to the original version, this doesn't provide a default trust
anchor.
2008-05-11 17:58:09 +00:00
skd 830972dccc Bump version string, as per lukem@. 2008-05-10 01:14:57 +00:00
skd 315d173b9f Add epsv6 and epsv to disable extended passive mode for ipv6 or both ipv4 and ipv6 respectively. This hack is due to our friends a Juniper Networks who break
epsv in ipv6.  Should be fixed in ScreenOS 6.2.X.
2008-05-10 00:05:31 +00:00
christos da16318f7a new openssl 2008-05-09 21:55:30 +00:00
wiz c75bafc005 2-clause my license. 2008-05-08 15:34:21 +00:00
apb 76807ad91e Add a note about the stupid behaviour of "%c" format. 2008-05-06 12:01:35 +00:00
lukem c63ddfd726 Only attempt to el_parse() a command unknown by the default parser
if editing is enabled.
Fixes PR bin/38589
2008-05-05 22:54:11 +00:00
martin 637bc2e71d Move TNF licenses to 2 clause form 2008-05-04 19:43:05 +00:00
christos 26acf9f9d6 don't check for NaN if fpe. 2008-05-03 16:28:56 +00:00
lukem 66176dfdff Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
martin 84a064c56f Move to 2 clause license 2008-05-02 21:48:18 +00:00
martin cd22f25e6f Move TNF licenses to 2 clause form 2008-05-02 18:11:04 +00:00
christos 00c6e78061 Since we cannot guarantee that all machines do ieee math, or that they have
the proper math setup deal with SIGFPE directly.
2008-05-02 15:10:05 +00:00
christos ee5dd5c8d7 fix const and volatile printing in types. 2008-05-01 21:52:19 +00:00
gdt 36bcd10549 Use -f in cp, so that a previous file in the OBJDIR that's read-only
won't cause a failure.
2008-05-01 20:56:39 +00:00
christos 1347903131 PR/38543: Valery Ushakov: Don't crash printing anonymous unions. XXX: Type
printing is phase2 is buggy since it does not print the qualifiers, but this
is for another day.
2008-05-01 15:39:33 +00:00
jmmv 75562a3ca6 Adjust the build of the ATF tools to use the new paths to the source files
and the new library names.  Per import of atf-0.5.
2008-05-01 15:35:14 +00:00
ginsbach 709ba647ca Remove clause 3 and 4 from TNF licenses 2008-04-30 14:22:14 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +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 17a5e23949 Make sure the current message (dot) is set correctly when changing the
display state, i.e., hidden/exposed tags or threads.  This fixes at
least two problems:

- If the current message is a duplicate that is deleted by the "deldups"
  command, then the dot was invalid making all messages appear to have
  been deleted.  It is now set to the surviving duplicate message.

- If the current message is tagged, the "hidetags" command would leave
  the dot invalid and the dislay would reset it at the top of the
  current screen.  It is now set the the first untagged (and
  not deleted) message after the previous (tagged) dot message.

From Anon Ymous
2008-04-27 22:26:50 +00:00
nakayama 66f1c31a47 grep "-H" option (print the filename for each match) always prints
filenames whether "-h" option (suppress filenames when multiple files
are searched) is speficied or not.

Make zgrep "-h" option actually works with using "-H" option only
when "-h" is not specified.
2008-04-27 09:27:55 +00:00
nakayama c9f8548d80 Our gzip does not have "-o" option.
So replace -o with >, then znew can now work again.
2008-04-27 09:07:13 +00:00