summaryrefslogtreecommitdiff
path: root/source4/lib/registry/patchfile.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-8/+3
2010-03-29registry: Fix compilation.Jelmer Vernooij1-1/+1
2010-03-22s4:registry - "patchfile" - add another "W_ERROR_HAVE_NO_MEMORY" macro callMatthias Dieter Wallnöfer1-0/+1
2010-03-22s4:registry - adaptions for "add also a memory context argument for ↵Matthias Dieter Wallnöfer1-1/+1
"reg_key_del_abs"
2010-03-22s4:registry - adaptions for "add memory contexts for delete value/key functions"Matthias Dieter Wallnöfer1-2/+2
2010-03-22s4:registry - "patchfile" - check if strings could be allocatedMatthias Dieter Wallnöfer1-0/+10
2010-03-22s4:registry - "patchfile" - initialise the data blobsMatthias Dieter Wallnöfer1-2/+2
2010-03-22s4:registry - "patchfile" - add more "talloc_free"s to save memoryMatthias Dieter Wallnöfer1-5/+30
2010-03-22s4:registry - "patchfile" - add commentsMatthias Dieter Wallnöfer1-0/+6
Helps to understand when we need to generate the hive diffs.
2010-03-22s4:registry - "patchfile.c" - consider also the hives in the generated diffsMatthias Dieter Wallnöfer1-0/+9
Apparently the diffs for the hives weren't generated previously.
2010-03-22s4:registry - "patchfile.c" - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-03-06s4:libregistry - change counters to be "unsigned"Matthias Dieter Wallnöfer1-2/+2
Also the s4 registry library has to have "unsigned" counters like the Windows one.
2010-02-22Spelling fixes for source4/lib/registry.Brad Hards1-4/+4
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2009-07-19source4/lib/registry/patchfile.c(reg_diff_load): fixed possible resource leak.Slava Semushin1-0/+1
File descriptor leaks when write(2) fails and we are returning from function. Found by cppcheck: [./source4/lib/registry/patchfile.c:319]: (error) Resource leak: fd
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-10-24Remove more usages of global_loadparm.Jelmer Vernooij1-2/+4
2008-10-03Fix regressions in patchfile after last patch, several other minor fixes.Matthias Dieter Wallnöfer1-22/+20
2008-09-21Registry client: Fixup the "patchfile" libraryMatthias Dieter Wallnöfer1-38/+66
Rework and enhance the "patchfile" library (used in "regdiff")
2008-04-15Fix PReg write support.Wilco Baan Hofman1-1/+22
Add tests for patch files (.REG and PReg). (This used to be commit 497977c36c621a4820be51cbcb7b78eac1e292b7)
2008-04-15Fixed the patchfile tests and tidy up the patchfile backends.Wilco Baan Hofman1-2/+2
(This used to be commit 6e9b1e35a269af2eda79356c1525f5413656d648)
2008-04-02Merge patchfile.h into registry.hJelmer Vernooij1-1/+0
(This used to be commit 7b434df67aefc667993f0ebd955af9c1c258f153)
2008-02-25Remove uses of global_loadparm.Jelmer Vernooij1-1/+2
(This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)
2008-02-21Remove yet more global_loadparm instances.Jelmer Vernooij1-2/+4
(This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij1-1/+3
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)
2008-01-18registry: Use correct return values.Jelmer Vernooij1-7/+7
(This used to be commit 98ebdbe52fd615ea62a3caa17acfe8bb31b8f85d)
2008-01-18registry: Improve error codes and update tests.Jelmer Vernooij1-5/+5
Rather than map the error returned by the registry to the correct error, return the correct error in the first place. Also deal with the fact that the right error code is now returned in a couple of places. (This used to be commit 1e31fcb8a097810a97e2d4bb1f243f1b34cc2415)
2008-01-07r26689: registry: Return max_subkeynamelen, max_valnamelen and ↵Jelmer Vernooij1-7/+4
max_valbufsize in getkeyinfo(). (This used to be commit b06896d2378e536f5044dbe500a5232a89d6d0b5)
2007-12-24r26563: Fix reg_diff_apply argument order.Jelmer Vernooij1-2/+1
(This used to be commit cfffd0357ee4c4bb3f3c9adb051eeee1bbac526a)
2007-10-10r25544: Cleanup some more indents in lib/registry.Günther Deschner1-96/+123
Guenther (This used to be commit 0d9826dc54057db2cfebcb806e5442c4dcf60daa)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij1-7/+7
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24703: Use standard registry diff files when provisioning rather thanJelmer Vernooij1-1/+3
LDIF files for the registry files. (This used to be commit 67ad556b7388e5d82756e0a3cfc596e44136329c)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-280/+281
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with ↵Andrew Bartlett1-1/+1
qsort(). Andrew Bartlett (This used to be commit 96ef5259c63ad6245c94c40d6059d736b1534183)
2007-10-10r13855: Docs for the registry library as wellJelmer Vernooij1-4/+9
(This used to be commit ad43464cc1d1fdb59a26e612e0b4ec85ef4a43d2)
2007-10-10r13840: Mark some functions as public.Jelmer Vernooij1-1/+1
(This used to be commit 9a188eb1f48a50d92a67a4fc2b3899b90074059a)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-2/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.Jelmer Vernooij1-3/+3
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10r11526: And another warning...Volker Lendecke1-1/+1
(This used to be commit 16467008c64d84f29bec0ea45767bb1050726b34)
2007-10-10r10605: Forgot one file...Jelmer Vernooij1-0/+416
(This used to be commit 441419a08f0845af2b4c8023e1e5bcfda24a6d62)