summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Don't clear "we have offset" flag even if long is overflow for fseek(),ache2001-08-171-1/+0
| | | | there is no harm to have it, it will reduce next call efforts.
* fseek.c:ache2001-08-174-10/+36
| | | | | | | | | | | | Resulting fseek() offset must fit in long, required by POSIX (pointed by bde), so add LONG_MAX and final tests for it. rewind.c: 1) add missing __sinit() as in fseek() it pretends to be. 2) use clearerr_unlocked() since we already lock stream before _fseeko() 3) don't zero errno at the end, it explicitely required by POSIX as the only one method to test rewind() error condition. 4) don't clearerr() if error happens in _fseeko()
* mdoc(7) police: replace `\*(Ba' with a simple `|', it's handled specially.ru2001-08-161-1/+1
|
* Fix a bug in canceling joining threads.jasone2001-08-169-6/+54
| | | | | | | Do not detach canceled threads. Reported by: Arno Klaassen <arno@heho.snv.jussieu.fr> Collaboration with: deischen
* If the string specifying the allowed options starts with a leading `:',jkoshy2001-08-161-5/+2
| | | | | | | | `getopt(3)' should not print a warning for missing argument values. PR: bin/29625 Reviewed by: mikeh MFC after: 1 week
* Explain the relation of getchar() to getc() in less words.dd2001-08-161-5/+1
| | | | Submitted by: ru
* Remove out-of-date "cannot be exported from USA" notice.markm2001-08-151-2/+0
|
* Use smarter overflow testsache2001-08-151-3/+6
| | | | Suggested by: bde
* Document the no_warn option.markm2001-08-157-5/+40
|
* Fix a couple of cross-references to reflect the reality of the module.markm2001-08-152-4/+4
|
* 1) Disallow negative seek as POSIX require for fseek{o} (but not for lseek):ache2001-08-153-13/+45
| | | | | | | | | | | | "[EINVAL] ... The resulting file-position indicator would be set to a negative value." Moreover, in real life negative seek in stdio cause EOF indicator cleared and not set again forever even if EOF returned. 2) Catch few possible off_t overflows. Reviewed by: arch discussion
* Use the ".Rv" mdoc(7) macro where appropriate.yar2001-08-146-39/+18
| | | | Reviewed by: ru
* Isolate the ERRORS section from the RETURN VALUES one.yar2001-08-141-5/+3
| | | | Reviewed by: ru
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-149-17/+46
|
* Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-(peter2001-08-132-16/+8
| | | | | | | | | | | | | | | | It was foiled because of dynamic copy relocations that caused compile-time space to be reserved in .bss and at run time a blob of data was copied to that space and everything used the .bss version.. The problem is that the space is reserved at compile time, not runtime... So we *still* could not change the size of FILE. Sigh. :-( Replace it with something that does actually work and really does let us make 'FILE' extendable. It also happens to be the same as Linux does in glibc, but has the slight cost of a pointer. Note that this is the same cost that 'fp = fopen(), fprintf(fp, ...); fclose(fp);' has. Fortunately, actual references to stdin/out/err are not all that common since we have implicit stdin/out/err-using versions of functions (printf() vs. fprintf()).
* mdoc(7) police: s;BSD/OS;.Bsx; where appropriate.ru2001-08-132-2/+3
|
* mdoc(7) police: s/NetBSD/.Nx/ where appropriate.ru2001-08-132-2/+3
|
* mdoc(7) police: s/OpenBSD/.Ox/ where appropriate.ru2001-08-133-3/+10
|
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-1335-35/+35
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-1398-218/+42
|
* Cross-reference io(4).iedowse2001-08-121-0/+2
|
* Remove the WANT_INSECURE_OPIE option - it is now a default. This is notmarkm2001-08-121-2/+0
| | | | | | | | nearly as ominous as it sounds, and it allows OPIE to be used over SSH and on xterms. Requested by: ache Discussed on: -security
* Fill _res.sort_list with harmless entry. sortlist for IPv6/IPv4ume2001-08-111-0/+3
| | | | | | | | | is stored in _res_ext.sort_list, and sortlist for IPv4 is stored in _res.sort_list for backward compatibility. However, both sort_list's are maintaind by just one index _res.nsort. So, when IPv6 address is specified to sortlist, empty entry was created in _res.sort_list. It broke sortlist facility of gethostbyname(). Discussed on users@jp.ipv6.org.
* Fix:markm2001-08-111-7/+8
| | | | | | | | | | | | | /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c has couple of bugs which cause: 1) xdm dumps core 2) ssh1 private key is not passed to ssh-agent 3) ssh2 RSA key seems not handled properly (just a guess from source) 4) ssh_get_authentication_connectionen() fails to get connection because of SSH_AUTH_SOCK not defined. PR: 29609 Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
* Make the name parameter const char *.imp2001-08-113-3/+3
|
* Use .Fn, .Fa, and .Dv where appropriate.dd2001-08-101-2/+6
|
* Clean up this module very extensively. Fix the logging, the codingmarkm2001-08-1012-1410/+1101
| | | | | standards and the option handling. This module is now much more easy to maintain as a part of the FreeBSD tree.
* Code clean up; make logging same as other modules and fix warnings.markm2001-08-101-3/+9
|
* General code clean-up. Sort out warnings, and make the warning andmarkm2001-08-101-6/+14
| | | | logging work the same as other modules.
* Simplify code. Also verbose logging, verbose overridable error reporting.markm2001-08-101-5/+10
|
* Verbose logging, overridable verbose error reporting.markm2001-08-103-2/+18
|
* Module clean-up. Verbose logging, Overridable verbose error reporting,markm2001-08-101-26/+21
| | | | FreeBSD pam_prompt() usage to simplify conversation function usage.
* Verbosely (overridable) report failure to the user.markm2001-08-101-0/+4
|
* Use the FreeBSD pam_prompt() interface to the conversation functionmarkm2001-08-101-79/+62
| | | | | instead of home-rolling it. Clean up debugging code and tidy the module.
* Verbosely report errors to the user (overridable), and make suremarkm2001-08-101-3/+15
| | | | that the correct failure mode is reported.
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-1011-20/+21
|
* Include string.h for the strlen() prototype to quiet a warning.jhb2001-08-101-0/+1
|
* mdoc(7) police: fixed the "new sentence" bogons.ru2001-08-103-3/+3
|
* Fix broken logic so that this actually works for the superuser.markm2001-08-101-5/+21
| | | | | Verbosely log (properly). Verbosely report errors to the user.
* Rework this to prevent a nasty problem involving different modules'markm2001-08-101-42/+34
| | | | option interacting with each other.
* Declare the new user-error reporting macro.markm2001-08-102-6/+18
| | | | | This is a macro to allow use of the __FILE__ and __FUNCTION__ macros.
* Add a routine for providing feedback via the conversation mechanismmarkm2001-08-101-24/+58
| | | | (usually to stderr) for user-reportable errors.
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-1011-11/+11
| | | | with a trailing zero-width space: `e.g.\&'.
* Fixed style bugs (dot `.' at the end of error and warning messages).ru2001-08-101-22/+22
| | | | Noticed by: bde
* Markup nits: use diagnostic type lists for error and warning messages.ru2001-08-101-21/+17
| | | | | | | | Backout previous revision. We should not expand plain text xrefs if they appear in the literal text, e.g. in the error or warning message of the library function. (Submitted by: bde) Moved "out of memory" from warning to errors section.
* mdoc(7) police: add xref to intro(2).ru2001-08-101-0/+1
|
* o Remove some misleading and incomplete information about searchmike2001-08-091-11/+8
| | | | | | | | permissions. o Add a reference to intro(2) where it is properly documented. Reviewed by: bde MFC after: 3 days
* o Various mdoc fixes.mike2001-08-091-10/+50
| | | | | | | | | | o Replace strncpy examples with less confusing ones from OpenBSD. These examples give more detail and also suggest using strlcpy(3). Reviewed by: des, ru, sheldonh Obtained from: OpenBSD MFC after: 3 days
* Fix xrefs.sobomax2001-08-091-1/+1
| | | | | | | | times.3: gettimeofday(3) --> gettimeofday(2) rc.conf.5: isndn(8) --> isdnd(8) idsnd(8) --> isdnd(8) MFC after: 2 weeks
* Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.yar2001-08-0966-291/+66
| | | | Reviewed by: ru
OpenPOWER on IntegriCloud