Re: [ast-developers] Re: |utimensat()| emulation... / was: Re: Prototype patch for adding |*at()|-API emulation to ast-ksh ...

2012-08-25 Thread ольга крыжановская
Glenn, so an emulation is needed, right? What should be used if
utimensat() is not available? Is using utime() sufficient?

Olga

On Sat, Aug 25, 2012 at 4:34 PM, Glenn Fowler g...@research.att.com wrote:

 On Sat, 25 Aug 2012 12:06:44 +0200 Roland Mainz wrote:
 On Sat, Aug 25, 2012 at 11:44 AM, Roland Mainz roland.ma...@nrubsig.org 
 wrote:
 [snip]
  - The |*at()|-emulation is not complete yet... missing functions are
  |readlinkat()|, |sumlinkat()| and |utimensat()| ... I'll add them when
  Glenn gives the OK for the general idea (see goal below)

 Erm... do we need a |utimensat()| emulation (maybe usefull for
 abstraction purposes ?) ? Glenn ?

 ast already uses utimensat() (just within ast) if its there

 ___
 ast-developers mailing list
 ast-developers@research.att.com
 https://mailman.research.att.com/mailman/listinfo/ast-developers



-- 
  ,   __   ,
 { \/`o;-Olga Kryzhanovska   -;o`\/ }
.'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
 `'-..-| /   http://twitter.com/fleyta \ |-..-'`
  /\/\ Solaris/BSD//C/C++ programmer   /\/\
  `--`  `--`
___
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers


Re: [ast-developers] Re: |utimensat()| emulation... / was: Re: Prototype patch for adding |*at()|-API emulation to ast-ksh ...

2012-08-25 Thread Roland Mainz
On Sun, Aug 26, 2012 at 12:40 AM, Glenn Fowler g...@research.att.com wrote:
 On Sat, 25 Aug 2012 18:10:47 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= 
 wrote:
 On Sat, Aug 25, 2012 at 4:34 PM, Glenn Fowler g...@research.att.com wrote:
 
  On Sat, 25 Aug 2012 12:06:44 +0200 Roland Mainz wrote:
  On Sat, Aug 25, 2012 at 11:44 AM, Roland Mainz roland.ma...@nrubsig.org 
  wrote:
  [snip]
   - The |*at()|-emulation is not complete yet... missing functions are
   |readlinkat()|, |sumlinkat()| and |utimensat()| ... I'll add them when
   Glenn gives the OK for the general idea (see goal below)
 
  Erm... do we need a |utimensat()| emulation (maybe usefull for
  abstraction purposes ?) ? Glenn ?
 
  ast already uses utimensat() (just within ast) if its there
 Glenn, so an emulation is needed, right? What should be used if
 utimensat() is not available? Is using utime() sufficient?

 the ast usage is limited to AT_FDCWD
 its in src/lib/libast/tm/tvtouch.c
 mainly used to get ns resolution
 the #ifdef logic shows the alternatives used

OK...
... is there any |*at()| call except { |symlinkat()|, |readlinkat()|,
|utimensat()| } missing in
http://svn.nrubsig.org/svn/people/gisburn/code/openat_emu/openat_emu.c
which may be needed later ?

BTW: Where should I store the code... would src/lib/libast/fs_at/ be OK ?



Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, CJAVASunUnix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
___
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers