Xref: utzoo comp.sys.amiga:71978 comp.sys.amiga.tech:16187 Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!apple!amdahl!JUTS!ked01 From: ked01@ccc.amdahl.com (Kim DeVaughn) Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: Re: compress 4.0 for the amiga Message-ID: <86XJ025203c601@JUTS.ccc.amdahl.com> Date: 17 Nov 90 21:47:55 GMT References: <35043@nigel.ee.udel.edu> <4bFX02yd03bo01@JUTS.ccc.amdahl.com> <27dc02lWe25G01@amdahl.uts.amdahl.com> <36020@cup.portal.com> Reply-To: ked01@JUTS.ccc.amdahl.com (Kim DeVaughn) Organization: Amdahl Corporation, Sunnyvale, CA 94086 Lines: 25 In article <36020@cup.portal.com> thad@cup.portal.com (Thad P Floryan) writes: > oliphant@telepro.UUCP (Mike Oliphant) in asks: > > This sparks a question. How do you modify the datestamp of a file? > > The operative phrase is "ACTION_SETDATE" as documented in an AmigaMAIL circa > 1987. > > The "setDate.c" file is enclosed below. BTW, Jeff's "cp" program permits the > > X#define ACTION_SETDATE_MODE 34L /* The packet type we will be playing with */ Though I wouldn't expect it to change, one should really use ACTION_SET_DATE, as defined in "libraries/dosextens.h". I hear tell that there is a regular ol' fn() call to do this under 2.0, BTW. /kim -- UUCP: kim@uts.amdahl.com -OR- ked01@juts.ccc.amdahl.com or: {sun,decwrl,hplabs,pyramid,uunet,oliveb,ames}!amdahl!kim DDD: 408-746-8462 USPS: Amdahl Corp. M/S 249, 1250 E. Arques Av, Sunnyvale, CA 94086 BIX: kdevaughn GEnie: K.DEVAUGHN CIS: 76535,25