search for: ifield

Displaying 2 results from an estimated 2 matches for "ifield".

Did you mean: field
2005 Aug 19
1
Summary: Unexpected result of read.dbf
...mals like numeric type, 19 digits, and 5 decimals. The patch written of Mr. Eiji Nakama is followed. --- foreign.orig/src/dbfopen.c 2005-08-19 18:54:06.000000000 +0900 +++ foreign/src/dbfopen.c 2005-08-19 18:58:06.000000000 +0900 @@ -970,7 +970,8 @@ || psDBF->pachFieldType[iField] == 'F' ) /* || psDBF->pachFieldType[iField] == 'D' ) D is Date */ { - if( psDBF->panFieldDecimals[iField] > 0 ) + if( psDBF->panFieldDecimals[iField] > 0 || + psDBF->panFieldSize[iField] > 9 ) return( FTDouble...
2013 Dec 01
0
[PATCH] core: Bad read of file size over TFTP
...77, 92, 110, 132, 159, 191, 229, 255, 255, 255, 255, 0 }; -struct tftp_options { - const char *str_ptr; /* string pointer */ - size_t offset; /* offset into socket structre */ -}; struct tftp_packet { uint16_t opcode; uint16_t serial; char data[]; }; -#define IFIELD(x) offsetof(struct inode, x) -#define PFIELD(x) (offsetof(struct inode, pvt) + \ - offsetof(struct pxe_pvt_inode, x)) - -static const struct tftp_options tftp_options[] = -{ - { "tsize", IFIELD(size) }, - { "blksize", PFIELD(tftp_blksize) }, -}; -static const int tftp...