summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/common_source/common.c
AgeCommit message (Expand)Author
2023-05-13change a typo in sizeof(struct queueue *) to sizeof(nqueue[0])andvar
2014-12-20MKINET6=no build fixesprlw1
2013-11-13CID 1125882: Don't use unitialized variable; move code inside conditionalchristos
2013-10-19use new scopeid functionschristos
2009-07-13Rename internal getline() function to get_line() so it doesroy
2009-01-18fix -Wsign-compare issueslukem
2007-12-01Sort queue by time and jobid so that jobs submitted within themlelstv
2006-05-25Add missing semicolon.christos
2006-05-25Coverity CID 3322: Fix memory leak.christos
2006-03-21Coverity CID 1750: Add a function to free a queue and use it.christos
2006-03-17free memory on allocation failure.christos
2006-01-20Instead of dealing with port@host in many places, do it where it is needed.christos
2006-01-18change return(0) to return(rv). We went to all the trouble to calculate thegarbled
2006-01-17Fix PR bin/14247garbled
2006-01-17in ckqueue() if "sd" is not an existing capability, than sd will begarbled
2006-01-04Address PR bin/12112garbled
2005-11-28- WARNS = 4christos
2004-11-16NI_WITHSCOPEID was not picked up by IETF standardizationitojun
2003-10-16safer use of reallocitojun
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2002-09-18select() -> nanosleep()mycroft
2002-07-14Unifdef __STDC__. Remove __P(). ANSIfy.wiz
2001-04-05Fix possible security problem (euid swapout in error handling).wiz
2000-08-09rewrite local address detection code, to use getifaddrs(3), not gethostname(3).itojun
2000-04-25allow lp=port@host again. PR9975 from Andreas Gustafsson.itojun
2000-04-24avoid NULL pointer access when rp=<ipv4 numberic address> (no ai_canonname).itojun
2000-02-18do not sleep on ECONNREFUSED, rather, try the next address first.itojun
2000-01-27IPv6 support, using rcmd-family funciton added.itojun
1999-12-05put fatal() and a some of variables used independantly of other functionsjdolecek
1999-09-26delint and other cleanups.mrg
1998-07-09Declare ints, too, don't default them.msaitoh
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
1997-10-18use memcmp/memset/memmove instead of bcmp/bzero/bcopylukem
1997-10-05- WARNS?=1mrg
1997-10-05merge 4.4 lite2mrg
1996-12-09remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF.mrg
1995-11-28merge in changes from 1.1 release branchjtc
1995-11-15Add RCSIDs.pk
1995-10-03-- convert sgtty to termios. From: Scott Bartram <scottb@iis.net>hpeyerl
1994-05-18clean up that import. no rcsids yet.cgd
1994-05-17copyright foocgd
1993-12-08Upgraded to use <dirent.h>.jtc
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd