Re: open() fails to update st_mtime when used with O_TRUNC and 0 byte files
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FUfQ5ybS2dIRUeMPSrj8g08FrLGQ0tuRMlVwA1z+s9WMhGxn075b0lGEWOLlGyy0jYab/5WaEw4uxpeFWyHPfoRwy0JIe+ZnZxSIATr5ArTn8oa+NEtl7PKim22a37H1bRKoeBGyT26x4GFAuFIGlTWrIK+SeSEfKbA6mo32cgE= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a+sEuassKy6klkZx0mwksASwNWH4J/hlrHILsF9jIX2ttTsU3AM9XlrYzYMFi4S3fgs/pQtvhnQkE74heREDSU6ken7RCe4+xMlEvtsIsqr0D8WRdz6H1YM76Ac1suQwE+MtIyNtV2U0dV1OCfxgxaZHuUxcmVptPKSCGGY4AQA= i was tracking down a bug in the Linux kernel build system which seems to be caused by a bug in Darwin. the kernel build system creates a bunch of 0 byte files and then uses open(O_TRUNC) on them in order to update the st_mtime field (which triggers make to recreate some object files). on my mac mini, this all falls apart. is there somewhere i can file a bug report about this ? i'm really not familiar with Darwin development methodologies -mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On 6/12/07, Mike Frysinger <vapier.adi@gmail.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Frysinger