Merge the 'safe' parts of my StrnCpy patch - many of the users really wanted
authorAndrew Bartlett <abartlet@samba.org>
Wed, 23 Apr 2003 13:27:35 +0000 (13:27 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 23 Apr 2003 13:27:35 +0000 (13:27 +0000)
commit2a3a9f0bf43c3bf99a71f7296bb5ff6199893fea
tree44885a8b68275050bed851eca36937f19317eb3e
parent13b54b9cfad9519f63f35fa284ce1c82b73d656a
Merge the 'safe' parts of my StrnCpy patch - many of the users really wanted
a pstrcpy/fstrcpy or at most a safe_strcpy().

These have the advantage of being compiler-verifiable.

Get these out of the way, along with a rewrite of 'get_short_archi' in the
spoolss client and server.  (This pushes around const string pointers, rather
than copied strings).

Andrew Bartlett
(This used to be commit 32fb801ddc035e8971e9911ed4b6e51892e9d1cc)
19 files changed:
source3/nmbd/nmbd_become_lmb.c
source3/nmbd/nmbd_browserdb.c
source3/nmbd/nmbd_browsesync.c
source3/nmbd/nmbd_incomingdgrams.c
source3/nmbd/nmbd_sendannounce.c
source3/nmbd/nmbd_serverlistdb.c
source3/nmbd/nmbd_workgroupdb.c
source3/param/loadparm.c
source3/printing/lpq_parse.c
source3/printing/nt_printing.c
source3/printing/pcap.c
source3/rpc_parse/parse_spoolss.c
source3/rpc_server/srv_spoolss_nt.c
source3/rpcclient/cmd_spoolss.c
source3/smbd/open.c
source3/smbd/password.c
source3/smbd/reply.c
source3/smbd/service.c
source3/smbd/statcache.c