[nos-bbs] JNOS 2.0j.7 is out - dirutil.c

Boudewijn (Bob) Tenty bobtenty at gmail.com
Sat Nov 15 04:22:58 EST 2014


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


>> Subject says it all.
>>
>>    http://www.langelaar.net/projects/jnos2/downloads/linux
>>
>> or
>>
>>    https://github.com/mlangelaar/jnos2
>>
>> Maiko Langelaar / VE4KLM
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20141115/d5d07019/attachment.html>


More information about the nos-bbs mailing list