Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
9815d101
Commit
9815d101
authored
May 05, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system/FileDescriptor: move to io/
parent
97f7270a
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
30 additions
and
19 deletions
+30
-19
meson.build
meson.build
+1
-0
InotifySource.cxx
src/db/update/InotifySource.cxx
+1
-1
FileSystem.hxx
src/fs/FileSystem.hxx
+1
-1
FileOutputStream.hxx
src/fs/io/FileOutputStream.hxx
+1
-1
FileReader.cxx
src/fs/io/FileReader.cxx
+1
-1
FileReader.hxx
src/fs/io/FileReader.hxx
+1
-1
meson.build
src/fs/meson.build
+1
-0
FileInputPlugin.cxx
src/input/plugins/FileInputPlugin.cxx
+1
-1
FileDescriptor.cxx
src/io/FileDescriptor.cxx
+0
-0
FileDescriptor.hxx
src/io/FileDescriptor.hxx
+0
-0
Open.cxx
src/io/Open.cxx
+1
-1
Open.hxx
src/io/Open.hxx
+0
-0
UniqueFileDescriptor.hxx
src/io/UniqueFileDescriptor.hxx
+0
-0
meson.build
src/io/meson.build
+10
-0
OssMixerPlugin.cxx
src/mixer/plugins/OssMixerPlugin.cxx
+1
-1
SocketDescriptor.hxx
src/net/SocketDescriptor.hxx
+1
-1
OssOutputPlugin.cxx
src/output/plugins/OssOutputPlugin.cxx
+1
-1
SolarisOutputPlugin.cxx
src/output/plugins/SolarisOutputPlugin.cxx
+1
-1
EpollFD.hxx
src/system/EpollFD.hxx
+2
-2
EventFD.hxx
src/system/EventFD.hxx
+1
-1
EventPipe.cxx
src/system/EventPipe.cxx
+1
-1
SignalFD.hxx
src/system/SignalFD.hxx
+1
-1
meson.build
src/system/meson.build
+1
-2
run_filter.cxx
test/run_filter.cxx
+1
-1
No files found.
meson.build
View file @
9815d101
...
...
@@ -331,6 +331,7 @@ endif
subdir('src/util')
subdir('src/time')
subdir('src/io')
subdir('src/system')
subdir('src/thread')
subdir('src/net')
...
...
src/db/update/InotifySource.cxx
View file @
9815d101
...
...
@@ -19,7 +19,7 @@
#include "InotifySource.hxx"
#include "InotifyDomain.hxx"
#include "
system
/FileDescriptor.hxx"
#include "
io
/FileDescriptor.hxx"
#include "system/FatalError.hxx"
#include "system/Error.hxx"
#include "Log.hxx"
...
...
src/fs/FileSystem.hxx
View file @
9815d101
...
...
@@ -21,7 +21,7 @@
#define MPD_FS_FILESYSTEM_HXX
#include "Path.hxx"
#include "
system
/UniqueFileDescriptor.hxx"
#include "
io
/UniqueFileDescriptor.hxx"
#ifdef _WIN32
#include <fileapi.h>
...
...
src/fs/io/FileOutputStream.hxx
View file @
9815d101
...
...
@@ -35,7 +35,7 @@
#include "util/Compiler.h"
#ifndef _WIN32
#include "
system
/FileDescriptor.hxx"
#include "
io
/FileDescriptor.hxx"
#endif
#include <cassert>
...
...
src/fs/io/FileReader.cxx
View file @
9815d101
...
...
@@ -30,7 +30,7 @@
#include "FileReader.hxx"
#include "fs/FileInfo.hxx"
#include "system/Error.hxx"
#include "
system
/Open.hxx"
#include "
io
/Open.hxx"
#include <cassert>
...
...
src/fs/io/FileReader.hxx
View file @
9815d101
...
...
@@ -37,7 +37,7 @@
#ifdef _WIN32
#include <windows.h>
#else
#include "
system
/UniqueFileDescriptor.hxx"
#include "
io
/UniqueFileDescriptor.hxx"
#endif
class
Path
;
...
...
src/fs/meson.build
View file @
9815d101
...
...
@@ -48,6 +48,7 @@ fs = static_library(
fs_dep = declare_dependency(
link_with: fs,
dependencies: [
io_dep,
system_dep,
icu_dep,
shlwapi_dep,
...
...
src/input/plugins/FileInputPlugin.cxx
View file @
9815d101
...
...
@@ -22,7 +22,7 @@
#include "fs/Path.hxx"
#include "fs/FileInfo.hxx"
#include "fs/io/FileReader.hxx"
#include "
system
/FileDescriptor.hxx"
#include "
io
/FileDescriptor.hxx"
#include "util/RuntimeError.hxx"
#include <sys/stat.h>
...
...
src/
system
/FileDescriptor.cxx
→
src/
io
/FileDescriptor.cxx
View file @
9815d101
File moved
src/
system
/FileDescriptor.hxx
→
src/
io
/FileDescriptor.hxx
View file @
9815d101
File moved
src/
system
/Open.cxx
→
src/
io
/Open.cxx
View file @
9815d101
...
...
@@ -28,8 +28,8 @@
*/
#include "Open.hxx"
#include "Error.hxx"
#include "UniqueFileDescriptor.hxx"
#include "system/Error.hxx"
#include <fcntl.h>
...
...
src/
system
/Open.hxx
→
src/
io
/Open.hxx
View file @
9815d101
File moved
src/
system
/UniqueFileDescriptor.hxx
→
src/
io
/UniqueFileDescriptor.hxx
View file @
9815d101
File moved
src/io/meson.build
0 → 100644
View file @
9815d101
io = static_library(
'io',
'FileDescriptor.cxx',
'Open.cxx',
include_directories: inc,
)
io_dep = declare_dependency(
link_with: io,
)
src/mixer/plugins/OssMixerPlugin.cxx
View file @
9815d101
...
...
@@ -19,7 +19,7 @@
#include "mixer/MixerInternal.hxx"
#include "config/Block.hxx"
#include "
system
/FileDescriptor.hxx"
#include "
io
/FileDescriptor.hxx"
#include "system/Error.hxx"
#include "util/ASCII.hxx"
#include "util/Domain.hxx"
...
...
src/net/SocketDescriptor.hxx
View file @
9815d101
...
...
@@ -31,7 +31,7 @@
#define SOCKET_DESCRIPTOR_HXX
#include "Features.hxx"
#include "
system
/FileDescriptor.hxx"
#include "
io
/FileDescriptor.hxx"
#include <type_traits>
...
...
src/output/plugins/OssOutputPlugin.cxx
View file @
9815d101
...
...
@@ -20,7 +20,7 @@
#include "OssOutputPlugin.hxx"
#include "../OutputAPI.hxx"
#include "mixer/MixerList.hxx"
#include "
system
/UniqueFileDescriptor.hxx"
#include "
io
/UniqueFileDescriptor.hxx"
#include "system/Error.hxx"
#include "util/ConstBuffer.hxx"
#include "util/Domain.hxx"
...
...
src/output/plugins/SolarisOutputPlugin.cxx
View file @
9815d101
...
...
@@ -19,7 +19,7 @@
#include "SolarisOutputPlugin.hxx"
#include "../OutputAPI.hxx"
#include "
system
/FileDescriptor.hxx"
#include "
io
/FileDescriptor.hxx"
#include "system/Error.hxx"
#include <cerrno>
...
...
src/system/EpollFD.hxx
View file @
9815d101
/*
* Copyright 2013-20
19
Max Kellermann <max.kellermann@gmail.com>
* Copyright 2013-20
20
Max Kellermann <max.kellermann@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
...
...
@@ -30,7 +30,7 @@
#ifndef EPOLL_FD_HXX
#define EPOLL_FD_HXX
#include "UniqueFileDescriptor.hxx"
#include "
io/
UniqueFileDescriptor.hxx"
#include <cstdint>
...
...
src/system/EventFD.hxx
View file @
9815d101
...
...
@@ -30,7 +30,7 @@
#ifndef EVENT_FD_HXX
#define EVENT_FD_HXX
#include "UniqueFileDescriptor.hxx"
#include "
io/
UniqueFileDescriptor.hxx"
/**
* A class that wraps eventfd().
...
...
src/system/EventPipe.cxx
View file @
9815d101
...
...
@@ -18,7 +18,7 @@
*/
#include "EventPipe.hxx"
#include "FileDescriptor.hxx"
#include "
io/
FileDescriptor.hxx"
#include "system/Error.hxx"
#include "util/Compiler.h"
...
...
src/system/SignalFD.hxx
View file @
9815d101
...
...
@@ -30,7 +30,7 @@
#ifndef SIGNAL_FD_HXX
#define SIGNAL_FD_HXX
#include "UniqueFileDescriptor.hxx"
#include "
io/
UniqueFileDescriptor.hxx"
#include <csignal>
...
...
src/system/meson.build
View file @
9815d101
system_sources = [
'FatalError.cxx',
'FileDescriptor.cxx',
'Open.cxx',
'EventPipe.cxx',
'Clock.cxx',
]
...
...
@@ -29,6 +27,7 @@ endif
system_dep = declare_dependency(
link_with: system,
dependencies: [
io_dep,
winsock_dep,
],
)
test/run_filter.cxx
View file @
9815d101
...
...
@@ -28,7 +28,7 @@
#include "pcm/Volume.hxx"
#include "mixer/MixerControl.hxx"
#include "system/Error.hxx"
#include "
system
/FileDescriptor.hxx"
#include "
io
/FileDescriptor.hxx"
#include "util/ConstBuffer.hxx"
#include "util/StringBuffer.hxx"
#include "util/RuntimeError.hxx"
...
...
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