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
ffeacd4b
Commit
ffeacd4b
authored
Nov 10, 2008
by
Led
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.12.2
parent
134a9ab3
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
38 additions
and
33 deletions
+38
-33
ChangeLog
ChangeLog
+3
-0
config.guess
config.guess
+11
-9
config.h.in
config.h.in
+4
-4
config.sub
config.sub
+16
-17
configure
configure
+0
-0
configure.ac
configure.ac
+3
-3
interface.c
src/interface.c
+1
-0
No files found.
ChangeLog
View file @
ffeacd4b
ver 0.12.2 (2007/3/20)
* Fix a bug where clients could cause MPD to segfault
ver 0.12.1 (2006/10/10)
* Fix segfault when scanning an MP3 that has a Xing tag with 0 frames
* Fix segfault when there's no audio output specified and one can't be detected
...
...
config.guess
View file @
ffeacd4b
...
...
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp
=
'2006-0
2-27
'
timestamp
=
'2006-0
7-02
'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
...
...
@@ -228,7 +228,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
echo
${
UNAME_MACHINE
}
-unknown-solidbsd
${
UNAME_RELEASE
}
exit
;;
macppc:MirBSD:
*
:
*
)
echo
powerp
p
c-unknown-mirbsd
${
UNAME_RELEASE
}
echo
powerpc-unknown-mirbsd
${
UNAME_RELEASE
}
exit
;;
*
:MirBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-mirbsd
${
UNAME_RELEASE
}
...
...
@@ -788,6 +788,8 @@ EOF
case
${
UNAME_MACHINE
}
in
pc98
)
echo
i386-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
amd64
)
echo
x86_64-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
*
)
echo
${
UNAME_MACHINE
}
-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
;;
esac
...
...
@@ -798,9 +800,6 @@ EOF
i
*
:MINGW
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-mingw32
exit
;;
i
*
:MSYS_NT-
*
:
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-mingw32
exit
;;
i
*
:windows32
*
:
*
)
# uname -m includes "-pc" on this system.
echo
${
UNAME_MACHINE
}
-mingw32
...
...
@@ -808,10 +807,10 @@ EOF
i
*
:PW
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-pw32
exit
;;
x86:Interix
*
:[345]
*
)
x86:Interix
*
:[345
6
]
*
)
echo
i586-pc-interix
${
UNAME_RELEASE
}
exit
;;
EM64T:Interix
*
:[345]
*
)
EM64T:Interix
*
:[345
6
]
*
)
echo
x86_64-unknown-interix
${
UNAME_RELEASE
}
exit
;;
[
345]86:Windows_95:
*
|
[
345]86:Windows_98:
*
|
[
345]86:Windows_NT:
*
)
...
...
@@ -849,6 +848,9 @@ EOF
arm
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
avr32
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
cris:Linux:
*
:
*
)
echo
cris-axis-linux-
${
LIBC
}
exit
;;
...
...
@@ -951,7 +953,7 @@ EOF
echo
${
UNAME_MACHINE
}
-ibm-linux
exit
;;
sh64
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
exit
;;
sh
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-
${
LIBC
}
...
...
@@ -1009,7 +1011,7 @@ EOF
LIBC=gnulibc1
# endif
#else
#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__
sun
)
#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__
SUNPRO_C) || defined(__SUNPRO_CC
)
LIBC=gnu
#else
LIBC=gnuaout
...
...
config.h.in
View file @
ffeacd4b
...
...
@@ -157,16 +157,16 @@
/* The mpd protocol version */
#undef PROTOCOL_VERSION
/* The size of
a
`int', as computed by sizeof. */
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
/* The size of
a
`long', as computed by sizeof. */
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* The size of
a
`long long', as computed by sizeof. */
/* The size of `long long', as computed by sizeof. */
#undef SIZEOF_LONG_LONG
/* The size of
a
`short', as computed by sizeof. */
/* The size of `short', as computed by sizeof. */
#undef SIZEOF_SHORT
/* Define to 1 if you have the ANSI C header files. */
...
...
config.sub
View file @
ffeacd4b
...
...
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp
=
'2006-0
2-27
'
timestamp
=
'2006-0
7-02
'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
...
...
@@ -241,7 +241,7 @@ case $basic_machine in
|
alpha
|
alphaev[4-8]
|
alphaev56
|
alphaev6[78]
|
alphapca5[67]
\
|
alpha64
|
alpha64ev[4-8]
|
alpha64ev56
|
alpha64ev6[78]
|
alpha64pca5[67]
\
|
am33_2.0
\
|
arc
|
arm
|
arm[bl]e
|
arme[lb]
|
armv[2345]
|
armv[345][lb]
|
avr
\
|
arc
|
arm
|
arm[bl]e
|
arme[lb]
|
armv[2345]
|
armv[345][lb]
|
avr
|
avr32
\
|
bfin
\
|
c4x
|
clipper
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
|
dvp
\
...
...
@@ -249,7 +249,8 @@ case $basic_machine in
|
h8300
|
h8500
|
hppa
|
hppa1.[01]
|
hppa2.0
|
hppa2.0[nw]
|
hppa64
\
|
i370
|
i860
|
i960
|
ia64
\
|
ip2k
|
iq2000
\
|
m32r
|
m32rle
|
m68000
|
m68k
|
m88k
|
maxq
|
mb
|
microblaze
|
mcore
\
|
m32c
|
m32r
|
m32rle
|
m68000
|
m68k
|
m88k
\
|
maxq
|
mb
|
microblaze
|
mcore
\
|
mips
|
mipsbe
|
mipseb
|
mipsel
|
mipsle
\
|
mips16
\
|
mips64
|
mips64el
\
...
...
@@ -275,11 +276,11 @@ case $basic_machine in
|
pdp10
|
pdp11
|
pj
|
pjl
\
|
powerpc
|
powerpc64
|
powerpc64le
|
powerpcle
|
ppcbe
\
|
pyramid
\
|
sh
|
sh[1234]
|
sh[24]a
|
sh[24]a
*
eb
|
sh[23]e
|
sh[34]eb
|
sh
be
|
sheb
|
shle
|
sh[1234]le
|
sh3ele
\
|
sh
|
sh[1234]
|
sh[24]a
|
sh[24]a
*
eb
|
sh[23]e
|
sh[34]eb
|
sh
eb
|
shbe
|
shle
|
sh[1234]le
|
sh3ele
\
|
sh64
|
sh64le
\
|
sparc
|
sparc64
|
sparc64b
|
sparc64v
|
sparc86x
|
sparclet
|
sparclite
\
|
sparcv8
|
sparcv9
|
sparcv9b
|
sparcv9v
\
|
strongarm
\
|
s
pu
|
s
trongarm
\
|
tahoe
|
thumb
|
tic4x
|
tic80
|
tron
\
|
v850
|
v850e
\
|
we32k
\
...
...
@@ -287,9 +288,6 @@ case $basic_machine in
|
z8k
)
basic_machine
=
$basic_machine
-unknown
;;
m32c
)
basic_machine
=
$basic_machine
-unknown
;;
m6811
|
m68hc11
|
m6812
|
m68hc12
)
# Motorola 68HC11/12.
basic_machine
=
$basic_machine
-unknown
...
...
@@ -319,7 +317,7 @@ case $basic_machine in
|
alpha64-
*
|
alpha64ev[4-8]-
*
|
alpha64ev56-
*
|
alpha64ev6[78]-
*
\
|
alphapca5[67]-
*
|
alpha64pca5[67]-
*
|
arc-
*
\
|
arm-
*
|
armbe-
*
|
armle-
*
|
armeb-
*
|
armv
*
-
*
\
|
avr-
*
\
|
avr-
*
|
avr32-
*
\
|
bfin-
*
|
bs2000-
*
\
|
c[123]
*
|
c30-
*
|
[
cjt]90-
*
|
c4x-
*
|
c54x-
*
|
c55x-
*
|
c6x-
*
\
|
clipper-
*
|
craynv-
*
|
cydra-
*
\
...
...
@@ -330,7 +328,7 @@ case $basic_machine in
|
hppa-
*
|
hppa1.[01]-
*
|
hppa2.0-
*
|
hppa2.0[nw]-
*
|
hppa64-
*
\
|
i
*
86-
*
|
i860-
*
|
i960-
*
|
ia64-
*
\
|
ip2k-
*
|
iq2000-
*
\
|
m32r-
*
|
m32rle-
*
\
|
m32
c-
*
|
m32
r-
*
|
m32rle-
*
\
|
m68000-
*
|
m680[012346]0-
*
|
m68360-
*
|
m683?2-
*
|
m68k-
*
\
|
m88110-
*
|
m88k-
*
|
maxq-
*
|
mcore-
*
\
|
mips-
*
|
mipsbe-
*
|
mipseb-
*
|
mipsel-
*
|
mipsle-
*
\
...
...
@@ -359,7 +357,7 @@ case $basic_machine in
|
powerpc-
*
|
powerpc64-
*
|
powerpc64le-
*
|
powerpcle-
*
|
ppcbe-
*
\
|
pyramid-
*
\
|
romp-
*
|
rs6000-
*
\
|
sh-
*
|
sh[1234]-
*
|
sh[24]a-
*
|
sh[24]a
*
eb-
*
|
sh[23]e-
*
|
sh[34]eb-
*
|
sh
be-
*
|
sheb
-
*
\
|
sh-
*
|
sh[1234]-
*
|
sh[24]a-
*
|
sh[24]a
*
eb-
*
|
sh[23]e-
*
|
sh[34]eb-
*
|
sh
eb-
*
|
shbe
-
*
\
|
shle-
*
|
sh[1234]le-
*
|
sh3ele-
*
|
sh64-
*
|
sh64le-
*
\
|
sparc-
*
|
sparc64-
*
|
sparc64b-
*
|
sparc64v-
*
|
sparc86x-
*
|
sparclet-
*
\
|
sparclite-
*
\
...
...
@@ -374,8 +372,6 @@ case $basic_machine in
|
ymp-
*
\
|
z8k-
*
)
;;
m32c-
*
)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
386bsd
)
...
...
@@ -1236,7 +1232,7 @@ case $os in
|
-os2
*
|
-vos
*
|
-palmos
*
|
-uclinux
*
|
-nucleus
*
\
|
-morphos
*
|
-superux
*
|
-rtmk
*
|
-rtmk-nova
*
|
-windiss
*
\
|
-powermax
*
|
-dnix
*
|
-nx6
|
-nx7
|
-sei
*
|
-dragonfly
*
\
|
-skyos
*
|
-haiku
*
|
-rdos
*
|
-irx
*
)
|
-skyos
*
|
-haiku
*
|
-rdos
*
|
-
toppers
*
|
-
irx
*
)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx
*
)
...
...
@@ -1388,6 +1384,9 @@ else
# system, and we'll never get to this point.
case
$basic_machine
in
spu-
*
)
os
=
-elf
;;
*
-acorn
)
os
=
-riscix1
.2
;;
...
...
@@ -1397,9 +1396,9 @@ case $basic_machine in
arm
*
-semi
)
os
=
-aout
;;
c4x-
*
|
tic4x-
*
)
os
=
-coff
;;
c4x-
*
|
tic4x-
*
)
os
=
-coff
;;
# This must come before the *-dec entry.
pdp10-
*
)
os
=
-tops20
...
...
configure
View file @
ffeacd4b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
configure.ac
View file @
ffeacd4b
dnl AC_INIT(src/main.c)
dnl AM_INIT_AUTOMAKE(mpd, 0.12.
1
)
dnl AM_INIT_AUTOMAKE(mpd, 0.12.
2
)
AC_PREREQ(2.58)
AC_INIT(mpd, 0.12.
1
, warren.dukes@gmail.com)
AC_INIT(mpd, 0.12.
2
, warren.dukes@gmail.com)
AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
AC_SUBST(MPD_LIBS)
...
...
@@ -16,7 +16,7 @@ AC_PROG_LIBTOOL
AC_PROG_MAKE_SET
AM_CONFIG_HEADER(config.h)
AC_DEFINE(PROTOCOL_VERSION, "0.12.
1
", [The mpd protocol version])
AC_DEFINE(PROTOCOL_VERSION, "0.12.
2
", [The mpd protocol version])
MPD_LIBS=""
MPD_CFLAGS=""
...
...
src/interface.c
View file @
ffeacd4b
...
...
@@ -394,6 +394,7 @@ static int processBytesRead(Interface * interface, int bytesRead)
return
1
;
}
if
(
interface
->
cmd_list_OK
>=
0
&&
interface
->
cmd_list
&&
!
interface
->
cmd_list_dup
)
cmd_list_clone
(
interface
);
interface
->
bufferLength
-=
interface
->
bufferPos
;
...
...
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