Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
51bbf793
Commit
51bbf793
authored
May 21, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 1.0-bugfix into master
parents
0f282618
83116c1c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
48 additions
and
4 deletions
+48
-4
compat/getcwd.c
compat/getcwd.c
+38
-0
configure.ac
configure.ac
+1
-1
include/vlc_fixups.h
include/vlc_fixups.h
+6
-1
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+3
-0
modules/video_output/xcb/keys.c
modules/video_output/xcb/keys.c
+0
-2
No files found.
compat/getcwd.c
0 → 100644
View file @
51bbf793
/*****************************************************************************
* getcwd.c: POSIX getcwd() replacement
*****************************************************************************
* Copyright © 2009 the VideoLAN project
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stddef.h>
char
*
getcwd
(
char
*
buf
,
size_t
size
)
{
#ifdef UNDER_CE
/* Windows CE lacks any notion of working directory, so we just
* return an error, and set errno - oh wait, WinCE doesn't support
* errno either! */
(
void
)
buf
;
(
void
)
size
;
return
NULL
;
#else
# error Unimplemented!
#endif
}
configure.ac
View file @
51bbf793
...
...
@@ -580,7 +580,7 @@ dnl Check for usual libc functions
AC_CHECK_FUNCS([gettimeofday isatty sigrelse getpwuid_r memalign posix_memalign if_nametoindex getenv putenv setenv ctime_r lrintf daemon fork lstat posix_fadvise posix_madvise uselocale])
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(fcntl)
AC_REPLACE_FUNCS([asprintf atof atoll gmtime_r lldiv localtime_r rewind strcasecmp strcasestr strdup strlcpy strncasecmp strndup strnlen strsep strtof strtoll vasprintf swab])
AC_REPLACE_FUNCS([asprintf atof atoll g
etcwd g
mtime_r lldiv localtime_r rewind strcasecmp strcasestr strdup strlcpy strncasecmp strndup strnlen strsep strtof strtoll vasprintf swab])
AC_CHECK_FUNCS([stricmp strnicmp])
AC_CHECK_FUNCS(fdatasync,,
[AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.])
...
...
include/vlc_fixups.h
View file @
51bbf793
...
...
@@ -44,7 +44,8 @@ typedef struct
#if !defined (HAVE_STRLCPY) || \
!defined (HAVE_STRNDUP) || \
!defined (HAVE_STRNLEN)
!defined (HAVE_STRNLEN) || \
!defined (HAVE_GETCWD)
# include <stddef.h>
/* size_t */
#endif
...
...
@@ -128,6 +129,10 @@ struct tm *localtime_r (const time_t *, struct tm *);
void
rewind
(
FILE
*
);
#endif
#ifndef HAVE_GETCWD
char
*
getcwd
(
char
*
buf
,
size_t
size
);
#endif
#ifdef __cplusplus
}
/* extern "C" */
#endif
...
...
modules/gui/qt4/components/open_panels.cpp
View file @
51bbf793
...
...
@@ -1072,6 +1072,9 @@ void CaptureOpenPanel::initialize()
screenFPS
->
setAlignment
(
Qt
::
AlignRight
);
screenPropLayout
->
addWidget
(
screenFPS
,
0
,
1
);
/* Screen connect */
CuMRL
(
screenFPS
,
valueChanged
(
int
)
);
/* General connects */
CONNECT
(
ui
.
deviceCombo
,
activated
(
int
)
,
stackedDevLayout
,
setCurrentIndex
(
int
)
);
...
...
modules/video_output/xcb/keys.c
View file @
51bbf793
...
...
@@ -162,8 +162,6 @@ static int ConvertKeySym (xcb_keysym_t sym)
return
KEY_SPACE
;
if
(
isascii
(
sym
))
return
sym
;
if
(
sym
>
XK_Delete
)
return
KEY_UNSET
;
/* Special keys */
res
=
bsearch
(
&
sym
,
tab
,
sizeof
(
tab
)
/
sizeof
(
tab
[
0
]),
sizeof
(
tab
[
0
]),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment