| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | dos2unix |
Winston Smith wrote in a message to Roy J. Tellason: WS> Re: dos2unix WS> By: Roy J. Tellason to andrew clarke on Sat Jun 21 2003 01:08 pm > Since you're in here anyway, I thought the discussion better moved > here tha > where it was... > > There are a couple of bits of that program you posted that I'm not > sure of. > For example, this stuff: > > #ifdef __GNUC__ > #include > #include > #else > #include > #include > #endif > > static struct stat s_buf; > > and these bits here: > > ut_buf.actime = s_buf.st_atime; > ut_buf.modtime = s_buf.st_mtime; > > What are those for? WS> UNIX files have *3* time attributes, instead of DOS's one: WS> Creation (when the file was made) WS> Access (when someone or something "looked" at the file, WS> similar to the "archive" flag toggle) WS> Modified (when the file was last changed, DOS just updates WS> Creation, so every time that you edit a file it WS> becomes "new" again) So which one of these is most commonly used in, for example, directory listings? ---* Origin: TANSTAAFL BBS 717-838-8539 (1:270/615) SEEN-BY: 633/267 270 @PATH: 270/615 150/220 379/1 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.