delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2009/07/18/10:17:35

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Date: Sat, 18 Jul 2009 16:47:22 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: mkdir.c -> access.c -> is_exec.c -> xstat.c -> (bloated) ctime.c == not necessarily a good idea (wastes 7k)
In-reply-to: <93c172b50907180626q4fd57d58h8ac1f502c0cb1a1a@mail.gmail.com>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-id: <83tz1ap0gl.fsf@gnu.org>
References: <93c172b50907180626q4fd57d58h8ac1f502c0cb1a1a AT mail DOT gmail DOT com>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Sat, 18 Jul 2009 08:26:25 -0500
> From: Rugxulo <rugxulo AT gmail DOT com>
> 
> For the record, this is the biggest module pulled in:
> 
> -rw-r--r--    1 dosuser  root        12436 Jul 18 08:02 ctime.o
> 
> But how does mkdir() use this??
> 
> Apparently, mkdir() calls access() which calls _is_executable() which
> needs _djstat_flags from xstat.c whose _file_time_stamp() function
> *always* pulls in mktime() (from ctime.c) even though not used in this
> case.

You can always put an empty `mktime' in your sources, to avoid pulling
in ctime.c.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019