comparison compat.c @ 485:469ff8133ed3

Simplified the folder browser on OS/2, following some Unix changes.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 16 Oct 2003 08:12:01 +0000
parents b559c06a76c2
children 1a210e2f214b
comparison
equal deleted inserted replaced
484:f18c70cb3e38 485:469ff8133ed3
545 endmntent(fp); 545 endmntent(fp);
546 } 546 }
547 #endif 547 #endif
548 #elif defined(__OS2__) 548 #elif defined(__OS2__)
549 /* No snprintf() on OS/2 ??? */ 549 /* No snprintf() on OS/2 ??? */
550 len = len;
550 sprintf(buf, "Drive %c", (char)drive + 'A' - 1); 551 sprintf(buf, "Drive %c", (char)drive + 'A' - 1);
551 #else 552 #else
552 _snprintf(buf, len, "Drive %c", (char)drive + 'A' - 1); 553 _snprintf(buf, len, "Drive %c", (char)drive + 'A' - 1);
553 #endif 554 #endif
554 } 555 }
574 strftime(timebuf, 200, "%c", tm); 575 strftime(timebuf, 200, "%c", tm);
575 576
576 sprintf(buffer, "%s %s", url, timebuf); 577 sprintf(buffer, "%s %s", url, timebuf);
577 578
578 #ifdef __OS2__ 579 #ifdef __OS2__
580 logfile = logfile;
579 eaop2.fpGEA2List = 0; 581 eaop2.fpGEA2List = 0;
580 eaop2.fpFEA2List = (PFEA2LIST)malloc(fea2listsize); 582 eaop2.fpFEA2List = (PFEA2LIST)malloc(fea2listsize);
581 pFEA2 = &eaop2.fpFEA2List->list[0]; 583 pFEA2 = &eaop2.fpFEA2List->list[0];
582 584
583 pFEA2->fEA = 0; 585 pFEA2->fEA = 0;