Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feh
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
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
derf
feh
Commits
c5044491
Commit
c5044491
authored
13 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Add stat64 (-D_FILE_OFFSET_BITS=64) makeflag to support 64bit CIFS shares on 32bit hosts
parent
43d52da2
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
README
+2
-1
2 additions, 1 deletion
README
config.mk
+4
-0
4 additions, 0 deletions
config.mk
src/filelist.c
+4
-0
4 additions, 0 deletions
src/filelist.c
with
12 additions
and
1 deletion
ChangeLog
+
2
−
0
View file @
c5044491
...
...
@@ -9,6 +9,8 @@ git HEAD
Use --index-info <string> with format specifiers instead
* The thumbnail index now supports actions on the currently selected
thumbnail (patch by Olof-Joachim Frahm)
* feh now supports 'make stat64=1' to access 64bit CIFS shares from 32bit
hosts (for 32 <-> 32 or 64 <-> 64 bit, this works anyways)
Mon, 26 Sep 2011 09:35:41 +0200 Daniel Friesel <derf@finalrewind.org>
...
...
This diff is collapsed.
Click to expand it.
README
+
2
−
1
View file @
c5044491
...
...
@@ -40,7 +40,8 @@ Available flags are:
* curl (default 1) - use libcurl to view http:// and similar images
* debug (default 0) - debug build, enables --debug
* help (default 0) - include help text (refers to the manpage otherwise)
* xinerama (default 1) - Support Xinerama multiscreen setups
* stat64 (default 0) - Support CIFS shares from 64bit hosts on 32bit machines
* xinerama (default 1) - Support Xinerama/XRandR multiscreen setups
So, by default libcurl and Xinerama are enabled, while debug is disabled.
...
...
This diff is collapsed.
Click to expand it.
config.mk
+
4
−
0
View file @
c5044491
...
...
@@ -41,6 +41,10 @@ ifeq (${help},1)
CFLAGS
+=
-DINCLUDE_HELP
endif
ifeq
(${stat64},1)
CFLAGS
+=
-D_FILE_OFFSET_BITS
=
64
endif
ifeq
(${xinerama},1)
CFLAGS
+=
-DHAVE_LIBXINERAMA
LDLIBS
+=
-lXinerama
...
...
This diff is collapsed.
Click to expand it.
src/filelist.c
+
4
−
0
View file @
c5044491
...
...
@@ -172,6 +172,10 @@ void add_file_to_filelist_recursively(char *origpath, unsigned char level)
if
(
!
opt
.
quiet
)
weprintf
(
"you don't have permission to open %s - skipping"
,
path
);
break
;
case
EOVERFLOW
:
weprintf
(
"Cannot open %s - EOVERFLOW.
\n
"
"Recompile with stat64=1 to fix this"
);
break
;
default:
if
(
!
opt
.
quiet
)
weprintf
(
"couldn't open %s"
,
path
);
...
...
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