summaryrefslogtreecommitdiffstats
path: root/source3/printing/print_generic.c
Commit message (Collapse)AuthorAgeFilesLines
* Change sys_getcd() to take no arguments and always return malloc'ed memory ↵Jeremy Allison2011-06-011-8/+8
| | | | | | (or NULL). Part of the efforts to remove PATH_MAX on modern systems.
* s3: Remove the pointless PRINTERNAME macroVolker Lendecke2010-06-131-5/+7
|
* Fix more asprintf warnings and some error path errors.Jeremy Allison2008-12-231-1/+3
| | | | Jeremy.
* Use common util_file code.Jelmer Vernooij2008-10-121-3/+3
|
* Cope with changed signature of http_timestring().Jelmer Vernooij2008-10-111-1/+1
|
* Adding missing calls to va_end().Tim Potter2008-01-271-0/+4
| | | | | | | | | Just a small commit to get a handle on this git thingy. This patch fixes some missing calls to va_end() to match various calls to va_start() and VA_COPY(). Tim. (This used to be commit ec367f307dff7948722b9ac97beb960efd91991f)
* Remove pstring from printing/*.c except for theJeremy Allison2007-11-211-35/+77
| | | | | | | tdb_unpack requirement (I'll be making that an allocating interface later). Jeremy. (This used to be commit d2ee75326ac291ab4f1860075ba35f58703c7d9d)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-1/+1
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r22852: merge fixes for CVE-2007-2446 and CVE-2007-2447 to all branchesGerald Carter2007-10-101-1/+1
| | | | (This used to be commit f65214be68c1a59d9598bfb9f3b19e71cc3fa07b)
* r20124: clean up nested extern declaration warningsHerb Lewis2007-10-101-3/+2
| | | | (This used to be commit ac3eb7813e33b9a2e78c9158433f7ed62c3b62bb)
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-2/+9
| | | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
* r16393: Klocwork #1164. Null deref.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit c9a4ce51ed85686a35f350f4681b95d68adebbd6)
* r14023: My last bug fix still left a potential null deref.Jeremy Allison2007-10-101-8/+9
| | | | | | C- "must try harder" :-). Jeremy. (This used to be commit 9c55bf74ca28530045c5cb3cbfffad242039ca75)
* r14003: Clarify code that lead to Coverity report #13.Jeremy Allison2007-10-101-12/+15
| | | | | | Not a bug, but better to remove false positives. Jeremy. (This used to be commit f9a75d76546bc4618736f0d48646e77d7572db25)
* r13316: Let the carnage begin....Gerald Carter2007-10-101-1/+1
| | | | | Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-4/+4
| | | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* r3067: patch based on volker's initial work in trunk that fixes the queu ↵Gerald Carter2007-10-101-45/+44
| | | | | | update problem when using the background daemon (This used to be commit de7af09e727e744aa27af85ef7c0f73ed5c1550a)
* a small include file rearrangement that doesn't affect normalAndrew Tridgell2003-11-121-0/+1
| | | | | | compilation, but that allows Samba3 to take advantage of pre-compiled headers in gcc if available. (This used to be commit b3e024ce1da7c7e24fcacd8a2964dd2e4562ba39)
* Fix more 64-bit printf warnings.Tim Potter2003-11-031-1/+1
| | | | (This used to be commit 23443e3aa079710221557e18158d0ddb8ff48a36)
* Ensure print queue array is zeroed out before returning.Jeremy Allison2003-04-091-0/+1
| | | | | Jeremy. (This used to be commit f0fac6a1e3574d2d0419968b8e806b5de91f5a81)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-5/+3
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* Merge JohnR's fix.Jeremy Allison2002-03-191-5/+10
| | | | | Jeremy. (This used to be commit d5fd1fd859cec3076d2f01ed234314ea8d80a753)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-2/+0
| | | | (This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-1/+1
| | | | | | can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
* The big character set handling changeover!Andrew Tridgell2001-07-041-5/+1
| | | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
* configure:Jeremy Allison2001-04-141-15/+7
| | | | | | | | | | | | | | | | | | | | | | | configure.in: include/config.h.in: include/profile.h: smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway). smbd/dosmode.c: smbd/files.c: printing/printfsp.c: smbd/close.c: smbd/open.c: Fixed "dos filemode" correctly so there are no race conditions. Forces test of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls standard close function that preserves POSIX locks due to POSIX-me-harder braindamage. :-). Andrew please review this code. Also - in removing the tmpdir param in smbrun an extra NULL parameter was missed in each print_run_command() call (which is a varargs fn.). Now fixed. Jeremy. (This used to be commit 32397e5bc6d995ce7ca37c82d6aedc1e5b1b6fbd)
* Merge of Andrew's changes in 2.2.Jeremy Allison2001-04-131-23/+4
| | | | | Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
* As Andrew suggested, make smbrun return a fd for a deleted file which can thenJeremy Allison2001-04-131-11/+20
| | | | | | be read. Jeremy. (This used to be commit e7d59d6de89a5fdd201e4b5c6072dab08b1519db)
* Fixed missing HAVE_STDARG_H.Jeremy Allison2001-04-101-4/+20
| | | | | Jeremy. (This used to be commit 7cdd87954634cadda042df06c2f56aac40a7d743)
* Fixed typo bug spotted by Jim Vopni jimv@metrics.com. Caused no status toJeremy Allison2001-03-281-1/+1
| | | | | | | be returned. Jeremy. CVS ---------------------------------------------------------------------- (This used to be commit 5b7f4cf271ad449277c0ea7a825ed4d50205d729)
* Added files for CUP printing patch split.Jeremy Allison2001-03-161-0/+251
Jeremy. (This used to be commit 9822f13ae23e244e5e9a4cf3355bea2eead8cf66)