Displaying 1 result from an estimated 1 matches for "nt_status_v".
Did you mean:
nt_status_n
2006 Jun 27
1
iconv.c / static charset prototype/assembler bug?
...charset_CP850_init(void) \
{ \
return smb_register_charset(&CP850_functions); \
} \
NTSTATUS is defined in nt_status.h as follows:
typedef struct {uint32 v;} NTSTATUS;
#define NT_STATUS(x) ((NTSTATUS) { x })
#define NT_STATUS_V(x) ((x).v)
Ok, when cp850/cp437 is compiled as static, config.h has following macro:
#define static_init_charset { charset_CP850_init();
charset_CP437_init();}
This static_init_charset macro gets called in iconv.c. But at this point
in the file there is no function prototype for chars...