Sorry wrong list..
Bob VE3TOK
On 14-11-15 04:19 AM, Boudewijn (Bob) Tenty wrote:
Maiko;
In dirutil.c in function "format_fname_full(file, sbuf, full, n)"
you have the function call getdate(&curdate); (around line 386)
I think that must be j2getdate(&curdate); instead as curdate is type
struct data
(see also the jnos header unixtm.h)
and the getdata() function in system header time.h uses a string as
input and returns a struct.
I also added #include "unixtm.h" /* VE3TOK, Nov 14, 2014 */ to
dirutil.c
format_fname_full(file, sbuf, full, n)
FILE *file;
struct ffblk *sbuf;
int full, n;
{
struct date curdate;
char line_buf[30]; /* for long dirlist */
char cbuf[20]; /* for making line_buf */
if (full) {
j2getdate(&curdate); /* Boudewijn
(Bob) VE3TOK, Nov14, 2014, changed from *getdate(&curdate); */
etc....
73,
Bob VE3OK