1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/client
Andrew Bartlett 6d66fb308a BIG patch...
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 92a777d0ea)
2003-01-02 09:07:17 +00:00
..
.cvsignore And another .cvsignore 2002-06-25 08:34:17 +00:00
client.c BIG patch... 2003-01-02 09:07:17 +00:00
clitar.c BIG patch... 2003-01-02 09:07:17 +00:00
smbmnt.c Remove strsep - non portable. 2002-08-27 16:48:58 +00:00
smbmount.c Sorry Jim we can't assign to global_xxx(), we need to call set_global_xxx() 2002-11-13 02:21:55 +00:00
smbspool.c BIG patch... 2003-01-02 09:07:17 +00:00
smbumount.c Link less with smbmnt and smbumount. Also change from a pstrcpy() to a 2002-12-01 04:11:20 +00:00
tree.c Removed version number from file header. 2002-01-30 06:08:46 +00:00