| History log of /src/usr.sbin/ypserv/ypxfr |
| Revision | Date | Author | Comments |
| 1.7 | 03-Jun-2023 |
lukem | bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
|
| 1.6 | 13-Oct-2019 |
mrg | introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
|
| 1.5 | 02-Oct-1997 |
lukem | branches: 1.5.110; - build common/* once, into a library, rather than recompiling each of the files multiple times in the other subdirectories (saves about 10% on compilation time) - clean up the manual pages
|
| 1.4 | 18-Jul-1997 |
thorpej | Fix compiler warnings (and an awful lot of annoying little bugs).
|
| 1.3 | 08-May-1997 |
gwr | Back out the .PATH.c changes. The .depend problem (and others) will be fixed using the new .NOPATH make feature instead.
|
| 1.2 | 06-May-1997 |
gwr | Use .PATH.c: ...
|
| 1.1 | 09-Aug-1996 |
thorpej | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 09-Aug-1996 |
thorpej | A ypserv implementation, originally written by Mats O Jansson, with some changes by me, including misc. cleanup, minor bug fixes, and brand-new access control list code.
|
| 1.5.110.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.16 | 18-Mar-2014 |
riastradh | Merge riastradh-drm2 to HEAD.
|
| 1.15 | 20-Jul-2013 |
wiz | Use Mt for email addresses.
|
| 1.14 | 08-Apr-2012 |
wiz | branches: 1.14.2; 1.14.4; Remove unnecessary Bk/Ek pairs from SYNOPSIS. No effective change except where I used the opportunity to sort options and/or option descriptions.
|
| 1.13 | 25-Apr-2011 |
wiz | branches: 1.13.4; Remove unimplemented -b option. From YOMURA Masanori.
|
| 1.12 | 20-Oct-2009 |
snj | Follow upstream's lead and remove third and fourth clauses (except on from usr.sbin/mopd/common/pf.c, where only the ad clause is removed, because it has a shared UCB copyright) on Mats O Jansson's files.
thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares copyright.
|
| 1.11 | 26-Feb-2005 |
thorpej | YP -> NIS
|
| 1.10 | 25-Feb-2003 |
wiz | .Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
| 1.9 | 21-Dec-2002 |
wiz | instead, not insteed; from Adrian Mrva.
|
| 1.8 | 05-Mar-2002 |
wiz | Drop duplicate .Pp.
|
| 1.7 | 02-Feb-2002 |
wiz | Use standard headers, mark up AUTHORS section.
|
| 1.6 | 19-Jan-2002 |
wiz | Whitespace nits.
|
| 1.5 | 07-Mar-1999 |
mycroft | Clean up SYNOPSIS formatting.
|
| 1.4 | 08-Nov-1997 |
lukem | use ".Tn YP" instead of "YP", fix up some .Nd entries, use .Pa for mapnames
|
| 1.3 | 07-Oct-1997 |
lukem | branches: 1.3.2; cleanup typos, grammaros, thinkos, and misuse of mdoc macros
|
| 1.2 | 02-Oct-1997 |
lukem | - build common/* once, into a library, rather than recompiling each of the files multiple times in the other subdirectories (saves about 10% on compilation time) - clean up the manual pages
|
| 1.1 | 09-Aug-1996 |
thorpej | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 09-Aug-1996 |
thorpej | A ypserv implementation, originally written by Mats O Jansson, with some changes by me, including misc. cleanup, minor bug fixes, and brand-new access control list code.
|
| 1.3.2.1 | 28-Nov-1997 |
mellon | Pull rev 1.4 up from trunk (lukem)
|
| 1.13.4.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.13.4.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.14.4.1 | 23-Jul-2013 |
riastradh | sync with HEAD
|
| 1.14.2.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.21 | 04-May-2017 |
sevan | Drop main() prototype.
|
| 1.20 | 25-Apr-2011 |
wiz | branches: 1.20.34; Make usage match manpage.
|
| 1.19 | 05-Nov-2009 |
chuck | rev 1.18 un-covered some bugs:
1. add_interdomain and add_secure are optional... not all maps use these keys. if we are unable to add them due to a YPERR_KEY (meaning they are not being used), then we should not flag this as a general error.
2. if we have a failure (status <= 0) we unlink_db() the temp database as part of error handling. but we should not overwrite our error status code with the return value from unlink_db() because if the unlink_db() works (likely true) than that success will wipe out our error code and the calling yppush will think we worked.
|
| 1.18 | 05-Nov-2009 |
chuck | yppush RPC is supposed to return yppush_status error/status codes (e.g. YPPUSH_SUCC, YPPUSH_NOMAP, etc.).
Functions like yp_master, yp_order_host, yp_master_host, and yp_match_host return YPERR-style error codes. YPERR-style error codes do not directly correspond to yppush_status codes, so it is a bad idea to just directly YPERR codes into the yppush return status value (it causes failing yppush runs to print confusing error messages).
Change ypxfr.c to convert the YPERR codes to YPPUSH codes.
|
| 1.17 | 20-Oct-2009 |
snj | Follow upstream's lead and remove third and fourth clauses (except on from usr.sbin/mopd/common/pf.c, where only the ad clause is removed, because it has a shared UCB copyright) on Mats O Jansson's files.
thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares copyright.
|
| 1.16 | 19-Apr-2009 |
lukem | Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
|
| 1.15 | 29-Feb-2008 |
lukem | branches: 1.15.8; 1.15.10; Simplify ypdb_open() API and just use it for opening the DB for reading. Provide a separate ypdb_mktemp() API to open a temporary file read-write. Use mkstemp() instead of mktemp().
NOTE: makedbm & mkalias tested ok. I couldn't test ypxfer.
|
| 1.14 | 22-Mar-2006 |
bouyer | branches: 1.14.10; 1.14.16; In add_secure(), change (status > 0) to (status == 0 && value). It doesn't make sense to handle value only if there was an error. Fix coverity ID 1709.
|
| 1.13 | 19-Jun-2005 |
lukem | snprintf NUL terminates, so there is no need to explicitly do it afterwards
|
| 1.12 | 06-Jul-2002 |
wiz | de__P, ANSIfy.
|
| 1.11 | 19-Feb-2001 |
cgd | convert to use getprogname()
|
| 1.10 | 11-Jan-2001 |
lukem | use "ypxfr" instead of __progname as ident arg to openlog wrap all debug syslogs in #ifdef DEBUG (rather than just most of them)
|
| 1.9 | 25-Jul-1999 |
lukem | don't call ypdb_close() until after we're finished using data returned by a previous ypdb_*() operation. seems to fix a problem noted in [bin/8064]
|
| 1.8 | 22-Jan-1999 |
thorpej | Use syslog(3) to log debugging info, and only if we're compiled with -DDEBUG.
|
| 1.7 | 27-Aug-1998 |
ross | {} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs.
|
| 1.6 | 13-Oct-1997 |
lukem | add rcsid
|
| 1.5 | 07-Oct-1997 |
lukem | minor KNFify
|
| 1.4 | 18-Jul-1997 |
thorpej | Fix compiler warnings (and an awful lot of annoying little bugs).
|
| 1.3 | 22-Mar-1997 |
lukem | use O_EXCL with O_CREAT when making the temporary db files
|
| 1.2 | 15-Aug-1996 |
chuck | fix broken case statement for "-C", also check to make sure we've got the proper number of args for -C and give up if not. fixes yp slave servers.
|
| 1.1 | 09-Aug-1996 |
thorpej | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 09-Aug-1996 |
thorpej | A ypserv implementation, originally written by Mats O Jansson, with some changes by me, including misc. cleanup, minor bug fixes, and brand-new access control list code.
|
| 1.14.16.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.14.10.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.15.10.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.15.8.1 | 16-Feb-2011 |
bouyer | Pull up following revision(s) (requested by chuck in ticket #1550): usr.sbin/ypserv/ypxfr/ypxfr.c: revision 1.16 - 1.19 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) Follow upstream's lead and remove third and fourth clauses (except on from usr.sbin/mopd/common/pf.c, where only the ad clause is removed, because it has a shared UCB copyright) on Mats O Jansson's files. thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares copyright. yppush RPC is supposed to return yppush_status error/status codes (e.g. YPPUSH_SUCC, YPPUSH_NOMAP, etc.). Functions like yp_master, yp_order_host, yp_master_host, and yp_match_host return YPERR-style error codes. YPERR-style error codes do not directly correspond to yppush_status codes, so it is a bad idea to just directly YPERR codes into the yppush return status value (it causes failing yppush runs to print confusing error messages). Change ypxfr.c to convert the YPERR codes to YPPUSH codes. rev 1.18 un-covered some bugs: 1. add_interdomain and add_secure are optional... not all maps use these keys. if we are unable to add them due to a YPERR_KEY (meaning they are not being used), then we should not flag this as a general error. 2. if we have a failure (status <= 0) we unlink_db() the temp database as part of error handling. but we should not overwrite our error status code with the return value from unlink_db() because if the unlink_db() works (likely true) than that success will wipe out our error code and the calling yppush will think we worked.
|
| 1.20.34.1 | 11-May-2017 |
pgoyette | Sync with HEAD
|