[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
/dev/nul <-- patch
Even before I read my email this morning it occured to me that
I didn't include the patch. Here it is.
Dennis Payne
payned@rpi.edu
diff -u xwpe-1.5.16a.orig/edit.h xwpe-1.5.16a.new/edit.h
--- xwpe-1.5.16a.orig/edit.h Thu Feb 18 14:50:52 1999
+++ xwpe-1.5.16a.new/edit.h Wed Feb 24 18:06:29 1999
@@ -611,7 +611,7 @@
void end_repaint(void);
int e_frb_t_menue(int sw, int xa, int ya, FENSTER *f, int md);
void e_pr_t_col_kasten(int xa, int ya, int x, int y, FENSTER *f, int sw);
-int e_ini_unix(int argc, char **argv);
+int e_ini_unix(int *argc, char **argv);
int e_recover(ECNT *cn);
int e_ini_schirm(int argc, char **argv);
#ifdef DJGPP
Common subdirectories: xwpe-1.5.16a.orig/old and xwpe-1.5.16a.new/old
diff -u xwpe-1.5.16a.orig/we_main.c xwpe-1.5.16a.new/we_main.c
--- xwpe-1.5.16a.orig/we_main.c Thu Feb 18 14:50:52 1999
+++ xwpe-1.5.16a.new/we_main.c Wed Feb 24 18:07:14 1999
@@ -269,7 +269,7 @@
char *tp;
#ifdef UNIX
- e_ini_unix(argc, argv);
+ e_ini_unix(&argc, argv);
e_switch_screen(1);
#endif
if (WpeIsXwin()) fb = x_fb;
diff -u xwpe-1.5.16a.orig/we_unix.c xwpe-1.5.16a.new/we_unix.c
--- xwpe-1.5.16a.orig/we_unix.c Thu Feb 18 14:50:52 1999
+++ xwpe-1.5.16a.new/we_unix.c Wed Feb 24 18:09:26 1999
@@ -108,7 +108,7 @@
return(0);
}
-int e_ini_unix(int argc, char **argv)
+int e_ini_unix(int *argc, char **argv)
{
extern OPT opt[];
int i;
@@ -172,7 +172,7 @@
initfunc = dlsym(libxwpe, "WpeDllInit");
if (initfunc)
{
- (*initfunc)(&argc, argv);
+ (*initfunc)(argc, argv);
}
else
{
@@ -183,12 +183,12 @@
#ifndef NO_XWINDOWS
if (WpeIsXwin())
{
- WpeXtermInit(&argc, argv);
+ WpeXtermInit(argc, argv);
}
#endif
else
{
- WpeTermInit(&argc, argv);
+ WpeTermInit(argc, argv);
}
#endif
if (WpeIsProg())
@@ -215,7 +215,7 @@
e_mn_men = 1;
#endif
}
- return(argc);
+ return(*argc);
}
#ifndef DJGPP