From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Fri, 23 Oct 2020 09:18:36 +0200 Subject: [LTP] [PATCH v2] Remove ftime and sys/timeb.h In-Reply-To: References: <5F913024.7050303@cn.fujitsu.com> <1603352029-11446-1-git-send-email-xuyang2018.jy@cn.fujitsu.com> Message-ID: <20201023071836.GA2310@x230> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi all, > Yang Xu wrote: > > The two case uses ftime to get the current milliseconds and it was > > used to generate random value. Using gettimeofday() to get the microseconds > > can reach the same aim. > > This also fixes the travis build error[1] on Fedora:Rawhide because the > > has been deprecated[2]. > > [1] https://travis-ci.org/github/linux-test-project/ltp/jobs/737698948 > > [2] https://www.spinics.net/lists/fedora-devel/msg279545.html > > Reviewed-by: Li Wang > > Acked-by: Jan Stancek > > Acked-by: Xiao Yang > > Signed-off-by: Yang Xu > Pushed, thanks! Thanks for handling these! Kind regards, Petr