delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2009/07/27/09:23:38

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:date:message-id:subject
:from:to:content-type:content-transfer-encoding;
bh=GrPH8PMf8TmI0GijqQjgvci/hEYIPeZtRt1WrKqQGC4=;
b=dCyVUciK4I5KwLaJoaW75WQG1muqlDUzoT8hXcl029AOPQ7pBhklCM3PK1BCPX5ddr
zBUQLGD0Lfbo+sWtAcKx76XVUOSH/1Mj5c8xq7FiIk8AzKOBzJ1qXhBBkwPR8ZeOiliY
CRM9dxfI9N7tJvF2OeUIpaDL4vH//HS6Kzi88=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:date:message-id:subject:from:to:content-type
:content-transfer-encoding;
b=Bte/Yeepv5UMcYlUeZcE4madHTzvgazRyw2bk0Mqa0XRb47N2zT8x88L1kRN5I93pc
P1nmoXJKqn8tOKe55F/9EqkTNYi73Xmgs6BZm5CDf+iYlHecOchiHmC8oxTviiMV8Tqt
uRFODgpT7T0DqWYdpm9DuciIiQP9QCDe8MVzs=
MIME-Version: 1.0
Date: Mon, 27 Jul 2009 08:23:11 -0500
Message-ID: <93c172b50907270623y4e1f3e93xa1896aefa51fc9a3@mail.gmail.com>
Subject: xstat.c : _file_time_stamp (suggest to move to fstat.c)
From: Rugxulo <rugxulo AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
Reply-To: djgpp-workers AT delorie DOT com

grep -l file_time_stamp .../*

djgpp/src/libc/posix/sys/stat/fstat.c      (6 uses)
djgpp/src/libc/posix/sys/stat/lstat.c      (4 uses)
djgpp/src/libc/posix/sys/stat/xstat.c      (defined here but not used)
djgpp/src/libc/posix/sys/stat/xstat.h      (declared here)

xstat.c last updated in CVS:               2001
ctime.c last updated in CVS:               2005
[fl]stat.c last updated in CVS:            2008

unstripped sizes from 2.04 beta's libc.a (Nov 30, 2003):

-rw-r--r--    1 Rugxulo  root         6796 Jul 27 04:01 fstat.o
-rw-r--r--    1 Rugxulo  root         7300 Jul 27 04:01 lstat.o
-rw-r--r--    1 Rugxulo  root         2255 Jul 27 04:01 xstat.o
-rw-r--r--    1 Rugxulo  root        12845 Jul 27 04:03 ctime.o

Suggestion:   move _file_time_stamp out of xstat.[ch] and into fstat.c
              to avoid pulling in ctime.o for no reason.

- Raw text -


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