diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-28 21:43:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-28 21:43:48 +0000 |
commit | e0567433bd72aec17bf5a54cc292701095d25f09 (patch) | |
tree | 335335fb594f280097aa1c5db1118615112d0285 /source/script | |
parent | 8a4730f61923577b0bd9e09ef1a00538f7dfb0de (diff) | |
download | samba-e0567433bd72aec17bf5a54cc292701095d25f09.tar.gz |
Changes to test in configure if capabilities are enabled on a system.
Changes to get Samba to compile cleanly with the IRIX compiler
with the options : -fullwarn -woff 1209,1174 (the -woff options
are to turn off warnings about unused function parameters and
controlling loop expressions being constants).
Split prototype generation as we hit a limit in IRIX nawk.
Removed "." code in smbd/filename.c (yet again :-).
Jeremy.
Diffstat (limited to 'source/script')
-rw-r--r-- | source/script/mkproto.awk | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk index 88b04903541..dd8d4946a2b 100644 --- a/source/script/mkproto.awk +++ b/source/script/mkproto.awk @@ -80,8 +80,26 @@ END { next; } -!/^connection_struct|^pipes_struct|^file_fd_struct|^files_struct|^connection_struct|^uid_t|^gid_t|^unsigned|^mode_t|^DIR|^user|^int|^long|^char|^uint|^struct|^BOOL|^void|^time|^smb_shm_offset_t|^shm_offset_t|^enum remote_arch_types|^FILE|^SMB_OFF_T|^size_t|^ssize_t|^SMB_BIG_UINT/ { - next; +# +# We have to split up the start +# matching as we now have so many start +# types that it can cause some versions +# of nawk/awk to choke and fail on +# the full match. JRA. +# + +{ + gotstart = 0; + if( $0 ~ /^connection_struct|^pipes_struct|^file_fd_struct|^files_struct|^connection_struct|^uid_t|^gid_t|^unsigned|^mode_t|^DIR|^user|^int|^pid_t/ ) { + gotstart = 1; + } + + if( $0 ~ /^long|^char|^uint|^struct|^BOOL|^void|^time|^smb_shm_offset_t|^shm_offset_t|^enum remote_arch_types|^FILE|^SMB_OFF_T|^size_t|^ssize_t|^SMB_BIG_UINT/ ) { + gotstart = 1; + } + if(!gotstart) { + next; + } } |