* ftpfs.c (initconn): Use more portable initialization.

* xdirentry.h: Use safer definition of ERRNOR.
This commit is contained in:
Pavel Roskin 2003-08-29 22:32:21 +00:00
parent d1a227c55b
commit ef9371e3fa
3 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2003-08-29 Pavel Roskin <proski@gnu.org>
* ftpfs.c (initconn): Use more portable initialization.
* xdirentry.h: Use safer definition of ERRNOR.
2003-08-18 Oskar Liljeblad <oskar@osk.mine.nu>
* extfs/uzip.in: Fix error in parsing size of files over 9999999

View File

@ -922,7 +922,8 @@ static int
initconn (vfs *me, vfs_s_super *super)
{
struct sockaddr_in data_addr;
int data, len = sizeof(data_addr);
int data;
int len = sizeof(data_addr);
struct protoent *pe;
pe = getprotobyname ("tcp");

View File

@ -250,11 +250,7 @@ int vfs_s_get_line_interruptible (vfs *me, char *buffer, int size, int fd);
/* misc */
int vfs_s_retrieve_file (vfs *me, struct vfs_s_inode *ino);
#if 0
#define ERRNOR(a, b) do { me->verrno = a; return b; } while (0)
#else
#define ERRNOR(a, b) { me->verrno = a; return b; }
#endif
#define MEDATA ((struct vfs_s_data *) me->data)