Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
f50fab16
Commit
f50fab16
authored
1 year ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
We actually use these NOPEN_* macros in main.cpp
So move to nopen.h
parent
41b6e894
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#4996
passed
1 year ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/nopen.c
+0
-3
0 additions, 3 deletions
src/sbbs3/nopen.c
src/sbbs3/nopen.h
+3
-0
3 additions, 0 deletions
src/sbbs3/nopen.h
with
3 additions
and
3 deletions
src/sbbs3/nopen.c
+
0
−
3
View file @
f50fab16
...
...
@@ -25,9 +25,6 @@
#include
"sockwrap.h"
#include
"nopen.h"
#define FNOPEN_BUF_SIZE (2*1024)
#define LOOP_NOPEN 50
/* Retries before file access denied */
/****************************************************************************/
/* Network open function. Opens all files DENYALL, DENYWRITE, or DENYNONE */
/* depending on access, and retries LOOP_NOPEN number of times if the */
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/nopen.h
+
3
−
0
View file @
f50fab16
...
...
@@ -26,6 +26,9 @@
#include
<fcntl.h>
/* O_RDONLY */
#include
"gen_defs.h"
/* BOOL (switch to stdbool when we stop using BCB6) */
#define FNOPEN_BUF_SIZE (2*1024)
#define LOOP_NOPEN 50
/* Retries before file access denied */
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment