Bug #80

Updated by marino 6 months ago

Hi,



all this changes obtained from FreeBSD project

This patch is required for futher smbfs code syncing.



From FreeBSD log:

----------------------------

revision 1.18

date: 2005-07-29 17:22:36 +0400; author: imura; state: Exp; lines:

+10 -6;

Change API of mb_copy_t in libmchain so that netsmb can handle

multibyte character share name correctly.



Reviewed by: bp

----------------------------

revision 1.16

date: 2004-04-06 01:03:35 +0400; author: imp; state: Exp; lines: +0 -3;

branches: 1.16.2;

Remove advertising clause from University of California Regent's license,

per letter dated July 22, 1999.



Approved by: core

----------------------------



revision 1.10

date: 2002-12-16 19:20:06 +0300; author: robert; state: Exp; lines:

+12 -13;

Remove the hto(be|le)[slq] and (be|le)toh[slq] macros defined in

_KERNEL scope from "src/sys/sys/mchain.h".



Replace each occurrence of the above in _KERNEL scope with the

appropriate macro from the set of hto(be|le)(16|32|64) and

(be|le)toh(16|32|64) from "src/sys/sys/endian.h".



Tested by: tjr

Requested by: comment marked with XXX

----------------------------

revision 1.9

date: 2002-10-22 22:44:59 +0400; author: jhb; state: Exp; lines: +12 -6;

Don't dereference the 'x' pointer if it is NULL, instead skip the

assignment. The netsmb code likes to call these functions with a NULL

x argument a lot.



Reported by: Vallo Kallaste <kalts@estpak.ee>

----------------------------

revision 1.8

date: 2002-10-11 18:58:30 +0400; author: mike; state: Exp; lines: +4 -2;

Change iov_base's type from `char *' to the standard `void *'. All

uses of iov_base which assume its type is `char *' (in order to do

pointer arithmetic) have been updated to cast iov_base to `char *'.

----------------------------

revision 1.6

date: 2002-07-15 17:15:31 +0400; author: markm; state: Exp; lines: +4 -4;

Convert GNU-styled variadic macros to ISO(9x) style.



P.S. And in FreeBSD m_fixhdr() moved from mbchain to mbuf. Does we need it?

Back