summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* General -Wall warning cleanup, part I.jkh1996-07-12165-510/+673
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Cast lseek arguments appropriately.jkh1996-07-092-8/+8
| | | | Submitted-By: "Frank ten Wolde" <franky@pinewood.nl>
* add references lstat(2), readlink(2), symlink(7) in section SEE ALSOwosch1996-07-071-1/+4
|
* Implement an ftpVerbose() hook.jkh1996-07-043-2/+22
| | | | Submitted by: jmz
* Isolated all the crap for thread-safe so I can see what goes on again...phk1996-07-031-61/+48
|
* Describe the "file pointer" in lseeks' man page a bit bettermpp1996-07-031-2/+3
| | | | | | | so that it is less likely someone will confuse it with a "FILE *" type pointer. Submitted by: Based on James Raynard's patch
* Document the "sig" function parameter.mpp1996-07-032-1/+5
| | | | Submitted by: James Raynard
* Implement incremental passwd database updates. This is done by ading a '-u'guido1996-07-011-2/+8
| | | | | | | | | | | | | | option to pwd_mkdb and adding this option to utilities invoking it. Further, the filling of both the secure and insecure databases has been merged into one loop giving also a performance improvemnet. Note that I did *not* change the adduser command. I don't read perl (it is a write only language anyway). The change will drastically improve performance for passwd and friends with large passwd files. Vipw's performance won't change. In order to do that some kind of diff should be made between the old and new master.passwd and depending the amount of changes, an incremental or complete update of the databases should be agreed upon.
* Add back missing backslash in SUBDIR list, it got lost when libtcl waspeter1996-06-281-3/+3
| | | | added. (also align the text block, it looked odd with variable indent)
* Add libtcl to makefilephk1996-06-281-2/+2
|
* Makefile:gpalmer1996-06-262-3/+3
| | | | | | | Add -Wall to CFLAGS ftpio.h: It's ftpGetModTime, not ftpModTime
* Bmaked tcl 7.5phk1996-06-261-0/+847
|
* Fixed comparisons so that preposterously large (>= 0x80000000) brk valuesbde1996-06-252-10/+10
| | | | | | | | | | aren't silently converted to minbrk. This stops malloc(INT_MAX) from dumping core. Small values are still silently converted. They should be an error. sbrk() doesn't do any range checking or conversions or overflow checking. Moved PIC_EPILOGUE invocation to a more natural place where it obviously doesn't interfere with the comparison.
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-242-4/+4
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* Adjust docs to match reality.jkh1996-06-241-4/+8
|
* Adjust the reference to ftpBinary() in the (unused) TCL wrappers.jkh1996-06-241-4/+4
|
* Removed -g from CFLAGS.bde1996-06-231-2/+2
|
* Specify that daemon(3) returns int, and standardise thegpalmer1996-06-221-3/+5
| | | | | phrasing in the ERRORS section a bit, as well as now specifying the return status.
* Fix a bug in the way binary/ascii settings were being done. Newjkh1996-06-222-42/+78
| | | | ftpAscii() call sets connection to ascii as counterpart to ftpBinary().
* Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>jraynard1996-06-221-3/+2
| | | | | | | | | Document the fact that the tracefile argument must lead to a regular file. Also took the opportunity to remove the spurious "Errors" entry relating to filenames with the high-order bit set and add $Id$. (More of the same to follow if there are no objections).
* Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmerjraynard1996-06-2257-50/+317
| | | | | | | | | | | | | | | | | | | | | Added $Id$'s to files that were lacking them (gpalmer), made some cosmetic changes to conform to style guidelines (bde) and checked against NetBSD and Lite2 to remove unnecessary divergences (hsu, bde) One last code cleanup:- Removed spurious casts in fseek.c and stdio.c. Added missing function argument in fwalk.c. Added missing header include in flags.c and rget.c. Put in casts where int's were being passed as size_t's. Put in missing prototypes for static functions. Changed second args of __sflags() inflags.c and writehook() in vasprintf.c from char * to const char * to conform to prototypes. This directory now compiles with no warnings with -Wall under gcc-2.6.3 and with considerably less warnings than before with the ultra-pedantic script I used for testing. (Most of the remaining ones are due to const poisoning).
* Submitted by: archie@whistle.comjulian1996-06-201-2/+2
| | | | | This program should COMPLAIN about uids > 65K but not abort.. they are after all legal, and some of us NEED them!
* Make certain small things more consistent with the other stdio man pages.jkh1996-06-201-10/+10
|
* I hate to read a man page that almost has useful informationjmacd1996-06-201-2/+2
| | | | | | | but falls a little short. I added a comment on the null termination of struct group's gr_mem field. Reviewed by: jkh
* Remove libforms, it was never used.jkh1996-06-1913-2903/+0
|
* Remove libforms - it's unused.jkh1996-06-191-1/+1
|
* Add tcl.phk1996-06-181-1/+1
|
* Manage control connections a little better for the URL routines.jkh1996-06-171-5/+13
| | | | | | This will do as a stop-gap until I figure out a more fault-tolerant way of having deferred closes against the control connection work without blocking.
* Make binary mode the default.jkh1996-06-171-1/+2
|
* Stamp out a potential memory leak.jkh1996-06-172-10/+17
| | | | Make ftpChdir return the server status again - it was more convenient.
* Bring in libftpio.jkh1996-06-171-1/+1
|
* Add RCS Id and fix date.wollman1996-06-171-2/+3
|
* Cross-reference addr2ascii(3).wollman1996-06-171-3/+10
|
* Correct date and add $Id$ to reflect previous modification.wollman1996-06-171-2/+3
|
* Cross-reference addr2ascii(3) and inlcude a note about how thosewollman1996-06-171-2/+16
| | | | functions are preferred but are not widely available as yet.
* Rethink and reimpliment the way RESTARTS are handled. The method I inheiritedjkh1996-06-173-53/+33
| | | | | | from jmz was a hopeless kludge (sorry Jean-Marc :) and handled the problem in the wrong way. ftpRestart() has now gone away and ftpGet() has grown a new parameter.
* If hostname > UT_HOSTSIZE, use its numeric address instead to keepache1996-06-171-4/+18
| | | | valid entries into utmp and wtmp
* Add a feature: If the environment variable FTP_PASSIVE_MODE is definedjkh1996-06-171-1/+3
| | | | | (the convention as established by pkg_install(1)), select passive mode FTP automatically.
* Whoops, give the authors all proper credit.jkh1996-06-171-0/+2
|
* This commit was generated by cvs2svn to compensate for changes in r16420,jkh1996-06-176-0/+1226
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Bring in a new library `libftpio', so named to avoid clashes with olderjkh1996-06-176-0/+1226
| | | | | packages and also sort of give the (correct) impression that this basically sits on top of stdio and deals with stream pointers (FILE*).
* It would help if I actually added the source code for these routines.wollman1996-06-133-0/+377
|
* Add an independent implementation of addr2ascii(3) and ascii2addr(3)wollman1996-06-131-2/+5
| | | | following the API of the INRIA IPv6 implementation.
* Code cleanup:-jraynard1996-06-122-2/+3
| | | | | The usual stuff, adding missing function prototypes, argument types, return values, etc.
* Code cleanup:-jraynard1996-06-126-13/+13
| | | | | | | The usual stuff, adding missing function prototypes, argument types, return values, etc. This directory now compiles with no warnings with -Wall on gcc2.6.3!
* Code cleanup:-jraynard1996-06-127-12/+11
| | | | | | The usual stuff, adding missing function prototypes, argument types, return values, etc. In mktemp.c, convert pid from u_int to pid_t, and get rid of "extern int errno".
* Code cleanup:-jraynard1996-06-125-5/+5
| | | | | The usual stuff, adding missing function prototypes, argument types, return values, etc.
* Code cleanup:jraynard1996-06-113-9/+9
| | | | | | | | Fixed a couple of nitpick warnings, plus one that slipped through the net earlier. This directory now compiles without any warnings with -Wall! (Until the next gcc upgrade...)
* Code cleanup:jraynard1996-06-109-21/+37
| | | | | | | | | | | | | | | | 1. Added missing function prototypes. 2. Added missing function return types. 3. Added missing function argument types. 4. Added missing headers for system function prototypes. 5. Corrected format specifier in printf(). 6. Added extra parentheses around assignment used as truth value. 7. Added missing "default" cases in switch statements. 8. Added casts for function pointers. 9. Did *not* change int declarations of uid and gid to uid_t/gid_t because I don't know if that would affect the protocol. Put in explicit casts to int instead, to make things more obvious. 10. Moved declarations of variables that are only used if YP is defined inside the '#ifdef YP' conditionals.
* Update man to tell that <sys/types.h> is needed.phk1996-06-101-0/+1
| | | | Submitted by: "Philippe Charnier" <charnier@lirmm.fr>
OpenPOWER on IntegriCloud