]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoThe XCU issue 5 requirement of accepting the file operand intermingled
Tim J. Robbins [Mon, 27 May 2002 06:53:54 +0000 (06:53 +0000)]
The XCU issue 5 requirement of accepting the file operand intermingled
with options has been withdrawn in issue 6, to which nl(1) now conforms.

22 years agostyle(9): use errx() where appropriate instead of fprintf() + exit().
Tim J. Robbins [Mon, 27 May 2002 06:46:29 +0000 (06:46 +0000)]
style(9): use errx() where appropriate instead of fprintf() + exit().

22 years agostyle(9): use err() instead of perror() + exit().
Tim J. Robbins [Mon, 27 May 2002 06:37:34 +0000 (06:37 +0000)]
style(9): use err() instead of perror() + exit().

22 years agoClaim conformance to IEEE Std 1003.1-2001.
Tim J. Robbins [Mon, 27 May 2002 06:08:14 +0000 (06:08 +0000)]
Claim conformance to IEEE Std 1003.1-2001.
See also csplit(1).

22 years agoAllow "-" to be specified as an operand as well as an option.
Tim J. Robbins [Mon, 27 May 2002 05:27:10 +0000 (05:27 +0000)]
Allow "-" to be specified as an operand as well as an option.
SUSV3 requires something like "split -- -" to work. Document the "-" operand.

22 years agoDon't tsleep() with an sb_mtx held.
Dima Dorfman [Mon, 27 May 2002 05:20:15 +0000 (05:20 +0000)]
Don't tsleep() with an sb_mtx held.

22 years agoAvoid overflowing `fname' if the file name prefix given on the command
Tim J. Robbins [Mon, 27 May 2002 04:59:46 +0000 (04:59 +0000)]
Avoid overflowing `fname' if the file name prefix given on the command
line is too long.

Obtained from: OpenBSD

22 years agoExit non-zero if the tags file cannot be opened.
Tim J. Robbins [Mon, 27 May 2002 03:54:45 +0000 (03:54 +0000)]
Exit non-zero if the tags file cannot be opened.

22 years agoRemove spurious period.
Dima Dorfman [Mon, 27 May 2002 03:45:27 +0000 (03:45 +0000)]
Remove spurious period.

22 years agoFrom NetBSD:
Tim J. Robbins [Mon, 27 May 2002 03:17:28 +0000 (03:17 +0000)]
From NetBSD:
    Revision 1.10 Sat Oct 14 17:41:55 2000 UTC by bjh21
    Don't core dump with an empty format string.  Fixes PR#11218.
    Patch supplied by Launey Thomas.

Obtained from: NetBSD

22 years agoInitialise the `positions' array correctly before use.
Tim J. Robbins [Mon, 27 May 2002 02:01:25 +0000 (02:01 +0000)]
Initialise the `positions' array correctly before use.

22 years agoUse underscored variant of BYTE_ORDER and friends to allow this to
Mike Barcroft [Mon, 27 May 2002 00:55:17 +0000 (00:55 +0000)]
Use underscored variant of BYTE_ORDER and friends to allow this to
work in a !__BSD_VISIBLE environment.

22 years agoRegen.
Josef Karthauser [Mon, 27 May 2002 00:01:21 +0000 (00:01 +0000)]
Regen.

22 years agoAdd a couple of new aue ethernet adapters from NetBSD:
Josef Karthauser [Mon, 27 May 2002 00:00:48 +0000 (00:00 +0000)]
Add a couple of new aue ethernet adapters from NetBSD:
ELECOM LDUSBLTX
IODATA USBETTXS

22 years agoUse aue_lookup for looking up devices.
Josef Karthauser [Sun, 26 May 2002 23:54:37 +0000 (23:54 +0000)]
Use aue_lookup for looking up devices.

22 years agoCorrect the usage of DMAADDR in a piece of '#if 0'd code. (The compiler
Josef Karthauser [Sun, 26 May 2002 22:13:09 +0000 (22:13 +0000)]
Correct the usage of DMAADDR in a piece of '#if 0'd code. (The compiler
didn't pick it up.)

22 years agoMFNetBSD:
Josef Karthauser [Sun, 26 May 2002 22:11:34 +0000 (22:11 +0000)]
MFNetBSD:
    revision 1.124
    date: 2002/05/26 03:10:02;  author: minoura;  state: Exp;  lines: +3 -3
    Clear done_head in the HCCA *before* acknoledging the interrupt.
    Driver lost some completed transfers under heavy loads.

22 years agoMFNetBSD: ohci.c (1.124), uhci.c (1.159), usbdi.c (1.100)
Josef Karthauser [Sun, 26 May 2002 22:00:06 +0000 (22:00 +0000)]
MFNetBSD: ohci.c (1.124), uhci.c (1.159), usbdi.c (1.100)
    date: 2002/05/19 06:24:31;  author: augustss;  state: Exp;
    Update dma memory access API a little.

NetBSD have adopted our way of using the KERNADDR macro.  Update
the revision tags to show that we're in sync, and remove the casts
that they did in their adaptation.

22 years agoMore catchup MFbeds:
Udo Erdelhoff [Sun, 26 May 2002 19:41:51 +0000 (19:41 +0000)]
More catchup MFbeds:
hardware/alpha/proc-alpha.sgml: MFen 1.40 -> 1.41
hardware/common/dev.sgml: MFen 1.87 -> 1.91
installation/common/install.sgml: translation fixes
readme/article.sgml: translation fixes
relnotes/common/new.sgml: MFen 1.340 -> 1.355

22 years agoThe pre-release sweep continues:
Udo Erdelhoff [Sun, 26 May 2002 19:35:41 +0000 (19:35 +0000)]
The pre-release sweep continues:

Just update the 'original revision' markers of some files where the last
update of the english version has no impact on the translated version
(spelling checks are a premium cause of this) except making it harder
to find the changes that still need to be translated/comitted.

22 years agoAdd a proof-of-concept encryption class.
Poul-Henning Kamp [Sun, 26 May 2002 18:14:38 +0000 (18:14 +0000)]
Add a proof-of-concept encryption class.

"The only hard problem in cryptography is key-management."

All sectors are encrypted with AES in CBC mode using a constant key,
currently compiled in and all zero.

To activate this module, write the magic header on the partition:

echo "<<FreeBSD-GEOM-AES>>" | dd conv=sync of=/dev/md98

The encrypted device will be one sector shorter and have ".aes"
appended to its name.

Sponsored by: DARPA & NAI Labs.

22 years agoGive the closet-dev_t we hand to the diskdrivers a name.
Poul-Henning Kamp [Sun, 26 May 2002 17:35:14 +0000 (17:35 +0000)]
Give the closet-dev_t we hand to the diskdrivers a name.

22 years agoOnly clear the spoiled flag if the class had no spoiled method, the spoiled
Poul-Henning Kamp [Sun, 26 May 2002 17:17:25 +0000 (17:17 +0000)]
Only clear the spoiled flag if the class had no spoiled method, the spoiled
method may have deallocated the consumer already and modifying free()'ed
memory is bad style.

Sponsored by: DARPA & NAI Labs.

22 years agoAlpha has crtfastmath also.
David E. O'Brien [Sun, 26 May 2002 17:16:21 +0000 (17:16 +0000)]
Alpha has crtfastmath also.

22 years agoRev 1.12 broke `make all' w/o a previous `make depends'.
David E. O'Brien [Sun, 26 May 2002 17:09:31 +0000 (17:09 +0000)]
Rev 1.12 broke `make all' w/o a previous `make depends'.

22 years agoInitial translation
Sebastien Gioria [Sun, 26 May 2002 17:07:32 +0000 (17:07 +0000)]
Initial translation

22 years agoInitial translation
Sebastien Gioria [Sun, 26 May 2002 16:49:48 +0000 (16:49 +0000)]
Initial translation

22 years ago- be more FDP compliant
Sebastien Gioria [Sun, 26 May 2002 16:43:04 +0000 (16:43 +0000)]
- be more FDP compliant
- be more French compliant
- fix some spelling

22 years agoNote that this is a historical document and that users should refer
Tony Finch [Sun, 26 May 2002 16:29:25 +0000 (16:29 +0000)]
Note that this is a historical document and that users should refer
to flex(1) in preference.

Reviewed by: grog
Approved by: dwmalone (mentor)

22 years agoFirst shot of the translation in the userland section.
Sebastien Gioria [Sun, 26 May 2002 16:29:08 +0000 (16:29 +0000)]
First shot of the translation in the userland section.

22 years agoThe special checks for %b and %D in rev 1.1 were done before skipping over
David E. O'Brien [Sun, 26 May 2002 16:04:37 +0000 (16:04 +0000)]
The special checks for %b and %D in rev 1.1 were done before skipping over
any characters between the % and the [bD], so only plain %b and %B worked.
This may un-1/2ass our -fformat-extensions support.

Submitted by: bde

22 years agoAdd declarations of suword32 and suword64. Add implementations of one or
Doug Rabson [Sun, 26 May 2002 16:03:13 +0000 (16:03 +0000)]
Add declarations of suword32 and suword64. Add implementations of one or
the other (or both) to all the platforms. Similar for fuword32 and
fuword64.

22 years agoRemove a hack for using an external compiler if cross compiling.
Jake Burkholder [Sun, 26 May 2002 15:55:28 +0000 (15:55 +0000)]
Remove a hack for using an external compiler if cross compiling.

22 years agoNote that the lutimes(2) and lchflags(2) syscalls also do not follow symlinks.
Tim J. Robbins [Sun, 26 May 2002 12:51:38 +0000 (12:51 +0000)]
Note that the lutimes(2) and lchflags(2) syscalls also do not follow symlinks.
Remove incorrect examples.

PR: 25016
Submitted by: Martin Kammerhofer, Joshua Goodall

22 years agoAdd lchmod(2) to the list of syscalls that do not follow symbolic links.
Tim J. Robbins [Sun, 26 May 2002 12:12:36 +0000 (12:12 +0000)]
Add lchmod(2) to the list of syscalls that do not follow symbolic links.

22 years agoMutex statistics script.
Dag-Erling Smørgrav [Sun, 26 May 2002 12:02:36 +0000 (12:02 +0000)]
Mutex statistics script.

22 years agoMake sure there's a statement after the out: label in clockattach().
Dag-Erling Smørgrav [Sun, 26 May 2002 11:23:00 +0000 (11:23 +0000)]
Make sure there's a statement after the out: label in clockattach().

22 years agoCosmetic change (align with other boot blocks):
Nick Hibma [Sun, 26 May 2002 10:11:17 +0000 (10:11 +0000)]
Cosmetic change (align with other boot blocks):

CONSPEED -> COMSPEED

Approved by: nyan

22 years agoMis-edit in last commit.
Poul-Henning Kamp [Sun, 26 May 2002 09:57:59 +0000 (09:57 +0000)]
Mis-edit in last commit.

22 years agoBe a bit smarter about rewriting data so we don't loose too much performance.
Poul-Henning Kamp [Sun, 26 May 2002 09:38:51 +0000 (09:38 +0000)]
Be a bit smarter about rewriting data so we don't loose too much performance.

Sponsored by: DARPA & NAI Labs.

22 years agoAdd Standards, Diagnostics and History sections.
Tim J. Robbins [Sun, 26 May 2002 07:07:14 +0000 (07:07 +0000)]
Add Standards, Diagnostics and History sections.

22 years agoUse an umazone per unit for allocating the sectors for malloc backing.
Poul-Henning Kamp [Sun, 26 May 2002 06:48:55 +0000 (06:48 +0000)]
Use an umazone per unit for allocating the sectors for malloc backing.

Clean up things properly when we unconfigure malloc backed units.

Sponsored by: DARPA & NAI Labs.

22 years agoIf a file operand cannot be processed, go on to process any remaining files
Tim J. Robbins [Sun, 26 May 2002 06:15:15 +0000 (06:15 +0000)]
If a file operand cannot be processed, go on to process any remaining files
but exit non-zero.

22 years agoRemove extra word.
Dima Dorfman [Sun, 26 May 2002 05:24:53 +0000 (05:24 +0000)]
Remove extra word.

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>

22 years ago o Acquire and release Giant around pmap operations in vm_fault_unwire()
Alan Cox [Sun, 26 May 2002 04:54:56 +0000 (04:54 +0000)]
 o Acquire and release Giant around pmap operations in vm_fault_unwire()
   and vm_map_delete().  Assert GIANT_REQUIRED in vm_map_delete()
   only if operating on the kernel_object or the kmem_object.
 o Remove GIANT_REQUIRED from vm_map_remove().
 o Remove the acquisition and release of Giant from munmap().

22 years agoLog invalid config entries. Make the -d option actually log to
John W. De Boskey [Sun, 26 May 2002 04:43:26 +0000 (04:43 +0000)]
Log invalid config entries. Make the -d option actually log to
the terminal(-d fix from dwmalone).

Approved by: dwmalone
MFC after: 2 weeks

22 years agoTrim out this subdir; nothing has been made in here for _ages_.
Mark Murray [Sat, 25 May 2002 21:11:13 +0000 (21:11 +0000)]
Trim out this subdir; nothing has been made in here for _ages_.

22 years agoGive the "malloc" backing of md(4) an adaptive multilevel index tree to
Poul-Henning Kamp [Sat, 25 May 2002 20:44:20 +0000 (20:44 +0000)]
Give the "malloc" backing of md(4) an adaptive multilevel index tree to
remove the need for a contiguous array with pointers to all the sectors.

Try to make failure to malloc(9) memory a non-hang situation.

Eventually this will allow us to test the 64bit cleanness of the disk
I/O patch, but more work is outstanding here and elsewhere.

Sponsored by: DARPA & NAI Labs.

22 years agoMake discard devices clonable and unloadable. Also, change the
Brooks Davis [Sat, 25 May 2002 20:20:35 +0000 (20:20 +0000)]
Make discard devices clonable and unloadable.  Also, change the
interface name from ds# to disc#.

22 years agoMove all unit number management cloned interfaces into the cloning
Brooks Davis [Sat, 25 May 2002 20:17:04 +0000 (20:17 +0000)]
Move all unit number management cloned interfaces into the cloning
code.  The reverts the API change which made the <if>_clone_destory()
functions return an int instead of void bringing us into closer
alignment with NetBSD.

Reviewed by: net (a long time ago)

22 years agoThis directory (whis was supposed to do indexes etc for the printable
Mark Murray [Sat, 25 May 2002 19:36:09 +0000 (19:36 +0000)]
This directory (whis was supposed to do indexes etc for the printable
documentation) hasn't had its nappies changed since FreeBSD-2.0, and
is now starting to smell rather ripe.

Its dependant on ancient and removed tools, and the last maintainer
can't remember looking at it 1 1/2 years ago.

If we need it, its in the Attic.

Discussed with: asmodai

22 years ago o Remove some unnecessary casting from and add some necessary casting to
Alan Cox [Sat, 25 May 2002 18:39:42 +0000 (18:39 +0000)]
 o Remove some unnecessary casting from and add some necessary casting to
   aio_suspend() and lio_listio().

Submitted by: bde

22 years agoPerl left src/.
Ruslan Ermilov [Sat, 25 May 2002 17:31:27 +0000 (17:31 +0000)]
Perl left src/.

22 years agoPC98 creates different BOOTMFS configs for different floppy sizes.
Ruslan Ermilov [Sat, 25 May 2002 16:13:52 +0000 (16:13 +0000)]
PC98 creates different BOOTMFS configs for different floppy sizes.

Broken in: rev. 1.672
Spotted by: nyan

22 years agoANSIfy (significant portions were already partly ANSIfied)
Dag-Erling Smørgrav [Sat, 25 May 2002 15:52:53 +0000 (15:52 +0000)]
ANSIfy (significant portions were already partly ANSIfied)

22 years agoRemove register.
Dag-Erling Smørgrav [Sat, 25 May 2002 15:44:38 +0000 (15:44 +0000)]
Remove register.

22 years agoAutomated whitespace cleanup.
Dag-Erling Smørgrav [Sat, 25 May 2002 15:43:06 +0000 (15:43 +0000)]
Automated whitespace cleanup.

22 years agoMake it work for a different endianness binary.
Ruslan Ermilov [Sat, 25 May 2002 13:43:16 +0000 (13:43 +0000)]
Make it work for a different endianness binary.
(This version is still limited to ELF64.)

Reviewed by: jake

22 years agoGet all the fruit from makefile.
Ruslan Ermilov [Sat, 25 May 2002 13:39:20 +0000 (13:39 +0000)]
Get all the fruit from makefile.

22 years agoMove elf2aout to usr.sbin/.
Ruslan Ermilov [Sat, 25 May 2002 13:29:47 +0000 (13:29 +0000)]
Move elf2aout to usr.sbin/.

Approved by: jake

22 years agoRespect -q with "add" and "delete". Document who respects -q.
Ruslan Ermilov [Sat, 25 May 2002 12:51:34 +0000 (12:51 +0000)]
Respect -q with "add" and "delete".  Document who respects -q.

PR: bin/38531

22 years agosh appeared in Version 1, not System V.1.
Tim J. Robbins [Sat, 25 May 2002 12:18:27 +0000 (12:18 +0000)]
sh appeared in Version 1, not System V.1.

22 years agoImplement `set +o', which displays the currently set options in a format
Tim J. Robbins [Sat, 25 May 2002 12:11:58 +0000 (12:11 +0000)]
Implement `set +o', which displays the currently set options in a format
suitable for re-input into the shell.

22 years agoSync usage message with manual page synopsis.
Tim J. Robbins [Sat, 25 May 2002 11:37:10 +0000 (11:37 +0000)]
Sync usage message with manual page synopsis.

22 years agoFixed printf format errors which apparently crept in while -Wformat was
Bruce Evans [Sat, 25 May 2002 11:18:03 +0000 (11:18 +0000)]
Fixed printf format errors which apparently crept in while -Wformat was
disabled for gcc-3.

22 years ago"Fixed" printf format errors (64-bit daddr_t casualties; should use %jx
Bruce Evans [Sat, 25 May 2002 11:12:30 +0000 (11:12 +0000)]
"Fixed" printf format errors (64-bit daddr_t casualties; should use %jx
instead of %llx when %j is available).

Changed nearby output formats from %x to %#x so that it is obvious that the
numbers are in hex (vinum mostly uses 0x%x elsewhere).

Didn't fix nearby format printf errors (long lines).

22 years agoFixed printf format errors. Most of them are 64-bit daddr_t casualties.
Bruce Evans [Sat, 25 May 2002 11:05:07 +0000 (11:05 +0000)]
Fixed printf format errors.  Most of them are 64-bit daddr_t casualties.
Printing daddr_t's using %d format was always an error, but gcc's
warning about it was ignored for supported 64-bit arches and not printed
for supported 32-bit arches.  Hundreds if not thousands thousands of
previously "fixed" daddr_t printings are now broken on 32-bit machines
by casting daddr_t's to longs.  daddr_t's should be printed using %jd
format, but this fix uses %lld since %j is not implemented in the
kernel yet.

Fixed some nearby format printf errors (style bugs).

22 years agoFixed a printf format error. It was old and should have been detected by
Bruce Evans [Sat, 25 May 2002 10:48:03 +0000 (10:48 +0000)]
Fixed a printf format error.  It was old and should have been detected by
gcc-2.9x, but somehow wasn't fixed already.

22 years agoBad numeric arguments or usernames should cause non-zero exit status.
Tim J. Robbins [Sat, 25 May 2002 10:37:24 +0000 (10:37 +0000)]
Bad numeric arguments or usernames should cause non-zero exit status.

22 years agoMake these work with one-true-awk.
Ruslan Ermilov [Sat, 25 May 2002 10:37:00 +0000 (10:37 +0000)]
Make these work with one-true-awk.

Spotted by: nyan

22 years agoDetermine exit status to use before writing diagnostic message; warn()
Tim J. Robbins [Sat, 25 May 2002 03:32:23 +0000 (03:32 +0000)]
Determine exit status to use before writing diagnostic message; warn()
may change errno.

22 years agoTypo: use plural now that we have more than one option.
Tim J. Robbins [Sat, 25 May 2002 03:08:21 +0000 (03:08 +0000)]
Typo: use plural now that we have more than one option.

22 years agoIf a file cannot be processed, try to process any remaining files
Tim J. Robbins [Sat, 25 May 2002 03:04:28 +0000 (03:04 +0000)]
If a file cannot be processed, try to process any remaining files
then exit non-zero.

22 years agoConvert the interrupt queue from an array to a linked list. Implement
Jake Burkholder [Sat, 25 May 2002 02:39:28 +0000 (02:39 +0000)]
Convert the interrupt queue from an array to a linked list.  Implement
intr_dequeue in asm so that it can easily be modified to do light weight
context switching.

22 years agoThe man page is VERY WRONG about using "-o noupdate" with -s.
David E. O'Brien [Sat, 25 May 2002 01:46:44 +0000 (01:46 +0000)]
The man page is VERY WRONG about using "-o noupdate" with -s.
So fix it, and add an example using -s.

22 years agoTry to handle "double faults" occuring at more trap levels (ie 4 :)).
Jake Burkholder [Sat, 25 May 2002 01:45:11 +0000 (01:45 +0000)]
Try to handle "double faults" occuring at more trap levels (ie 4 :)).

22 years agoMinor style.
Jake Burkholder [Sat, 25 May 2002 01:44:08 +0000 (01:44 +0000)]
Minor style.

22 years agoMake the run queue parameters machine dependent. Optimize 64 bit
Jake Burkholder [Sat, 25 May 2002 01:12:23 +0000 (01:12 +0000)]
Make the run queue parameters machine dependent.  Optimize 64 bit
architectures by using a 64 bit word for the bit array which keeps
track of non-empty queues.

Reviewed by: peter

22 years agoRegen:
Sheldon Hearn [Fri, 24 May 2002 22:01:18 +0000 (22:01 +0000)]
Regen:

* Hart: rev 230 of pcidevs.txt (2002-05-21)
* Boemler: vendors.txt (2002-05-24)

22 years agoBackout 1.54 (restore definition for printf0 to actually do something).
Alfred Perlstein [Fri, 24 May 2002 19:16:08 +0000 (19:16 +0000)]
Backout 1.54 (restore definition for printf0 to actually do something).

22 years agoAdd the word ``fields'' to the description, and change an instance from
Tom Rhodes [Fri, 24 May 2002 19:12:02 +0000 (19:12 +0000)]
Add the word ``fields'' to the description, and change an instance from
fields to num in the SYNOPSIS

Noticed by: keramida

22 years agoConvert mount_ext2fs(8) to nmount(2).
Maxime Henrion [Fri, 24 May 2002 17:39:37 +0000 (17:39 +0000)]
Convert mount_ext2fs(8) to nmount(2).

Reviewed by: iedowse

22 years agoConvert ext2fs to nmount(2).
Maxime Henrion [Fri, 24 May 2002 17:38:01 +0000 (17:38 +0000)]
Convert ext2fs to nmount(2).

22 years agoForgot to commit this for the `includes' -> `buildincludes',
Ruslan Ermilov [Fri, 24 May 2002 16:08:13 +0000 (16:08 +0000)]
Forgot to commit this for the `includes' -> `buildincludes',
`incsinstall' -> `installincludes' changes.

22 years agoBack out the ``run shell from $PATH'' change; this was an overkill
Ruslan Ermilov [Fri, 24 May 2002 15:51:27 +0000 (15:51 +0000)]
Back out the ``run shell from $PATH'' change; this was an overkill
and is insecure.

Requested by: bde

22 years agoAdd release notes for the changed file permissions on sendmail alias
Gregory Neil Shapiro [Fri, 24 May 2002 15:50:34 +0000 (15:50 +0000)]
Add release notes for the changed file permissions on sendmail alias
and map databases as well as the statistics file.

MFC after: 1 day
pending RE approval

22 years agoCorrect US Robotics Wireless Card 2410 entry
Warner Losh [Fri, 24 May 2002 15:28:38 +0000 (15:28 +0000)]
Correct US Robotics Wireless Card 2410 entry

22 years agoAdd openpam_nullconv.3.
Dag-Erling Smørgrav [Fri, 24 May 2002 13:22:15 +0000 (13:22 +0000)]
Add openpam_nullconv.3.

22 years agoAdd missing include.
Dag-Erling Smørgrav [Fri, 24 May 2002 13:20:40 +0000 (13:20 +0000)]
Add missing include.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r97241,
Dag-Erling Smørgrav [Fri, 24 May 2002 13:18:43 +0000 (13:18 +0000)]
This commit was generated by cvs2svn to compensate for changes in r97241,
which included commits to RCS files with non-trunk default branches.

22 years agoVendor import of OpenPAM Cinquefoil.
Dag-Erling Smørgrav [Fri, 24 May 2002 13:18:43 +0000 (13:18 +0000)]
Vendor import of OpenPAM Cinquefoil.

22 years agoFully reset a gem on some error conditions; otherwise it would hang in
Thomas Moestl [Fri, 24 May 2002 12:47:41 +0000 (12:47 +0000)]
Fully reset a gem on some error conditions; otherwise it would hang in
about 1 of 10 cases.

Proposed and tested by: phk

22 years agoConvert Perl scripts to awk(1).
Ruslan Ermilov [Fri, 24 May 2002 11:03:41 +0000 (11:03 +0000)]
Convert Perl scripts to awk(1).

22 years agoIf a file argument cannot be processed, process the remaining ones
Tim J. Robbins [Fri, 24 May 2002 10:58:21 +0000 (10:58 +0000)]
If a file argument cannot be processed, process the remaining ones
and exit non-zero (SUSv3)

22 years agoWhen a file name of "-" is given, read from standard input (SUSv3)
Tim J. Robbins [Fri, 24 May 2002 09:56:18 +0000 (09:56 +0000)]
When a file name of "-" is given, read from standard input (SUSv3)

22 years agoThe previous ANSIfication did not take into account earlier,
Mark Murray [Fri, 24 May 2002 09:40:51 +0000 (09:40 +0000)]
The previous ANSIfication did not take into account earlier,
non-compliant compilers. Revert to the compatible form to allow
upgrade-builds.

22 years agoThe previous ANSIfication did not take into account upgrade-builds
Mark Murray [Fri, 24 May 2002 09:37:10 +0000 (09:37 +0000)]
The previous ANSIfication did not take into account upgrade-builds
uing an earlier, non-compliant compiler. Revert to the compatible
form.

22 years agoAllow byte/character positions >_POSIX2_LINE_MAX to be specified by
Tim J. Robbins [Fri, 24 May 2002 09:11:18 +0000 (09:11 +0000)]
Allow byte/character positions >_POSIX2_LINE_MAX to be specified by
dynamically growing the `positions' array.

22 years agoUse fgetln(3) to handle lines of unlimited length instead of a
Tim J. Robbins [Fri, 24 May 2002 08:56:49 +0000 (08:56 +0000)]
Use fgetln(3) to handle lines of unlimited length instead of a
getc/putc loop.

Suggested by: dd

22 years agoDon't err(3) (and exit prematurely) when a sysctl's object size has
Alfred Perlstein [Fri, 24 May 2002 08:34:18 +0000 (08:34 +0000)]
Don't err(3) (and exit prematurely) when a sysctl's object size has
changed, instead just warn(3)