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
9aeed069
Commit
9aeed069
authored
May 20, 2010
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: enable binary mode on stdin/stdout
Declaring the global variable _CRT_fmode is a documented hack. What an ugly platform!
parent
eda46bc0
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
37 additions
and
0 deletions
+37
-0
run_convert.c
test/run_convert.c
+1
-0
run_decoder.c
test/run_decoder.c
+1
-0
run_encoder.c
test/run_encoder.c
+1
-0
run_filter.c
test/run_filter.c
+1
-0
run_input.c
test/run_input.c
+1
-0
run_normalize.c
test/run_normalize.c
+1
-0
run_output.c
test/run_output.c
+1
-0
software_volume.c
test/software_volume.c
+1
-0
stdbin.h
test/stdbin.h
+29
-0
No files found.
test/run_convert.c
View file @
9aeed069
...
...
@@ -29,6 +29,7 @@
#include "pcm_convert.h"
#include "conf.h"
#include "fifo_buffer.h"
#include "stdbin.h"
#include <glib.h>
...
...
test/run_decoder.c
View file @
9aeed069
...
...
@@ -25,6 +25,7 @@
#include "audio_format.h"
#include "pcm_volume.h"
#include "idle.h"
#include "stdbin.h"
#include <glib.h>
...
...
test/run_encoder.c
View file @
9aeed069
...
...
@@ -23,6 +23,7 @@
#include "audio_format.h"
#include "audio_parser.h"
#include "conf.h"
#include "stdbin.h"
#include <glib.h>
...
...
test/run_filter.c
View file @
9aeed069
...
...
@@ -26,6 +26,7 @@
#include "idle.h"
#include "mixer_control.h"
#include "playlist.h"
#include "stdbin.h"
#include <glib.h>
...
...
test/run_input.c
View file @
9aeed069
...
...
@@ -23,6 +23,7 @@
#include "tag_pool.h"
#include "tag_save.h"
#include "conf.h"
#include "stdbin.h"
#ifdef ENABLE_ARCHIVE
#include "archive_list.h"
...
...
test/run_normalize.c
View file @
9aeed069
...
...
@@ -27,6 +27,7 @@
#include "AudioCompress/compress.h"
#include "audio_parser.h"
#include "audio_format.h"
#include "stdbin.h"
#include <glib.h>
...
...
test/run_output.c
View file @
9aeed069
...
...
@@ -28,6 +28,7 @@
#include "event_pipe.h"
#include "idle.h"
#include "playlist.h"
#include "stdbin.h"
#include <glib.h>
...
...
test/software_volume.c
View file @
9aeed069
...
...
@@ -27,6 +27,7 @@
#include "pcm_volume.h"
#include "audio_parser.h"
#include "audio_format.h"
#include "stdbin.h"
#include <glib.h>
...
...
test/stdbin.h
0 → 100644
View file @
9aeed069
/*
* Copyright (C) 2003-2010 The Music Player Daemon Project
* http://www.musicpd.org
*
* 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.
*/
#ifndef MPD_STDBIN_H
#define MPD_STDBIN_H
#ifdef WIN32
#include <fcntl.h>
/** set binary mode on stdin/stdout */
int
_CRT_fmode
=
_O_BINARY
;
#endif
#endif
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