From 4c15fb32c8234773d13227ccea6700d2ac1cab6e Mon Sep 17 00:00:00 2001 From: Ronan Keryell Date: Thu, 1 Aug 2019 00:18:26 +0200 Subject: [PATCH] * 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 --- scilab/CHANGES.md | 2 +- .../atoms/macros/atoms_internals/atomsDownload.sci | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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")); -- 1.7.9.5