Jonathan Chen
6920b9cc54
remember to reset nextgrp in getnetgrent(), so that subsequent calls to getnetgrent() doesn't return bogus information.
...
MFC after: 3 days
2005-01-13 18:33:01 +00:00
David Schultz
0d8f9eca28
The isnormal() in rev 1.2 should have been isfinite() so subnormals
...
round correctly.
Noticed by: stefanf
2005-01-13 15:43:41 +00:00
David Schultz
3cdb8115d7
Things that are broken, unneeded, and unused since 1997 belong in the attic.
2005-01-13 15:43:22 +00:00
Ruslan Ermilov
83e0359d53
Markup nits.
2005-01-13 10:43:01 +00:00
Ruslan Ermilov
113ed1bb1d
Fixed too many of "the", and enclose multi-word argument in double quotes.
2005-01-13 09:35:47 +00:00
Stefan Farfeleder
43295fac79
Implement and document ceill().
2005-01-13 09:11:41 +00:00
Stefan Farfeleder
4067ee86a5
Bump .Dd for the last commit.
2005-01-13 09:08:16 +00:00
Ruslan Ermilov
9448d36c69
Revert last delta. The ASCII code 0 character is "NUL",
...
not "NULL", see ascii(7).
2005-01-13 08:49:45 +00:00
Stefan Farfeleder
7e2ee1f065
Hook up and document floorl().
2005-01-12 22:16:26 +00:00
Stefan Farfeleder
17f418f9f4
Implement floorl().
2005-01-12 22:10:46 +00:00
Stefan Farfeleder
a7d82b7150
Whitespace nit.
2005-01-12 22:05:41 +00:00
Tim Kientzle
972d9bed42
Bring some file descriptions in line with reality.
...
Also, add some hints to help people understand which
functions are most appropriate for typical uses.
2005-01-12 05:56:49 +00:00
Brian Somers
41843e7135
Fix some signed/unsigned comparisons. Fix prototypes while I'm here.
...
PR: 28890
Submitted by: matthias.andree at web dot de
MFC after: 7 days
2005-01-12 03:39:34 +00:00
David Schultz
10c9ffa425
Add MI implementations of [l]lrint[f]() and [l]lround[f]().
...
Discussed with: bde
2005-01-11 23:12:55 +00:00
David Schultz
2aac156d2e
Document [l]lrint[f]() and [l]lround[f]().
2005-01-11 23:12:17 +00:00
David Schultz
439e59cf85
Faster lrint() and llrint() implementations for x86.
2005-01-11 23:10:53 +00:00
David Schultz
c1b70ced4f
Mark inline stmxcsr instructions as volatile, since this appears to be
...
the only way to convince gcc that they read the MXCSR. The volatile
annotation may be needed elsewhere as well.
2005-01-11 22:10:43 +00:00
Ruslan Ermilov
2d82ac3110
Scheduled mdoc(7) sweep.
2005-01-11 20:50:51 +00:00
Ruslan Ermilov
4e05ab77a8
Sanitize the markup, as prompted.
2005-01-11 20:16:03 +00:00
Tom Rhodes
35e43d9cad
Remnant code (broken, unhooked) from a.out which I missed.
...
Noticed by: ru
2005-01-11 18:35:40 +00:00
Brian Somers
2a4cd52421
include "alias.h", not <alias.h>
...
MFC after: 3 days
2005-01-10 10:54:06 +00:00
Tim Kientzle
f731478646
libarchive does much more than just tar ;-)
2005-01-10 05:11:15 +00:00
Tim J. Robbins
17ebe40096
Implement rpmatch(), a semi-standard interface (as found on AIX, Tru64,
...
GNU) for determining whether a string is an affirmative or negative
response to a question according to the current locale. This is done
by matching the response against nl_langinfo(3) items YESEXPR and NOEXPR.
2005-01-09 03:55:13 +00:00
Tim Kientzle
d576b4c796
Recognize and parse symlinks in ISO9660 CDROM images with Rockridge extensions.
2005-01-08 19:56:07 +00:00
Tim Kientzle
09cad9b550
Documentation improvements. In particular,
...
expand and clarify the description of the client
callback functions and how they should handle errors.
Thanks to: Antony Dovgal
2005-01-08 19:51:04 +00:00
Tim Kientzle
67afe2c071
Correctly document the order of arguments
...
to archive_read_open and archive_write_open.
Thanks to: Antony Dovgal
2005-01-08 18:32:49 +00:00
Tim Kientzle
49f9f01a7f
Clear the error buffer on entry
...
to archive_read_next_header so the
next error doesn't just get appended.
MFC after: 7 days
2005-01-08 18:28:11 +00:00
Jeffrey Hsu
2353e77b0f
More fixes to the copyright notice.
...
Submitted by: Ken Smith <kensmith@cse.Buffalo.EDU>
2005-01-08 17:16:43 +00:00
Jeffrey Hsu
c26a1d9f0e
Fix copyright notice.
2005-01-08 01:59:36 +00:00
Giorgos Keramidas
5abd925f0c
The `timep' argument of utime() is not an array of structs.
...
Make sure we don't confuse the reader by claiming it is.
PR: docs/75615
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
2005-01-07 14:38:29 +00:00
Pawel Jakub Dawidek
a73e1eeda5
Update manual page after adding 'fts_bignum' field.
...
Submitted by: Peter Jeremy <PeterJeremy@optushome.com.au>
MFC after: 5 days
2005-01-07 07:03:19 +00:00
Pawel Jakub Dawidek
28644c1bbb
Introduce new field 'fts_bignum' which is 64bit long and will allow to
...
make utilities like du(1) 64bit-clean.
When this field is used, one cannot use 'fts_number' and 'fts_pointer'
fields.
This commit doesn't break API nor ABI.
This work is part of the BigDisk project:
http://www.FreeBSD.org/projects/bigdisk/
Discussed on: arch@
MFC after: 5 days
2005-01-07 00:06:20 +00:00
Xin LI
122dc5646e
Remove an unnecessary defination of New_Chunk, which has been
...
defined in libdisk.h.
2005-01-05 14:07:31 +00:00
Maksim Yevmenkin
9833f74761
Fix typo: NUL -> NULL
...
Submitted by: Markus Brueffer < markus AT brueffer DOT de >
MFC after: 3 days
2005-01-04 20:00:27 +00:00
Maxim Sobolev
7b6cc40479
Don't ignore the last line of config file (/etc/hosts, /etc/services, etc)
...
which doesn't end in \n, since it may be very confusing. Also this should
increase consistency, since most other config files work just fine regardless
of the presence of traling \n in the last line.
MFC After: 2 weeks
2005-01-03 11:07:45 +00:00
Tim Kientzle
8544432b98
First cut at RockRidge support.
...
Large thanks to the easy-to-read and well-documented
sys/isofs/cd9660 source code, which provided many of the
details I needed for this exercise.
2005-01-03 05:51:33 +00:00
Marcel Moolenaar
1d1b40fed8
Constify arguments.
2005-01-03 02:56:15 +00:00
Tim Kientzle
483e82b86c
Next round of work on ISO9660 support:
...
* Reference-count the directory data so that
we don't leak memory.
* Correctly step through the directory records
(skipping unrecognized extensions)
* Use better defaults for file modes
* Sort directory entries by offset of the end of the file
rather than the beginning of the file. This fixes a
lot of "out-of-order" problems with zero-length files,
in particular.
* Style fixes, remove some debug code, add some error messages.
2005-01-03 01:24:13 +00:00
Tim Kientzle
9e5ae80dce
Enable ISO9660 support in "read_support_format_all".
...
In particular, bsdtar should now recognize ISO9660 images.
2005-01-02 05:22:21 +00:00
Tim Kientzle
5d9e84da87
First cut support for extracting from ISO9660 disk images.
...
This seems to be able to extract a TOC and extract files from
the couple of ISO images I've tested it with.
Treat this as experimental proof-of-concept code for the
moment. There are still a bunch of debug messages (there
are a few oddities in ISO9660 that I haven't yet figured
out how to handle), a lot of bugs to be addressed (this
code leaks memory very badly), and a lot of missing features (no
Rockridge support, in particular). I'd appreciate
feedback from anyone who understands ISO9660 format
better than I do. ;-)
Suggested by: Robert Watson
2005-01-02 05:21:15 +00:00
Gleb Smirnoff
9657520621
Make syslog(3) thread safe.
...
PR: bin/72394
Submitted by: Dan Nelson
Reviewed by: deischen
MFC after: 2 weeks
2004-12-30 16:05:11 +00:00
Diomidis Spinellis
c7ce9e21f8
Plug memory leak.
...
PR: bin/75656
MFC after: 2 weeks
2004-12-30 14:27:57 +00:00
Kirill Ponomarev
d8c9fa8327
Add LOG_NTP facility.
...
Submitted by: Kurt Jaeger <pi at complx dot LF dot net>
Approved by: ru
MFC after: 3 days
2004-12-30 13:09:34 +00:00
Tim Kientzle
0d5a38b993
Rewrite the code that hacks a short names to use in
...
the regular ustar entry. The old code sometimes created
a too-long name that overflowed the ustar fields and triggered
an internal assertion failure. This version should be more
robust.
Thanks to: Michal Listos
Fixes: bin/74385
MFC after: 15 days
2004-12-29 23:26:18 +00:00
Tom Rhodes
a51d79c1d3
Catch up with stat.h a bit:
...
o Sticky bit is actually defined as S_ISTXT not S_ISVTX.
o Sticky bit is wrapped in if __BSD_VISIBLE not _POSIX_SOURCE.
2004-12-29 20:00:29 +00:00
Giorgos Keramidas
678a5ffdd8
Mark up SIGSTOP with .Dv and use .Nm in HISTORY for marking up `signal'.
...
PR: docs/75615
Submitted by: n-kogane@syd.odn.ne.jp
2004-12-29 19:40:56 +00:00
Tom Rhodes
8f79184fe2
Various markup and spelling fixes.
...
PR: 75574
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version)
2004-12-29 02:18:24 +00:00
David E. O'Brien
efd3a489a7
Catch up with file 4.12 import.
2004-12-28 04:35:01 +00:00
Gleb Smirnoff
8ba85e7741
Restore standard behavior: log to console only when normal logging
...
failed, not always.
PR: bin/75356
Submitted by: Mark Knight <markk knigma org>
Pointy hat to: glebius
MFC after: 3 days
2004-12-24 09:48:44 +00:00
Giorgos Keramidas
f56be64fb2
``NULL is a specific instance of a null pointer constant; the generic is
...
a "null pointer".''
Making good use of the excellent explanations sent to me by Ruslan
Ermilov, Garrett Wollman and Bruce Evans, correct the descriptions of
null pointers. They are just "null pointers", not nil, not NULL or
".Dv NULL".
Suggested by: ru, wollman, bde
Reviewed by: ru, wollman
Pointy hat: keramida
2004-12-23 23:45:25 +00:00