Fixed cygwin build.

This commit is contained in:
Ianos Gnatiuc
2006-05-14 01:19:58 +00:00
parent 40cd10db65
commit 866e5c2657
13 changed files with 29 additions and 39 deletions

View File

@@ -962,4 +962,4 @@ const uint TO_ALL = 16;
// ------------------------------------------------------------------
#endif
#endif

View File

@@ -210,7 +210,7 @@ int gfile::Read(void* __ptr, size_t __len)
// ------------------------------------------------------------------
int gfile::Write(void* __ptr, size_t __len)
int gfile::Write(const void* __ptr, size_t __len)
{
int _ret = g_write(fh, __ptr, unsigned(__len));
status = (_ret == -1) ? errno : 0;

View File

@@ -95,7 +95,7 @@ public:
int Close ();
int Read (void* __ptr, size_t __len);
int Write (void* __ptr, size_t __len);
int Write (const void* __ptr, size_t __len);
long Tell ();
long Lseek (long __offset, int __direction);

View File

@@ -195,4 +195,9 @@ void glog::store() {
}
// ------------------------------------------------------------------
glog LOG;
// ------------------------------------------------------------------

View File

@@ -1,4 +1,4 @@
regex c all emx cyg
regex cpp all emx cyg
fnmatch c all
glob c all
dummy c all nov bcd bco bcx wcn wco wcx lnx djg rsx be sun

View File

@@ -1,2 +1,2 @@
lzh c all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
smblib c all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
lzh cpp all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
smblib cpp all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun

View File

@@ -1,8 +1,8 @@
fptools c all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uucheck c all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uuencode c all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uulib c all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uunconc c all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uuscan c all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uustring c all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uuutil c all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
fptools cpp all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uucheck cpp all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uuencode cpp all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uulib cpp all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uunconc cpp all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uuscan cpp all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uustring cpp all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun
uuutil cpp all ovl bcd bco bcx wcn wco wcx lnx emx djg rsx cyg be sun

View File

@@ -903,11 +903,11 @@ UUDecodeFile (uulist *thefile, char *destname)
if (destname)
strcpy (uugen_fnbuffer, destname);
else {
sprintf (uugen_fnbuffer, "%s%s",
(uusavepath)?uusavepath:"",
UUFNameFilter ((thefile->filename)?
thefile->filename:"unknown.xxx"));
else
{
char unknownfn[] = "unknown.xxx";
sprintf(uugen_fnbuffer, "%s%s", (uusavepath) ? uusavepath : "",
UUFNameFilter(thefile->filename ? thefile->filename : unknownfn));
}
/*
@@ -1115,7 +1115,7 @@ UUInfoFile (uulist *thefile, void *opaque, int (*func)(void *, char *))
return UURET_OK;
}
int UUEXPORT
UURenameFile (uulist *thefile, char *newname)
{
@@ -1239,4 +1239,3 @@ UUCleanUp (void)
return UURET_OK;
}