TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Roy J. Tellason
from: Winston Smith
date: 2003-06-29 23:06:52
subject: dos2unix

Re: dos2unix
  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?

UNIX files have *3* time attributes, instead of DOS's one:
     Creation (when the file was made)
     Access (when someone or something "looked" at the file,
             similar to the "archive" flag toggle)
     Modified (when the file was last changed, DOS just updates
               Creation, so every time that you edit a file it
               becomes "new" again)
--- SBBSecho 2.00-Win32
* Origin: Tuneman BBS -- Manville, RI Tunemanbbs.mine.nu (1:323/981)
SEEN-BY: 633/267 270
@PATH: 323/981 132/500 10/345 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™.