Re: [AD] [4.3] New API?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wednesday 23 August 2006 9:11 am, Elias Pschernig wrote:
> On Tue, 2006-08-22 at 07:45 -0600, Thomas Fjellstrom wrote:
> > Ok. another question, how should allegro expose "stat"s uid/gid and umode
> > items? Windows 9x has no real representation of uid/gid, and many of the
> > umode parts, NT does things similarly to unix, but different enough that
> > they don't quite fit.
> >
> > Should we then just not bother with anything but
> > the "read/write/execute/hidden" bits? (no such thing as "system" files in
> > unix afaik) and only for the running user?
>
> When would it matter?

I was mainly thinking about just retrieving that info via an allegro al_stat 
like api.

> I can think of some cases where you would want to 
> create a file with not the default flags, but this should probably be
> dealt with by setting some driver specific config variables, e.g.:
>
> set_config_int("/allegro/filesystem/umask", 0x777)
>
> Then drivers who know about executable flags and owner/groups could use
> that whenever a file is created.
>
> --
> Elias Pschernig
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/