summaryrefslogtreecommitdiff
path: root/source3/script/gen-8bit-gap.awk
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-08-02 18:50:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:10 -0500
commit4d34c5eef7db0df5ba1a0f3b167f758bb637148f (patch)
tree6a57099e62abee4bd5c705dde849aac665709bbd /source3/script/gen-8bit-gap.awk
parentb91704d47b7946d561a0021a08c14f8923d59e3a (diff)
downloadsamba-4d34c5eef7db0df5ba1a0f3b167f758bb637148f.tar.gz
samba-4d34c5eef7db0df5ba1a0f3b167f758bb637148f.tar.bz2
samba-4d34c5eef7db0df5ba1a0f3b167f758bb637148f.zip
r24136: get_lanman2_dir_entry() does not need access to inbuf/outbuf
It did not use inbuf anyway. Outbuf was used for alignment and to the flags2. The alignment works ok if we align relative to base_data because this and outbuf are both malloc'ed, and we put send_trans2_replies aligns out_data properly relative to the start of the outbuf. I don't know if the explicit align_string() calls in get_lanman2_dir_entry are really necessary. I think that srvstr_push also does the same. Please also note that this changes dst_len in srvstr_push from -1 to the real length remaining. Volker (This used to be commit 9b1614f8cb415c15032e6a34f2da5df026f92e6e)
Diffstat (limited to 'source3/script/gen-8bit-gap.awk')
0 files changed, 0 insertions, 0 deletions