home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
progs
/
spreadsc
/
patches.msc
< prev
next >
Wrap
Text File
|
1992-11-25
|
6KB
|
256 lines
Common subdirectories: old/cat1 and new/cat1
diff -cd old/cmds.c new/cmds.c
*** old/cmds.c Wed Nov 25 11:02:04 1992
--- new/cmds.c Wed Nov 25 10:15:30 1992
***************
*** 35,41 ****
#if defined(SYSV3) || defined(__WATCOMC__)
extern void exit();
#else
! extern int exit();
#endif
void openrow();
--- 35,41 ----
#if defined(SYSV3) || defined(__WATCOMC__)
extern void exit();
#else
! /* extern int exit(); */
#endif
void openrow();
***************
*** 1709,1715 ****
#ifdef VMS
mvaddstr(r, c, field); /* this is a macro */
#else
! (void) mvaddstr(r, c, field);
#endif
*nextcolp = nextcol;
--- 1709,1715 ----
#ifdef VMS
mvaddstr(r, c, field); /* this is a macro */
#else
! mvaddstr(r, c, field);
#endif
*nextcolp = nextcol;
Only in new: gram.c
Only in new: gram.err
diff -cd old/lex.c new/lex.c
*** old/lex.c Wed Nov 25 11:02:14 1992
--- new/lex.c Wed Nov 25 10:25:34 1992
***************
*** 52,66 ****
extern YYSTYPE yylval;
extern int VMS_read_raw; /*sigh*/
#else /* VMS */
! #if defined(MSDOS) || defined(__OS2__)
! # if defined(MSDOS)
! # include "y_tab.h"
! #else
# include "ytab.h"
- #endif
#else
#include "y.tab.h"
! #endif /* MSDOS || __OS2__ */
#endif /* VMS */
#ifdef hpux
--- 52,62 ----
extern YYSTYPE yylval;
extern int VMS_read_raw; /*sigh*/
#else /* VMS */
! #if defined(MSDOS)
# include "ytab.h"
#else
#include "y.tab.h"
! #endif /* MSDOS */
#endif /* VMS */
#ifdef hpux
Only in new: Makefile.msc
Common subdirectories: old/man1 and new/man1
Only in new: psc.def
Only in new: psc.exe
Only in new: pvmtbl.c
Only in new: pxmalloc.c
Only in new: qhelp.c
Only in new: Readme.msc
diff -cd old/sc.c new/sc.c
*** old/sc.c Wed Nov 25 11:02:18 1992
--- new/sc.c Wed Nov 25 10:15:56 1992
***************
*** 1385,1391 ****
{ char path[PATHLEN];
if (modcheck(" before Spreadsheet dies") == 1)
! { (void) sprintf(path, "~/%s", SAVENAME);
if (writefile(path, 0, 0, maxrow, maxcol) < 0)
{
(void) sprintf(path, "/tmp/%s", SAVENAME);
--- 1385,1391 ----
{ char path[PATHLEN];
if (modcheck(" before Spreadsheet dies") == 1)
! { (void) sprintf(path, "%s", SAVENAME);
if (writefile(path, 0, 0, maxrow, maxcol) < 0)
{
(void) sprintf(path, "/tmp/%s", SAVENAME);
Only in new: sc.def
Only in new: sc.exe
diff -cd old/sc.h new/sc.h
*** old/sc.h Wed Nov 25 11:02:18 1992
--- new/sc.h Wed Nov 25 10:15:56 1992
***************
*** 12,20 ****
#if defined(MSDOS) || defined(__OS2__)
# include <stdio.h>
! # if defined(__OS2__)
! # define toascii(c) (c&0xFF)
! # endif
#endif
#define ATBL(tbl, row, col) (*(tbl + row) + (col))
--- 12,21 ----
#if defined(MSDOS) || defined(__OS2__)
# include <stdio.h>
! /* # if defined(__OS2__)
! * # define toascii(c) (c&0xFF)
! * # endif
! */
#endif
#define ATBL(tbl, row, col) (*(tbl + row) + (col))
Only in new: scqref.def
Only in new: scqref.exe
diff -cd old/screen.c new/screen.c
*** old/screen.c Wed Nov 25 11:02:20 1992
--- new/screen.c Wed Nov 25 10:15:56 1992
***************
*** 222,228 ****
(void) printw("%*s%-*s", k, " ", fwidth[i]-k, coltoa(i));
col += fwidth[i];
}
! (void) standend();
}
if (showrange) {
--- 222,228 ----
(void) printw("%*s%-*s", k, " ", fwidth[i]-k, coltoa(i));
col += fwidth[i];
}
! standend();
}
if (showrange) {
***************
*** 292,298 ****
standlast++;
if (!*pp) /* no cell, but standing out */
{ (void) printw("%*s", fwidth[col], " ");
! (void) standend();
continue;
}
else
--- 292,298 ----
standlast++;
if (!*pp) /* no cell, but standing out */
{ (void) printw("%*s", fwidth[col], " ");
! standend();
continue;
}
else
***************
*** 369,375 ****
} /* else */
if (do_stand) {
! (void) standend();
do_stand = 0;
}
}
--- 369,375 ----
} /* else */
if (do_stand) {
! standend();
do_stand = 0;
}
}
***************
*** 383,389 ****
(void) move(lastmy, lastmx);
(void) standout();
repaint(lastmx, lastmy, fwidth[lastcol]);
! (void) standend();
}
(void) move(lastmy, lastmx+fwidth[lastcol]);
under_cursor = (inch() & A_CHARTEXT);
--- 383,389 ----
(void) move(lastmy, lastmx);
(void) standout();
repaint(lastmx, lastmy, fwidth[lastcol]);
! standend();
}
(void) move(lastmy, lastmx+fwidth[lastcol]);
under_cursor = (inch() & A_CHARTEXT);
***************
*** 536,542 ****
dup(fd);
close(fd);
#endif
! (void) clear();
#ifdef VMS
VMS_read_raw = 1;
#else
--- 536,542 ----
dup(fd);
close(fd);
#endif
! clear();
#ifdef VMS
VMS_read_raw = 1;
#else
***************
*** 615,621 ****
noecho ();
#endif /* SYSV2 || SYSV3 */
kbd_again();
! (void) clear();
FullUpdate++;
}
--- 615,621 ----
noecho ();
#endif /* SYSV2 || SYSV3 */
kbd_again();
! clear();
FullUpdate++;
}
diff -cd old/xmalloc.c new/xmalloc.c
*** old/xmalloc.c Mon May 11 11:43:40 1992
--- new/xmalloc.c Wed Nov 25 10:15:54 1992
***************
*** 7,15 ****
--- 7,19 ----
#include <curses.h>
#include "sc.h"
+ #if defined(__OS2__)
+ #include <stdlib.h>
+ #else
extern char *malloc();
extern char *realloc();
extern void free();
+ #endif
void fatal();
#ifdef SYSV3
Only in new: y.tab.h
Only in old: ytab.h