Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!titech.ac.jp!is-news.is.titech.ac.jp!nsj!ushijima
From: ushijima@is.titech.ac.jp (Tetsu Ushijima)
Newsgroups: fj.comp.printers,fj.unix,fj.questions.unix,fj.os.bsd.freebsd,fj.sources.d
Subject: Re: lipsf compilation (on FreeBSD)
Followup-To: fj.questions.unix
Date: 28 Jul 1996 09:49:00 GMT
Organization: Dept. of Information Science, Tokyo Institute of Technology, Tokyo, JAPAN
Lines: 44
Message-ID: <4tfd2c$i3a@nsi.is.titech.ac.jp>
References: <4tchvf$orr@zion.phys.s.u-tokyo.ac.jp>
NNTP-Posting-Host: nsj.is.titech.ac.jp
X-Newsreader: mnews [version 1.19PL2] 1996-01/26(Fri)
Xref: galaxy.trc.rwcp.or.jp fj.comp.printers:1727 fj.unix:2209 fj.questions.unix:3241 fj.os.bsd.freebsd:410 fj.sources.d:2203
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.unix&nb=2209&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

In article <4tchvf$orr@zion.phys.s.u-tokyo.ac.jp>,
ginga@miranda.phys.s.u-tokyo.ac.jp writes:

> 96/4/11$B:"!"(Bfj.sources $B$KEj9F$5$l$?(B text file $B$r(B
> lips $B$N%W%j%s%?!<$K=PNO$9$k%W%m%0%i%`!"(B
>  lipsf ver 1.13 $B$r(B FreeBSD $B$G(B make $B$5$l$?J}$O(B
> $B$$$i$C$7$c$$$^$9$G$7$g$&$+(B?
> 
> $B%3%s%Q%$%k$K<:GT$7$F$7$^$&$N$G$9$,!"2?$,$$$1$J$$$N$+(B
> $B$o$+$i$J$$$N$G!"$I$J$?$+$o$+$kJ}$K65$($F$$$?$@$-$?$$$N$G$9!#(B

FreeBSD $B$N(B /usr/include/sys/stat.h $B$K$O(B

#define st_mtime st_mtimespec.ts_sec

$B$H$$$&5-=R$,$"$j$^$9$N$G!"(Bfile.c $B$N(B 47 $B9TL\$N(B
time_t st_mtime;
$B$O!"(B
time_t st_mtimespec.ts_sec;
$B$KCV$-49$($i$l$^$9!#$@$+$i(B parse error $B$K$J$j$^$9!#(B

$B$H$j$"$($:0BD>$KBP=h$9$k$J$i(B file.c $B$r!"(B

--- file.c.distTue Apr  9 16:01:57 1996
+++ file.cSun Jul 28 17:50:46 1996
@@ -44,7 +44,11 @@
 gid_t st_gid;
 #endif
 off_t st_size;
+#ifdef st_mtime
+struct timespec st_mtimespec;
+#else
 time_t st_mtime;
+#endif
 int no;
 u_char isdir;
 struct _namelist *prev;

$B$N$h$&$KJQ99$9$k$3$H$,9M$($i$l$^$9!#$?$@$3$l$@$H(B st_mtime $B$r(B
$BJL$N$d$jJ}$G(B #define $B$7$F$$$k$h$&$J(B OS $B$G$O%3%s%Q%$%k$G$-$J(B
$B$/$J$C$F$7$^$$$^$9$1$l$I$b!D!D!#(B

    $B5mEh(B $BE/(B
    ushijima@is.titech.ac.jp
