summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-08-19 19:22:26 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-08-19 19:22:26 +0000
commitbf1c79f7fd7f9beec4f9f4e58337cadceeb1cb38 (patch)
tree8213c5af20c00416c27ab46d1191701a3c581870 /source/include
parent3ede2a2b8caf8b44bf78f9b4307515dbf36b4ecc (diff)
downloadsamba-bf1c79f7fd7f9beec4f9f4e58337cadceeb1cb38.tar.gz
samba-bf1c79f7fd7f9beec4f9f4e58337cadceeb1cb38.tar.xz
samba-bf1c79f7fd7f9beec4f9f4e58337cadceeb1cb38.zip
Makefile: Changed for HPUX10 tidyup.
includes.h: Changed for HPUX10 tidyup. ipc.c: Fixed bug where getting local server list from NT browsers would fail. nmbsync.c: Fixed bug where getting local server list from NT browsers would fail. proto.h: Changed for crash bug on SCO with USE_MMAP. quotas.c: Added OSF quotas (patch from Bret Giddings <bret@essex.ac.uk>). Rolled back solaris uid change - I think it was wrong. reply.c: Changed for crash bug on SCO with USE_MMAP. server.c: Removed Lukes changes. Changed for crash bug on SCO with USE_MMAP. smb.h: Changed for crash bug on SCO with USE_MMAP. smbpasswd.c:Fixed crash bug with Lukes changes. uid.c: Removed Lukes changes. util.c: Fixed I18N bug with extended char filenames and widelinks = no. Jeremy (jallison@whistle.com)
Diffstat (limited to 'source/include')
-rw-r--r--source/include/includes.h4
-rw-r--r--source/include/proto.h4
-rw-r--r--source/include/smb.h4
3 files changed, 7 insertions, 5 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 03c2d461e6a..15a5e74e469 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -541,7 +541,9 @@ char *mktemp(char *); /* No standard include */
#define NEED_AUTH_PARAMETERS
#endif
#define SIGNAL_CAST (void (*)(__harg))
+#ifndef HPUX10 /* This is only needed for HPUX 9.x */
#define SELECT_CAST (int *)
+#endif /* HPUX10 */
#define SYSV
#define USE_WAITPID
#define WAIT3_CAST2 (int *)
@@ -550,7 +552,7 @@ char *mktemp(char *); /* No standard include */
#define USE_SETRES
#define DEFAULT_PRINTING PRINT_HPUX
#define SIGCLD_IGNORE
-#endif
+#endif /* HPUX */
#ifdef SEQUENT
diff --git a/source/include/proto.h b/source/include/proto.h
index 0fa4251b827..56bdbfe8653 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -703,8 +703,8 @@ void close_file(int fnum);
BOOL check_file_sharing(int cnum,char *fname);
void open_file_shared(int fnum,int cnum,char *fname,int share_mode,int ofun,
int mode,int *Access,int *action);
-int seek_file(int fnum,int pos);
-int read_file(int fnum,char *data,int pos,int n);
+int seek_file(int fnum,uint32 pos);
+int read_file(int fnum,char *data,uint32 pos,int n);
int write_file(int fnum,char *data,int n);
BOOL become_service(int cnum,BOOL do_chdir);
int find_service(char *service);
diff --git a/source/include/smb.h b/source/include/smb.h
index 2b6888b8a7f..0f2dc018656 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -314,11 +314,11 @@ typedef struct
int cnum;
file_fd_struct *fd_ptr;
int pos;
- int size;
+ uint32 size;
int mode;
int uid;
char *mmap_ptr;
- int mmap_size;
+ uint32 mmap_size;
write_bmpx_struct *wbmpx_ptr;
struct timeval open_time;
BOOL open;