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)
commit32fb801ddc035e8971e9911ed4b6e51892e9d1cc
treea6fd101a0984f8c3523ba4332f623ba0ed37ac9f
parenta507f170d29914b0bb845878a8db97f51e7dff55
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
19 files changed:
source/nmbd/nmbd_become_lmb.c
source/nmbd/nmbd_browserdb.c
source/nmbd/nmbd_browsesync.c
source/nmbd/nmbd_incomingdgrams.c
source/nmbd/nmbd_sendannounce.c
source/nmbd/nmbd_serverlistdb.c
source/nmbd/nmbd_workgroupdb.c
source/param/loadparm.c
source/printing/lpq_parse.c
source/printing/nt_printing.c
source/printing/pcap.c
source/rpc_parse/parse_spoolss.c
source/rpc_server/srv_spoolss_nt.c
source/rpcclient/cmd_spoolss.c
source/smbd/open.c
source/smbd/password.c
source/smbd/reply.c
source/smbd/service.c
source/smbd/statcache.c