X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=uCpt713xPeC95iJHOUeGBnTkS6L7WdcPMw+KQXVxfrg=; b=jkxgYGgethfIFMjADiOopsCcjWeRI82KsmEWlYxU3o5STaFk1IgkyCgDrj9dPUB6Tz dSVZ3sPhecnMDda28gfb/C/UfMpVRDMz1hVEsUYrXNnL7JqDyfcD1j0T4f/deYXd930y RMxk65gMidBJHzdWRKvz5im/pJ+CoY9MqOM9A5NzdrxeATMiuG/90zPH7G9kdEbHKI4h OHioQSMb3CQQbnVYkE+s7Qktz5vvuDJDDNczODan8KnbFdjSA1I7qBpiGd8a3Djv4Hkb /pcqR/fAQlzKJ8CA/OvlWZpP5kKUMcDqdXXZZsWywBNtnixQlgmQAsy80t/EDQBMHrf+ Fuig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=uCpt713xPeC95iJHOUeGBnTkS6L7WdcPMw+KQXVxfrg=; b=otDhEHUGRgXLGD8XiDzUglDpkufebVI2oGZgdZAhLbjklEw8xNueBBTMa+axPe+Bzx N1tGP2rTnyIpoGtjNdC9xg4lXGS8AKRAEh2cUAgcPnLESh7HxATluvHI3gCfBguKQYv9 jxY5BbC2Ni/Mb4421XpghGFLIUEysvR+BsV2Du/h3QKMG5Ulr310niE7KJEfDu9IHp51 uIhxoQPd9Zd6lBWDs8qVHVj8s5kPJQiV+CAjy061prPM+4fs4HzPhpkylRkSrGUaQ1D4 5BEbRd14NdmUICexkAcXamvKi34xEOyd41/+S7T/cybIWXlJjhUM6ybBABheuNrmOjhB 5OJQ== X-Gm-Message-State: AOAM533lfwjpCjMzPjfYNtxomK461h2yJ3sk71Xz0SPcUwro+0Pd+dyZ ZQQGpXo/S7LLHECirjEqp7UouOHPvhe8NtRmFHRjXg== X-Google-Smtp-Source: ABdhPJz6FD1U5+KZ/ryIRUSKeEgW7+fKc6ZZTKUOtCoS4ymBb+b115j8oZlhZYlS7aHFsnsEceN+Y4r8JL/CyV4yKpk= X-Received: by 2002:a19:428c:: with SMTP id p134mr7949419lfa.70.1595703547266; Sat, 25 Jul 2020 11:59:07 -0700 (PDT) MIME-Version: 1.0 References: <5F1C6113 DOT 9050807 AT gmx DOT de> <20200725181011.DP1yL%schily AT schily DOT net> In-Reply-To: <20200725181011.DP1yL%schily@schily.net> From: "A. Wik (awik32 AT gmail DOT com) [via djgpp AT delorie DOT com]" Date: Sat, 25 Jul 2020 18:58:55 +0000 Message-ID: Subject: Fwd: Fwd: Bug report -- utimes() To: djgpp AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 06PIxicj018762 Reply-To: djgpp AT delorie DOT com Reply from Schilling: ---------- Forwarded message --------- From: Joerg Schilling Date: Sat, 25 Jul 2020 at 18:10 Subject: Re: Fwd: Bug report -- utimes() To: , "A. Wik" wrote: > Hi, > > I received this reply to the utimes() bug report you asked me to forward. > > ---------- Forwarded message --------- > From: Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via > djgpp AT delorie DOT com] > Date: Sat, 25 Jul 2020 at 16:49 > Subject: Re: Bug report -- utimes() > To: ... > > Sorry, but I do not fully understannd this. > DJGPP provides utime() and utimes() that fully conform to 4.3BSD, POSIX.1-2001 > with regards to their arguments. There is nothing like a const struct > timestruct OK, this was a typo, but the problem seems to be a wrong protoype for utimes() in DJGPP. The bug is in c:/djgpp/include/sys/time.h:41:46: note: expected 'struct timeval *' but argument is of type 'const struct timeval *' 41 | int utimes(const char *_file, struct timeval _tvp[2]); and the standard says: https://pubs.opengroup.org/onlinepubs/9699919799/functions/utimes.html Jörg -- EMail:joerg AT schily DOT net (home) Jörg Schilling D-13353 Berlin joerg DOT schilling AT fokus DOT fraunhofer DOT de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/