diff --git a/source_code/GNUmakefile.68k b/source_code/GNUmakefile.68k index 3b1c4b3..bb890ac 100644 --- a/source_code/GNUmakefile.68k +++ b/source_code/GNUmakefile.68k @@ -3,7 +3,7 @@ # # SMB file system wrapper for AmigaOS, using the AmiTCP V3 API # -# Copyright (C) 2000-2016 by Olaf `Olsen' Barthel +# Copyright (C) 2000-2018 by Olaf `Olsen' Barthel # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/source_code/GNUmakefile.os4 b/source_code/GNUmakefile.os4 index c14f370..3c1a5a8 100644 --- a/source_code/GNUmakefile.os4 +++ b/source_code/GNUmakefile.os4 @@ -1,7 +1,9 @@ # +# :ts=4 +# # SMB file system wrapper for AmigaOS, using the AmiTCP V3 API # -# * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel +# Copyright (C) 2000-2018 by Olaf `Olsen' Barthel # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -75,3 +77,8 @@ smb_abstraction.o : smb_abstraction.c system_headers.h assert.h smbfs.h smb_abst sock.o : sock.c system_headers.h assert.h smbfs.h smb_abstraction.h dump_smb.h dump_smb.o : dump_smb.c system_headers.h assert.h smbfs.h dump_smb.h quad_math.h utf-8-iso-8859-1-conversion.o : utf-8-iso-8859-1-conversion.c utf-8-iso-8859-1-conversion.h + +########################################################################### + +clean: + rm *.o $(PROJECT).debug $(PROJECT).map diff --git a/source_code/assert.c b/source_code/assert.c index 10f44a3..109e1ad 100644 --- a/source_code/assert.c +++ b/source_code/assert.c @@ -3,7 +3,7 @@ * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * - * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel + * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/source_code/assert.h b/source_code/assert.h index 533db54..a63214f 100644 --- a/source_code/assert.h +++ b/source_code/assert.h @@ -3,7 +3,7 @@ * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * - * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel + * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/source_code/dump_smb.c b/source_code/dump_smb.c index 184a76c..22c9b81 100644 --- a/source_code/dump_smb.c +++ b/source_code/dump_smb.c @@ -3,7 +3,7 @@ * * dump_smb.c * - * Copyright (C) 2016 by Olaf `Olsen' Barthel + * Copyright (C) 2016-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/source_code/dump_smb.h b/source_code/dump_smb.h index c4944ff..5f2b55c 100644 --- a/source_code/dump_smb.h +++ b/source_code/dump_smb.h @@ -3,7 +3,7 @@ * * dump_smb.h * - * Copyright (C) 2016 by Olaf `Olsen' Barthel + * Copyright (C) 2016-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/source_code/main.c b/source_code/main.c index d17a2b4..9f4ea94 100644 --- a/source_code/main.c +++ b/source_code/main.c @@ -3,7 +3,7 @@ * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * - * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel + * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,6 +26,7 @@ * copy "amiga:Public/Documents/Amiga Files/Shared/dir/Windows-Export/LP2NRFP.h" ram: * smbfs.debug user=guest volume=sicherung //192.168.1.76/sicherung-smb * smbfs maxtransmit=16600 debuglevel=2 dumpsmb dumpsmblevel=2 domain=workgroup user=olsen password=... volume=olsen //felix/olsen + * smbfs debuglevel=2 dumpsmb dumpsmblevel=2 volume=ubuntu-test //192.168.1.33/test */ #include "smbfs.h" diff --git a/source_code/quad_math.c b/source_code/quad_math.c index 3fd5d9d..dcec18e 100644 --- a/source_code/quad_math.c +++ b/source_code/quad_math.c @@ -3,7 +3,7 @@ * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * - * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel + * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/source_code/quad_math.h b/source_code/quad_math.h index 0a42cd3..86b94e8 100644 --- a/source_code/quad_math.h +++ b/source_code/quad_math.h @@ -3,7 +3,7 @@ * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * - * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel + * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/source_code/smakefile b/source_code/smakefile index 4204159..4f404f0 100644 --- a/source_code/smakefile +++ b/source_code/smakefile @@ -3,7 +3,7 @@ # # SMB file system wrapper for AmigaOS, using the AmiTCP V3 API # -# Copyright (C) 2000-2009 by Olaf `Olsen' Barthel +# Copyright (C) 2000-2018 by Olaf `Olsen' Barthel # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/source_code/smb_abstraction.c b/source_code/smb_abstraction.c index 6fde000..a07883c 100644 --- a/source_code/smb_abstraction.c +++ b/source_code/smb_abstraction.c @@ -662,7 +662,7 @@ smba_write (smba_file_t * f, char *data, long len, long offset) { if(n > (int)max_raw_size) n = max_raw_size; - + /* Maximum SMB_COM_RAW_WRITE length is 65535 bytes. */ if(n > 65535) n = 65535; diff --git a/source_code/smbfs.h b/source_code/smbfs.h index e534cc9..544deb8 100644 --- a/source_code/smbfs.h +++ b/source_code/smbfs.h @@ -3,7 +3,7 @@ * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * - * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel + * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/source_code/sock.c b/source_code/sock.c index c3915d0..43ef2f1 100644 --- a/source_code/sock.c +++ b/source_code/sock.c @@ -617,7 +617,15 @@ smb_request_write_raw (struct smb_server *server, unsigned const char *source, i /* Wait for the server to respond. */ if(!server->write_behind) + { + LOG(("waiting for server to respond... ")); result = smb_receive (server, sock_fd); + LOG(("response = %ld\n", result)); + } + else + { + LOG(("not waiting for server to respond\n")); + } } else { diff --git a/source_code/system_headers.c b/source_code/system_headers.c index cef87e8..4fa3a69 100644 --- a/source_code/system_headers.c +++ b/source_code/system_headers.c @@ -3,7 +3,7 @@ * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * - * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel + * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/source_code/system_headers.h b/source_code/system_headers.h index 2854ba5..5c0bfb9 100644 --- a/source_code/system_headers.h +++ b/source_code/system_headers.h @@ -3,7 +3,7 @@ * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * - * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel + * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/source_code/utf-8-iso-8859-1-conversion.c b/source_code/utf-8-iso-8859-1-conversion.c index db0a6bc..04c3723 100644 --- a/source_code/utf-8-iso-8859-1-conversion.c +++ b/source_code/utf-8-iso-8859-1-conversion.c @@ -3,7 +3,7 @@ * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * - * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel + * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/source_code/utf-8-iso-8859-1-conversion.h b/source_code/utf-8-iso-8859-1-conversion.h index e404cee..777a69d 100644 --- a/source_code/utf-8-iso-8859-1-conversion.h +++ b/source_code/utf-8-iso-8859-1-conversion.h @@ -3,7 +3,7 @@ * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * - * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel + * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by