Re: [PATCH] getopt-long permits numbers for short options.

2023-09-05 Thread Marius Bakke
Janneke Nieuwenhuizen skriver: > Marius Bakke writes: > >> * module/ice-9/getopt-long.scm (short-opt-rx): Add 0-9. > > Hehe, reminds me of > > https://lists.gnu.org/archive/html/bug-guile/2018-07/msg9.html Hey, time flies... There is now: https://debbugs.g

[PATCH] web: Treat 'application/json' and similar as text.

2023-09-05 Thread Marius Bakke
* module/web/response.scm (text-content-type?): Add check for /json and +json. --- module/web/response.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/web/response.scm b/module/web/response.scm index 4ac4d74ca..394aac83c 100644 --- a/module/web/response.scm +++

[PATCH] getopt-long permits numbers for short options.

2023-09-05 Thread Marius Bakke
* module/ice-9/getopt-long.scm (short-opt-rx): Add 0-9. --- module/ice-9/getopt-long.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/ice-9/getopt-long.scm b/module/ice-9/getopt-long.scm index 18b235390..0077183da 100644 --- a/module/ice-9/getopt-long.scm +++

[PATCH v2] Add statvfs bindings.

2023-07-07 Thread Marius Bakke
* libguile/filesys.c (scm_statvfs2scm): New function. (scm_statvfs): New procedure. * libguile/filesys.h: Add scm_statvfs. * libguile/syscalls.h (fstatvfs_or_fstatvfs64, statvfs_or_statvfs64, scm_from_fsblkcnt_t_or_fsblkcnt64_t, scm_from_fsfilcnt_t_or_fsfilcnt64_t): New macros. *

[PATCH] Add statvfs bindings.

2023-07-06 Thread Marius Bakke
* libguile/filesys.c (scm_statvfs2scm): New function. (scm_statvfs): New procedure. * libguile/filesys.h: Add scm_statvfs. * libguile/syscalls.h (fstatvfs_or_fstatvfs64, statvfs_or_statvfs64, scm_from_fsblkcnt_t_or_fsblkcnt64_t, scm_from_fsfilcnt_t_or_fsfilcnt64_t): New macros. *

Preventing file descriptor leak to execl'd processes

2021-03-06 Thread Marius Bakke
Hello Guilers, I recently had the insa^W bright idea of making my login shell a Guile script instead of fiddling so much with bashrc and the likes. For example, here is how I start my window manager when logging into TTY2 or TTY3: $ cat /tmp/test-shell

Re: Python on guile v1.2.3

2020-06-23 Thread Marius Bakke
Stefan Israelsson Tampe writes: > done, all now have tags 1.2.3 Incredible response time, thanks! :-) I have not been able to build stis-parser, because slask.scm is missing: https://gitlab.com/tampe/stis-parser/-/issues/2 Is it a bug, or am I doing something wrong? Thanks, Marius

Re: FOSDEM social dinner

2017-02-02 Thread Marius Bakke
Alex Sassmannshausen writes: > Hello, > > To confirm, I've now placed a reservation for Saturday 4 February at > 19:30 at a Lebanese restaurant called Al Jannah. I haven't been there > before, but the menu looks diverse, the prices good and the location >