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 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 Precedence: bulk > Date: Sat, 18 Jul 2009 08:26:25 -0500 > From: Rugxulo > > 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.