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
dc4fba44
Commit
dc4fba44
authored
Nov 10, 2008
by
Led
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.8.5
parent
674b0ac3
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
69 additions
and
36 deletions
+69
-36
ChangeLog
ChangeLog
+4
-0
config.guess
config.guess
+20
-4
config.sub
config.sub
+27
-14
configure
configure
+7
-7
configure.in
configure.in
+1
-1
configure
libid3tag/configure
+3
-3
configure
libmad/configure
+6
-6
player.c
player.c
+1
-1
No files found.
ChangeLog
View file @
dc4fba44
ver 0.8.5 (2003/8/17)
1) Fix a bug where an extra end of line is returned when attempting to play a
non existing file. This causes parsing errors for clients.
ver 0.8.4 (2003/8/13)
1) Fix a bug where garbage is returned with errors in "list" command
...
...
config.guess
View file @
dc4fba44
...
...
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp
=
'2003-0
5-19
'
timestamp
=
'2003-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
...
...
@@ -106,6 +106,7 @@ trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
: ${TMPDIR=/tmp} ;
{ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
dummy=$tmp/dummy ;
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
...
...
@@ -282,6 +283,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# 1.2 uses "1.2" for uname -r.
echo
${
UNAME_MACHINE
}
-dec-osf
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/^[VTX]//'
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
`
exit
0
;;
Alpha
*
:OpenVMS:
*
:
*
)
echo
alpha-hp-vms
exit
0
;;
Alpha
\
*
:Windows_NT
*
:
*
)
# How do we know it's Interix rather than the generic POSIX subsystem?
# Should we change UNAME_MACHINE based on the output of uname instead
...
...
@@ -320,6 +324,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
NILE
*
:
*
:
*
:dcosx
)
echo
pyramid-pyramid-svr4
exit
0
;;
DRS?6000:unix:4.0:6
*
)
echo
sparc-icl-nx6
exit
0
;;
DRS?6000:UNIX_SV:4.2
*
:7
*
)
case
`
/usr/bin/uname
-p
`
in
sparc
)
echo
sparc-icl-nx7
&&
exit
0
;;
...
...
@@ -756,7 +763,10 @@ EOF
#endif
EOF
eval
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
grep
^LIBC
=
`
echo
${
UNAME_MACHINE
}
-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
${
LIBC
:+-
$LIBC
}
# GNU/FreeBSD systems have a "k" prefix to indicate we are using
# FreeBSD's kernel, but not the complete OS.
case
${
LIBC
}
in
gnu
)
kernel_only
=
'k'
;;
esac
echo
${
UNAME_MACHINE
}
-unknown-
${
kernel_only
}
freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
${
LIBC
:+-
$LIBC
}
exit
0
;;
i
*
:CYGWIN
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-cygwin
...
...
@@ -767,8 +777,8 @@ EOF
i
*
:PW
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-pw32
exit
0
;;
x86:Interix
*
:
3
*
)
echo
i586-pc-interix
3
x86:Interix
*
:
[34]
*
)
echo
i586-pc-interix
${
UNAME_RELEASE
}
|sed
-e
's/\..*//'
exit
0
;;
[
345]86:Windows_95:
*
|
[
345]86:Windows_98:
*
|
[
345]86:Windows_NT:
*
)
echo
i
${
UNAME_MACHINE
}
-pc-mks
...
...
@@ -878,6 +888,9 @@ EOF
s390:Linux:
*
:
*
|
s390x:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-ibm-linux
exit
0
;;
sh64
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
0
;;
sh
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
0
;;
...
...
@@ -1192,6 +1205,9 @@ EOF
*
:ITS:
*
:
*
)
echo
pdp10-unknown-its
exit
0
;;
SEI:
*
:
*
:SEIUX
)
echo
mips-sei-seiux
${
UNAME_RELEASE
}
exit
0
;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
...
...
config.sub
View file @
dc4fba44
...
...
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp
=
'2003-0
5-09
'
timestamp
=
'2003-0
7-17
'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
...
...
@@ -118,7 +118,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'
`
case
$maybe_os
in
nto-qnx
*
|
linux-gnu
*
|
freebsd
*
-gnu
*
|
netbsd
*
-gnu
*
|
storm-chaos
*
|
os2-emx
*
|
rtmk-nova
*
)
nto-qnx
*
|
linux-gnu
*
|
k
freebsd
*
-gnu
*
|
netbsd
*
-gnu
*
|
storm-chaos
*
|
os2-emx
*
|
rtmk-nova
*
)
os
=
-
$maybe_os
basic_machine
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'
`
;;
...
...
@@ -228,13 +228,14 @@ case $basic_machine in
|
a29k
\
|
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
\
|
clipper
\
|
c
4x
|
c
lipper
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
\
|
fr30
|
frv
\
|
h8300
|
h8500
|
hppa
|
hppa1.[01]
|
hppa2.0
|
hppa2.0[nw]
|
hppa64
\
|
i370
|
i860
|
i960
|
ia64
\
|
ip2k
\
|
ip2k
|
iq2000
\
|
m32r
|
m68000
|
m68k
|
m88k
|
mcore
\
|
mips
|
mipsbe
|
mipseb
|
mipsel
|
mipsle
\
|
mips16
\
...
...
@@ -261,7 +262,7 @@ case $basic_machine in
|
sh64
|
sh64le
\
|
sparc
|
sparc64
|
sparc86x
|
sparclet
|
sparclite
|
sparcv9
|
sparcv9b
\
|
strongarm
\
|
tahoe
|
thumb
|
tic80
|
tron
\
|
tahoe
|
thumb
|
tic
4x
|
tic
80
|
tron
\
|
v850
|
v850e
\
|
we32k
\
|
x86
|
xscale
|
xstormy16
|
xtensa
\
...
...
@@ -304,7 +305,7 @@ case $basic_machine in
|
h8300-
*
|
h8500-
*
\
|
hppa-
*
|
hppa1.[01]-
*
|
hppa2.0-
*
|
hppa2.0[nw]-
*
|
hppa64-
*
\
|
i
*
86-
*
|
i860-
*
|
i960-
*
|
ia64-
*
\
|
ip2k-
*
\
|
ip2k-
*
|
iq2000-
*
\
|
m32r-
*
\
|
m68000-
*
|
m680[012346]0-
*
|
m68360-
*
|
m683?2-
*
|
m68k-
*
\
|
m88110-
*
|
m88k-
*
|
mcore-
*
\
...
...
@@ -771,18 +772,24 @@ case $basic_machine in
pentiumpro
|
p6
|
6x86
|
athlon
|
athlon_
*
)
basic_machine
=
i686-pc
;;
pentiumii
|
pentium2
)
pentiumii
|
pentium2
|
pentiumiii
|
pentium3
)
basic_machine
=
i686-pc
;;
pentium4
)
basic_machine
=
i786-pc
;;
pentium-
*
|
p5-
*
|
k5-
*
|
k6-
*
|
nexgen-
*
|
viac3-
*
)
basic_machine
=
i586-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
pentiumpro-
*
|
p6-
*
|
6x86-
*
|
athlon-
*
)
basic_machine
=
i686-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
pentiumii-
*
|
pentium2-
*
)
pentiumii-
*
|
pentium2-
*
|
pentiumiii-
*
|
pentium3-
*
)
basic_machine
=
i686-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
pentium4-
*
)
basic_machine
=
i786-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
pn
)
basic_machine
=
pn-gould
;;
...
...
@@ -841,6 +848,10 @@ case $basic_machine in
sb1el
)
basic_machine
=
mipsisa64sb1el-unknown
;;
sei
)
basic_machine
=
mips-sei
os
=
-seiux
;;
sequent
)
basic_machine
=
i386-sequent
;;
...
...
@@ -848,6 +859,9 @@ case $basic_machine in
basic_machine
=
sh-hitachi
os
=
-hms
;;
sh64
)
basic_machine
=
sh64-unknown
;;
sparclite-wrs
|
simso-wrs
)
basic_machine
=
sparclite-wrs
os
=
-vxworks
...
...
@@ -922,10 +936,6 @@ case $basic_machine in
basic_machine
=
t90-cray
os
=
-unicos
;;
tic4x
|
c4x
*
)
basic_machine
=
tic4x-unknown
os
=
-coff
;;
tic54x
|
c54x
*
)
basic_machine
=
tic54x-unknown
os
=
-coff
...
...
@@ -1119,7 +1129,7 @@ case $os in
|
-aos
*
\
|
-nindy
*
|
-vxsim
*
|
-vxworks
*
|
-ebmon
*
|
-hms
*
|
-mvs
*
\
|
-clix
*
|
-riscos
*
|
-uniplus
*
|
-iris
*
|
-rtu
*
|
-xenix
*
\
|
-hiux
*
|
-386bsd
*
|
-netbsd
*
|
-openbsd
*
|
-freebsd
*
|
-riscix
*
\
|
-hiux
*
|
-386bsd
*
|
-netbsd
*
|
-openbsd
*
|
-
kfreebsd
*
|
-
freebsd
*
|
-riscix
*
\
|
-lynxos
*
|
-bosx
*
|
-nextstep
*
|
-cxux
*
|
-aout
*
|
-elf
*
|
-oabi
*
\
|
-ptx
*
|
-coff
*
|
-ecoff
*
|
-winnt
*
|
-domain
*
|
-vsta
*
\
|
-udi
*
|
-eabi
*
|
-lites
*
|
-ieee
*
|
-go32
*
|
-aux
*
\
...
...
@@ -1131,7 +1141,7 @@ case $os in
|
-storm-chaos
*
|
-tops10
*
|
-tenex
*
|
-tops20
*
|
-its
*
\
|
-os2
*
|
-vos
*
|
-palmos
*
|
-uclinux
*
|
-nucleus
*
\
|
-morphos
*
|
-superux
*
|
-rtmk
*
|
-rtmk-nova
*
|
-windiss
*
\
|
-powermax
*
|
-dnix
*
)
|
-powermax
*
|
-dnix
*
|
-nx6
|
-nx7
|
-sei
*
)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx
*
)
...
...
@@ -1277,6 +1287,9 @@ case $basic_machine in
arm
*
-semi
)
os
=
-aout
;;
c4x-
*
|
tic4x-
*
)
os
=
-coff
;;
# This must come before the *-dec entry.
pdp10-
*
)
os
=
-tops20
...
...
configure
View file @
dc4fba44
...
...
@@ -1308,7 +1308,7 @@ _ASBOX
echo "$as_me: caught signal $ac_signal"
echo "$as_me: exit $exit_status"
} >&5
rm -f core
core.*
*.core &&
rm -f core *.core &&
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
exit $exit_status
'
0
...
...
@@ -1713,7 +1713,7 @@ fi
# Define the identity of the package.
PACKAGE
=
mpd
VERSION
=
0.8.
4
VERSION
=
0.8.
5
cat
>>
confdefs.h
<<
_ACEOF
...
...
@@ -4091,7 +4091,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
(
exit
$ac_status
)
ac_cv_header_stdc
=
no
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
fi
fi
...
...
@@ -8142,7 +8142,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
(
exit
$ac_status
)
no_ao
=
yes
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
CFLAGS
=
"
$ac_save_CFLAGS
"
LIBS
=
"
$ac_save_LIBS
"
...
...
@@ -8629,7 +8629,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
(
exit
$ac_status
)
no_ogg
=
yes
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
CFLAGS
=
"
$ac_save_CFLAGS
"
LIBS
=
"
$ac_save_LIBS
"
...
...
@@ -8830,7 +8830,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
(
exit
$ac_status
)
no_vorbis
=
yes
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
CFLAGS
=
"
$ac_save_CFLAGS
"
LIBS
=
"
$ac_save_LIBS
"
...
...
@@ -9029,7 +9029,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
(
exit
$ac_status
)
no_libFLAC
=
yes
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
CFLAGS
=
"
$ac_save_CFLAGS
"
LIBS
=
"
$ac_save_LIBS
"
...
...
configure.in
View file @
dc4fba44
AC_INIT(main.c)
AM_INIT_AUTOMAKE(mpd, 0.8.
4
)
AM_INIT_AUTOMAKE(mpd, 0.8.
5
)
AC_PROG_CC
AC_PROG_INSTALL
...
...
libid3tag/configure
View file @
dc4fba44
...
...
@@ -1295,7 +1295,7 @@ _ASBOX
echo "$as_me: caught signal $ac_signal"
echo "$as_me: exit $exit_status"
} >&5
rm -f core
core.*
*.core &&
rm -f core *.core &&
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
exit $exit_status
'
0
...
...
@@ -4039,7 +4039,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
(
exit
$ac_status
)
ac_cv_header_stdc
=
no
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
fi
fi
...
...
@@ -7978,7 +7978,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
(
exit
$ac_status
)
ac_cv_header_stdc
=
no
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
fi
fi
...
...
libmad/configure
View file @
dc4fba44
...
...
@@ -1303,7 +1303,7 @@ _ASBOX
echo "$as_me: caught signal $ac_signal"
echo "$as_me: exit $exit_status"
} >&5
rm -f core
core.*
*.core &&
rm -f core *.core &&
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
exit $exit_status
'
0
...
...
@@ -4054,7 +4054,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
(
exit
$ac_status
)
ac_cv_header_stdc
=
no
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
fi
fi
...
...
@@ -8083,7 +8083,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
(
exit
$ac_status
)
ac_cv_header_stdc
=
no
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
fi
fi
...
...
@@ -8868,7 +8868,7 @@ echo "$as_me: error: cannot compute sizeof (int), 77
See
\`
config.log' for more details."
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
fi
rm
-f
conftest.val
...
...
@@ -9229,7 +9229,7 @@ echo "$as_me: error: cannot compute sizeof (long), 77
See
\`
config.log' for more details."
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
fi
rm
-f
conftest.val
...
...
@@ -9590,7 +9590,7 @@ echo "$as_me: error: cannot compute sizeof (long long), 77
See
\`
config.log' for more details."
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
rm
-f
core
core.
*
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
core
*
.core gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
fi
rm
-f
conftest.val
...
...
player.c
View file @
dc4fba44
...
...
@@ -195,7 +195,7 @@ int playerPlay(FILE * fp, char * file) {
else
if
(
isFlac
(
file
))
playerType
=
PLAYER_TYPE_FLAC
;
#endif
else
{
snprintf
(
player_error
,
sizeof
(
player_error
),
"
\"
%s
\"
is not a file or unknown file type
\n
"
,
file
);
snprintf
(
player_error
,
sizeof
(
player_error
),
"
\"
%s
\"
is not a file or unknown file type"
,
file
);
return
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