Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch makes Samba compile cleanly with -Wwrite-strings.
- That is, all string literals are marked as 'const'. These strings are
always read only, this just marks them as such for passing to other functions.
What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables). The rest
is just adding a lot of 'const'.
As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).
Andrew Bartlett
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
|
|
(This used to be commit afbff33eba7edd98329114b5113b3360cd6dfcc6)
|
|
last fix. D'oh!)
(This used to be commit 5191719eeec7062118da2be3aefe35d065e97900)
|
|
(This used to be commit a20676bc05f50bb89a55e67efef579eaaeac3f72)
|
|
(This used to be commit 8b654658759a145c5c8aabb3c82220a70f70c3f7)
|
|
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
|
|
the need for valid.dat
(This used to be commit 0cfd0a5e543181b1384f7afee93fbaf3ccb2b999)
|
|
(This used to be commit 51cb4411df61d1caec9d84809b1a53a6a632f808)
|
|
warnings)
(This used to be commit b648cc669d16eb40b477c8dc51efeab485a15de5)
|
|
char like libiconv does
(This used to be commit e13e8b190c70136cb2c3588bdcf7328a7f61d152)
|
|
(This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)
|
|
which should now be used instead of DEBUG(0) or printf() for
interactive messages
I have only converted client.c to use d_printf(), and the code hasn't
had much testing yet. Eventually we want all interactive code to use
d_printf(), plus SWAT
(This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)
|
|
fixes some problems wih some character sets and allows for using
internal charsets in conjunction with ionv charsets
this makes us slower but more correct. speed will come later.
(This used to be commit 594f84b4e39182dcf344c02dc0185376a2726395)
|
|
(This used to be commit e236a3e29e4af24b20ec6af357ce67abf82b4528)
|
|
(This used to be commit 95a9a1814f1a1ac07c316cc920c7493a86d5a09b)
|
|
(This used to be commit 25c4b3f19315bdef57041da79c12271b72015701)
|
|
(This used to be commit 0c61e54f152eca6b7607fcce9ea512bc60a19060)
|
|
(This used to be commit 42648a7aada48220fdfaf6acfe95b9614122f1da)
|
|
(This used to be commit 76d83e7f704cf016308dccaad9bc42d57db97686)
|
|
(This used to be commit bf818268516cfbebcdeacbb0528395e9bbb8e442)
|
|
(This used to be commit 7a5c24c219d8b19f2c3cd11fdde3ebcede0646a2)
|
|
(This used to be commit 815ca752744c2ae93390445f4bb6532d396bbc59)
|
|
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)
|