Lines 1-6
Link Here
|
1 |
--- infoBtn.c Thu Jun 25 16:09:58 1998 |
1 |
--- infoBtn.c.orig 1998-11-16 06:02:59.000000000 +0100 |
2 |
+++ /home/andy/tmp/wrk/infoBtn.c Thu Jul 30 11:27:26 1998 |
2 |
+++ infoBtn.c 2007-12-07 00:09:30.000000000 +0100 |
3 |
@@ -292,7 +292,7 @@ |
3 |
@@ -214,7 +214,7 @@ |
|
|
4 |
if(chmod(ptr->pathname, ptr->mode) != 0) |
5 |
{ |
6 |
char *err= (errno >= 0 && errno <sys_nerr)? |
7 |
- sys_errlist[errno] : "Unknown error"; |
8 |
+ (char *)sys_errlist[errno] : "Unknown error"; |
9 |
ezfmWarning("chmod() failed due to the following error", err); |
10 |
haserr++; |
11 |
} |
12 |
@@ -245,7 +245,7 @@ |
13 |
if(chown(ptr->pathname, pswd->pw_uid, grp->gr_gid) != 0) |
14 |
{ |
15 |
char *err= (errno >= 0 && errno <sys_nerr)? |
16 |
- sys_errlist[errno] : "Unknown error"; |
17 |
+ (char *)sys_errlist[errno] : "Unknown error"; |
18 |
ezfmWarning("chown() failed due to the following error", err); |
19 |
haserr++; |
20 |
} |
21 |
@@ -260,7 +260,7 @@ |
22 |
if(rename(ptr->pathname, nname) < 0) |
23 |
{ |
24 |
char *err= (errno >= 0 && errno <sys_nerr)? |
25 |
- sys_errlist[errno] : "Unknown error"; |
26 |
+ (char *)sys_errlist[errno] : "Unknown error"; |
27 |
ezfmWarning("rename() failed due to the following error", err); |
28 |
haserr++; |
29 |
} |
30 |
@@ -290,7 +290,7 @@ |
4 |
} |
31 |
} |
5 |
} |
32 |
} |
6 |
/**************************************************************************/ |
33 |
/**************************************************************************/ |
Lines 9-15
Link Here
|
9 |
{ |
36 |
{ |
10 |
char str[12]; |
37 |
char str[12]; |
11 |
infoControl *ptr = (infoControl *)data; |
38 |
infoControl *ptr = (infoControl *)data; |
12 |
@@ -349,7 +349,7 @@ |
39 |
@@ -347,7 +347,7 @@ |
13 |
EZ_GRID_CELL_GEOMETRY, 2, idx , 1, 1, |
40 |
EZ_GRID_CELL_GEOMETRY, 2, idx , 1, 1, |
14 |
EZ_CLIENT_INT_DATA, rr, |
41 |
EZ_CLIENT_INT_DATA, rr, |
15 |
EZ_CLIENT_PTR_DATA, clabel, |
42 |
EZ_CLIENT_PTR_DATA, clabel, |
Lines 18-24
Link Here
|
18 |
NULL); |
45 |
NULL); |
19 |
label = EZ_CreateWidget(EZ_WIDGET_CHECK_BUTTON, tframe, |
46 |
label = EZ_CreateWidget(EZ_WIDGET_CHECK_BUTTON, tframe, |
20 |
EZ_LABEL_STRING, "write", |
47 |
EZ_LABEL_STRING, "write", |
21 |
@@ -360,7 +360,7 @@ |
48 |
@@ -358,7 +358,7 @@ |
22 |
EZ_CLIENT_INT_DATA, ww, |
49 |
EZ_CLIENT_INT_DATA, ww, |
23 |
EZ_CLIENT_PTR_DATA, clabel, |
50 |
EZ_CLIENT_PTR_DATA, clabel, |
24 |
EZ_GRID_CELL_GEOMETRY, 3, idx , 1, 1, |
51 |
EZ_GRID_CELL_GEOMETRY, 3, idx , 1, 1, |
Lines 27-33
Link Here
|
27 |
NULL); |
54 |
NULL); |
28 |
label = EZ_CreateWidget(EZ_WIDGET_CHECK_BUTTON, tframe, |
55 |
label = EZ_CreateWidget(EZ_WIDGET_CHECK_BUTTON, tframe, |
29 |
EZ_LABEL_STRING, "execute", |
56 |
EZ_LABEL_STRING, "execute", |
30 |
@@ -371,7 +371,7 @@ |
57 |
@@ -369,7 +369,7 @@ |
31 |
EZ_CLIENT_PTR_DATA, clabel, |
58 |
EZ_CLIENT_PTR_DATA, clabel, |
32 |
EZ_CHECK_BUTTON_ON_OFF, xx&mode, |
59 |
EZ_CHECK_BUTTON_ON_OFF, xx&mode, |
33 |
EZ_GRID_CELL_GEOMETRY, 4, idx , 1, 1, |
60 |
EZ_GRID_CELL_GEOMETRY, 4, idx , 1, 1, |