summaryrefslogtreecommitdiff
path: root/source3/printing/print_svid.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5684: BUG 2405: patch from Torsten Werner <torsten.werner@assyst-intl.com> ↵Gerald Carter1-1/+1
to define 'lpstat' printcap output on HPUX (This used to be commit 98596037caa47a27c4f87793f9875ec18b0f23c2)
2007-10-10r4539: patch from Rob -- adding real printcap name cache function to speed ↵Gerald Carter1-57/+12
up printcap reloads (This used to be commit 1cad5250932b963c2eb9b775221b13db386d601b)
2007-10-10r4306: Couple more MALLOC fixes from albert chin (china@thewrittenword.com).Jeremy Allison1-1/+1
Jeremy. (This used to be commit c5a8bf3335606c070e1c74f339ea4c22d0adfa57)
2007-10-10r4234: More malloc fixes to use the macros.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 61479f56be60a3c2ae0f7b931335cb1da77540c2)
2002-11-29Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter1-1/+0
should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code (This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
2002-08-17sync 3.0 branch with headJelmer Vernooij1-1/+1
(This used to be commit 3928578b52cfc949be5e0ef444fce1558d75f290)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-2/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-08-10Fixed typo in patch.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 36e01dcdbd0fc0083ac31ec942bb033a2997a16a)
2001-08-09Added fix from Dan Thibadeau @ HP for parsing problem.Jeremy Allison1-0/+13
Jeremy. (This used to be commit 635f3a3ee2704bb593aaa2642be6c5ec00830b64)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-4/+4
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell1-2/+2
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)
2000-12-07file_lines_load/file_lines_pload can now optionally convert unix_to_dos()Jeremy Allison1-2/+2
on read. Jeremy. (This used to be commit 76b8dd376d13eb4469417be217c966d54d333367)
2000-04-16converted a bunch more functions to use a fd instead of a FILE*Andrew Tridgell1-42/+41
to support some of this I added the following functions in util_file.c file_lines_pload : load lines from a pipe file_pload : load a pipe into memory (This used to be commit a09470817c5b21dba42f9ef4ce5e8b768a254c0b)
2000-03-16Fixes to add "paranoid" option to popen. Checks some basic things.Jeremy Allison1-1/+1
Jeremy (This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
2000-02-15Added replacement functions sys_popen and sys_pclose. These are basedJeremy Allison1-6/+2
on the glibc source code and are safer than the traditional popen as they don't use a shell to exec the requested command. Now we have these functions they can be tightened up (environment etc.) as required to make a safe popen. It should now be safe to add the environement variable loading code to loadparm.c Jeremy. (This used to be commit b52e92b09d4ca3b66e534f520468dee27065d048)
2000-01-29Wrapped popen calls in HAVE_POPEN - needed if we are to add theJeremy Allison1-0/+4
env patch. Jeremy. (This used to be commit 94c075faee88538e48d1898f1694500b8a5d4c8b)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-2/+15
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1998-10-17Small tidyups for gcc in 'preen' mode....Jeremy Allison1-0/+1
Jeremy. (This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
1998-09-05some cleanups to use ZERO_STRUCT() and friendsAndrew Tridgell1-1/+1
(This used to be commit 7b154dc4313324dfad6cf0117b8ce246bf12bf16)
1998-04-13Changes to allow Samba to be compiled with -Wstrict-prototypesJeremy Allison1-2/+2
with gcc. (Not a big change although it looks like it :-). Jeremy. (This used to be commit cd2613c57261456485fe4eeecfda209ada70de8e)
1998-01-30fix bug when using lpstat as printcap file - remove space at start ofHerb Lewis1-1/+1
printer names generated (This used to be commit 8f48a0571a4dda282bd3438e54a029400b7ca448)
1998-01-22This is *not* a big change (although it looks like one).Jeremy Allison1-2/+2
This is merely updating the Copyright statements from 1997 to 1998. It's a once a year thing :-). NO OTHER CHANGES WERE MADE. Jeremy. (This used to be commit b9c16977231efb274e08856f7f3f4408dad6d96c)
1998-01-07includes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes.Jeremy Allison1-2/+2
interface.c: Added netmask fix. nmbd_nameregister.c: Fixed unitialised variable warnings. nmbd_winsproxy.c: Fixed unitialised variable warnings. nmbd_winsserver.c: Fixed DEC warnings. print_svid.c: Fixed DEC warnings. printing.c: Added LPRng fixes. Jeremy. (This used to be commit 28aff043c4a3693a0c20e87c7ce11eb4bf285b78)
1997-12-03applied a patch from Norm Jacobs to allow "printcap name = lpstat"Andrew Tridgell1-0/+121
to use lpstat to obtain the printer list on systemV systems. I've now made this the default on all SYSV systems. Jeremy, you were a little worried about the security of this patch. I believe it's OK as the user has no control over the options given to popen() and the pipe is only open for reading. (This used to be commit 6a83de0ae954bb18d3f15382f2b0b3259fedff09)