Comments (3)
FWIW, this is the c_os.c patch I used, and now with the 2 patches, I can build sparforte on DragonFly (and FreeBSD)
--- src/c_os.c.orig 2020-03-28 23:21:57 UTC
+++ src/c_os.c
@@ -16,7 +16,7 @@
#include <stdio.h>
#include <limits.h>
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
int group_member(gid_t gid) {
int ngroups, i, ret;
int groups[NGROUPS_MAX];
I just piggy-backed on APPLE fix for the missing group_member function.
from sparforte.
I didn't get a chance to test FreeBSD against the last version.
I used the group members function after examining the Bash source code. This will allow SparForte to check for group read/write/execute permissions across all the groups that a person belongs to.
Apparently this was a Linux-specific feature. I didn't notice this while looking at the source code.
Thanks for the patch.
from sparforte.
I will release a 2.3.1 version shortly which will include the patches. Thanks.
from sparforte.
Related Issues (14)
- character - (dash) is a word separator HOT 1
- Unable to build without SDL? HOT 5
- Some more build issues HOT 2
- Some issues with SparForte and the language HOT 12
- 2 issues with release 2.2 (so far) HOT 5
- SMTP Content Sanitation HOT 1
- BDB compile error HOT 3
- Tried building Sparforte with FSF GCC 13 recently? HOT 11
- Example of SparForte running under/inside Ada HOT 2
- unable to run command with --long-name style HOT 2
- MySQL does not compile HOT 4
- configure logic is incorrect for database detection HOT 5
- A collection of errors and other issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparforte.