summaryrefslogtreecommitdiffstats
path: root/source/printing/print_svid.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixes to add "paranoid" option to popen. Checks some basic things.Jeremy Allison2000-03-161-1/+1
| | | | Jeremy
* Added replacement functions sys_popen and sys_pclose. These are basedJeremy Allison2000-02-151-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.
* Wrapped popen calls in HAVE_POPEN - needed if we are to add theJeremy Allison2000-01-291-0/+4
| | | | | env patch. Jeremy.
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-2/+15
|
* Small tidyups for gcc in 'preen' mode....Jeremy Allison1998-10-171-0/+1
| | | | Jeremy.
* some cleanups to use ZERO_STRUCT() and friendsAndrew Tridgell1998-09-051-1/+1
|
* Changes to allow Samba to be compiled with -Wstrict-prototypesJeremy Allison1998-04-131-2/+2
| | | | | | with gcc. (Not a big change although it looks like it :-). Jeremy.
* fix bug when using lpstat as printcap file - remove space at start ofHerb Lewis1998-01-301-1/+1
| | | | printer names generated
* This is *not* a big change (although it looks like one).Jeremy Allison1998-01-221-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.
* includes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes.Jeremy Allison1998-01-071-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.
* applied a patch from Norm Jacobs to allow "printcap name = lpstat"Andrew Tridgell1997-12-031-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.