unofficial mirror of 
 help / color / mirror / Atom feed
* bug#46258: openat, chownat, ... in Guile?
@ 2021-02-02 14:45 Maxime Devos
  0 siblings, 0 replies; only message in thread
From: Maxime Devos @ 2021-02-02 14:45 UTC (permalink / raw)
  To: 46258

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

Hi guilers,

I would like to see fchownat, openat, fchmodat
and any *at variants I forgot to appear in future versions
of Guile in some form.  I have two proposals, which I will
illustrate with the procedure 'chmod':

* chmod can currently modify permissions of a file.
  This OBJECT argument identifying the file can currently
  be a filename or a port.  Allow a ‘file in a directory’
  object as well.  This could be created with a procedure


  This procedure does not perform any I/O, but rather
  constructs what is effectively is a pair (DIRECTORY-PORT
  . FILENAME) but with its own type.

* Follow the C API, but with Scheme types.


  where FLAGS can include AT_SYMLINK_NOFOLLOW (from chmod(2)
  Linux man page)

Any thoughts?


P.S. I'm not subscribed to, please CC me.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-02 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 14:45 bug#46258: openat, chownat, ... in Guile? Maxime Devos

unofficial mirror of 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror guile-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-bugs guile-bugs/ \
	public-inbox-index guile-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git