From: Ronan Keryell Date: Wed, 31 Jul 2019 22:18:26 +0000 (+0200) Subject: * Bug 8059 fixed: .wgetrc could make troubles in atomsDownload() X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=commitdiff_plain;h=4c15fb32c8234773d13227ccea6700d2ac1cab6e * Bug 8059 fixed: .wgetrc could make troubles in atomsDownload() http://bugzilla.scilab.org/8059 Moved from master @ https://codereview.scilab.org/21062 Change-Id: I237c6069aa226d888b66be3300a4bae4b9f53b4d --- diff --git a/scilab/CHANGES.md b/scilab/CHANGES.md index 1a52c35..e617522 100644 --- a/scilab/CHANGES.md +++ b/scilab/CHANGES.md @@ -263,9 +263,9 @@ Known issues Bug Fixes --------- - ### Bugs fixed in 6.1.1: * [#3188](https://bugzilla.scilab.org/3188): `part()` was slower than in Scilab 4.1.2. +* [#8059](https://bugzilla.scilab.org/8059): A local `.wgetrc` config file could make troubles in `atomsDownload`. * [#16106](https://bugzilla.scilab.org/16106): Xcos sciblk4 user-defined blocks did not handle opar and odstate/oz correctly. * [#16342](https://bugzilla.scilab.org/16342): `strcat()` was much slower in Scilab 6.0.2. * [#16350](https://bugzilla.scilab.org/16350): in if/while conditions, the empty sparse boolean was considered as TRUE. diff --git a/scilab/modules/atoms/macros/atoms_internals/atomsDownload.sci b/scilab/modules/atoms/macros/atoms_internals/atomsDownload.sci index fa60f03..2e40d3e 100644 --- a/scilab/modules/atoms/macros/atoms_internals/atomsDownload.sci +++ b/scilab/modules/atoms/macros/atoms_internals/atomsDownload.sci @@ -122,7 +122,7 @@ function atomsDownload(url_in,file_out,md5sum) timeout_arg = " --connect-timeout "; else // wget - timeout_arg = " --timeout="; + timeout_arg = " --no-timestamping --no-page-requisites --no-recursive --timeout="; end timeout = strtod(atomsGetConfig("downloadTimeout"));