summaryrefslogtreecommitdiff
path: root/source3/utils/make_printerdef.c
AgeCommit message (Collapse)AuthorFilesLines
2001-09-17move to SAFE_FREE()Simo Sorce1-8/+8
(This used to be commit 67db8f03c5c9e81e11b5f3276b50ee23e09a2659)
2001-09-15free memory before returning.Simo Sorce1-0/+7
tx Andreas Moroder. (This used to be commit 8d60a825f74a340beba11193a28fd83b0c4a8129)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-7/+7
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2000-03-14Fixed parsing issue with HP printer defs reported by HP.Jeremy Allison1-26/+62
Jeremy. (This used to be commit 035272e6bcc8c43bf4521e4a20b0c35b0901e904)
2000-02-15Added replacement functions sys_popen and sys_pclose. These are basedJeremy Allison1-9/+35
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)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-0/+7
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1998-11-17Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1-1/+1
Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy. (This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)
1998-09-28Fixed problems found in lint pass over the old code by <cpeterso@microsoft.com>.Jeremy Allison1-3/+25
These were the problems that still existed in the 2.0 branch. Jeremy. (This used to be commit 3fd28812f75f2311a114ff905143634e3bbb1fac)
1998-09-28Changes to test in configure if capabilities are enabled on a system.Jeremy Allison1-2/+0
Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy. (This used to be commit e0567433bd72aec17bf5a54cc292701095d25f09)
1998-09-05tridge the destroyer returns!Andrew Tridgell1-9/+9
prompted by the interpret_security() dead code that Jean-Francois pointed out I added a make target "finddead" that finds potentially dead (ie. unused) code. It spat out 304 function names ... I went through these are deleted many of them, making others static (finddead also reports functions that are used only in the local file). in doing this I have almost certainly deleted some useful code. I may have even prevented compilation with some compile options. I apologise. I decided it was better to get rid of this code now and add back the one or two functions that are needed than to keep all this baggage. So, if I have done a bit too much "destroying" then let me know. Keep the swearing to a minimum :) One bit I didn't do is the ubibt code. Chris, can you look at that? Heaps of unused functions there. Can they be made static? (This used to be commit 2204475c87f3024ea8fd1fbd7385b2def617a46f)
1998-05-12This is a security audit change of the main source.Jeremy Allison1-46/+46
It removed all ocurrences of the following functions : sprintf strcpy strcat The replacements are slprintf, safe_strcpy and safe_strcat. It should not be possible to use code in Samba that uses sprintf, strcpy or strcat, only the safe_equivalents. Once Andrew has fixed the slprintf implementation then this code will be moved back to the 1.9.18 code stream. Jeremy. (This used to be commit 2d774454005f0b54e5684cf618da7060594dfcbb)
1998-04-13Changes to allow Samba to be compiled with -Wstrict-prototypesJeremy Allison1-1/+1
with gcc. (Not a big change although it looks like it :-). Jeremy. (This used to be commit cd2613c57261456485fe4eeecfda209ada70de8e)
1998-03-11fix core dumps on Solaris 2.5 systems found by Orn AsgeirssonHerb Lewis1-6/+12
(This used to be commit bafc7768925109d0e8e87152054d37ec3f4e7fdd)
1998-01-23Fixed warnings with gcc (assignments inside if statements).Jeremy Allison1-4/+4
Jeremy. (This used to be commit 1a9e25d3bc610a1d49241e2fe39530813d983882)
1998-01-23changes to correctly use some HP printer inf filesHerb Lewis1-39/+146
(This used to be commit ab894c3e1de582864ad9c0f6ae797b73b4c2ba41)
1998-01-22This is *not* a big change (although it looks like one).Jeremy Allison1-1/+1
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-21fix problems with using inf files from HP for DesignJet 750C (C3195A)Herb Lewis1-1/+4
(This used to be commit 4e258eecf7088d78b285440ca87386987196eaec)
1998-01-03added printout of file list to stderr so you know what files you need toHerb Lewis1-0/+4
copy to your printer$ share (This used to be commit bdfa5c709986051e78198c68c5a90358fdfa780e)
1998-01-01fixes to make_printerdef.c to generate a correct printers.def fileHerb Lewis1-28/+97
changes to ipc.c to use new printers.def file (This used to be commit 52e275c4ccc1b7f0c2ef8d12d28065898a1c89c9)
1997-11-17loadparm.c : Added "veto oplock files" parameter.Jeremy Allison1-1/+1
make_printerdef.c: Fixed warning. quotas.c: Fixed irix root errors. server.c: Fixed oplock reference count bug. smb.h: Added IS_VETO_OPLOCK_PATH(). Jeremy. (This used to be commit c28487df63e29bc0f8d2ece876a07a2a076d4c73)
1997-10-28Utility code to produce printer definition files from MS files.Jeremy Allison1-0/+301
Part of code to support Windows 95 automated printer driver installs. Written by Jean-Francois Micouleau <Jean-Francois.Micouleau@utc.fr>. (This used to be commit 6e9f817414d6f7bdcb0ea64170d0db34b62651a5)