Re: CMake: Installation directory for include files in apr 1.7.x

2024-04-26 Thread Daniel Sahlberg
mer of the library I would be quite surprised to see this happening in a patch release (but maybe I don't fully understand the implications). What is the state of the 1.8.x branch? Would it make sense to rather do it here and focus on releasing 1.8 with this change? Kind regards, Daniel Sahlber

Re: Get a user's all groups

2024-01-13 Thread Daniel Sahlberg
Den tis 2 jan. 2024 kl 14:20 skrev Joe Orton : > On Tue, Jan 02, 2024 at 02:00:00PM +0100, Daniel Sahlberg wrote: > > My idea was to incrementally improve the code but maybe a better way > > is to switch to access() completely. access() seems to be widely > > available but I

Re: Get a user's all groups

2024-01-02 Thread Daniel Sahlberg
Den tis 2 jan. 2024 kl 12:03 skrev Joe Orton : > On Tue, Dec 26, 2023 at 07:17:51PM +0100, Daniel Sahlberg wrote: > > Hi, > > > > apr_uid_current() can retur the user id and primary group id of a user. > Is > > there a way to find out if a user also has secondary

Get a user's all groups

2023-12-26 Thread Daniel Sahlberg
, but APR doesn't pick up the secondary groups and thus we don't think the user has R/W access. I'd like to improve this by also considering all secondary groups. Kind regards, Daniel Sahlberg

[PATCH] Remove links to mail-archives.apache.org from the website

2023-12-26 Thread Daniel Sahlberg
, Daniel Sahlberg [1] https://apr.apache.org/mailing-lists.html [[[ Index: xdocs/mailing-lists.xml === --- xdocs/mailing-lists.xml (revision 1914936) +++ xdocs/mailing-lists.xml (working copy) @@ -53,8 +53,6 @@ https

Re: getopt error message with a bare "-"

2023-12-02 Thread Daniel Sahlberg
Den lör 2 dec. 2023 kl 11:08 skrev Graham Leggett : > On 28 Nov 2023, at 07:46, Daniel Sahlberg > wrote: > > Subversion is using APR's apr_getopt_long for command line processing. > > A user tried to supply "-" for the filename with the intention of using >

getopt error message with a bare "-"

2023-11-27 Thread Daniel Sahlberg
, possibly hidden behind a switch in the apr_getopt_t struct. For our use, that would be even better, but I assume it would require more code (also on our side to remain backwards compatible with older APR versions). Kind regards, Daniel Sahlberg

svn:ignore a few more paths to help TortoiseSVN's build system

2021-07-21 Thread Daniel Sahlberg
, but it will be better in the future). Kind regards, Daniel Sahlberg