mpd/src
Eric Wong 99468b85ed networking: more assertions and cleanups to size_t/unsigned changes
Basically, I don't trust myself nor Max to not have bugs in our
code when switching over to unsigned types, so I've added more
assertions which will hopefully trip and force us to fix these
bugs before somebody can exploit them :)

Some cleanups for parameter parsing using strtol
and error reporting to the user.  Also, fix some completely
garbled indentation in inputStream_http.c

git-svn-id: https://svn.musicpd.org/mpd/trunk@7209 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-03-26 10:38:26 +00:00
..
audioOutputs eliminated duplicate initialization 2008-03-26 10:37:36 +00:00
inputPlugins audiofile_plugin: fix nasty long lines introduced in previous commit 2008-03-26 10:38:17 +00:00
mp4ff fixed invalid C prototypes 2008-01-26 12:46:09 +00:00
ack.h The massive copyright update 2007-04-05 03:22:33 +00:00
audio.c audio.c: unsigned int functions return unsigned ints, not size_t 2008-03-26 10:38:21 +00:00
audio.h audio: use a machine word for array sizes 2008-03-26 10:37:54 +00:00
audioOutput.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
audioOutput.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
buffer2array.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
buffer2array.h The massive copyright update 2007-04-05 03:22:33 +00:00
charConv.c fix "unreachable code" warning 2008-03-26 10:37:23 +00:00
charConv.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
command.c eliminated duplicate initialization 2008-03-26 10:37:36 +00:00
command.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
compress.c compress.c: fix skips/distortion introduced in r7146 2008-02-05 10:17:45 +00:00
compress.h fixed "comparison between signed and unsigned" 2008-01-26 12:46:37 +00:00
conf.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
conf.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
dbUtils.c eliminated duplicate initialization 2008-03-26 10:37:36 +00:00
dbUtils.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
decode.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
decode.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
directory.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
directory.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
gcc.h gcc.h: fix compilation with !(gcc >= 3) 2008-01-27 23:10:41 +00:00
inputPlugin.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
inputPlugin.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
inputStream_file.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
inputStream_file.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream_http.c networking: more assertions and cleanups to size_t/unsigned changes 2008-03-26 10:38:26 +00:00
inputStream_http.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
inputStream.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
interface.c networking: more assertions and cleanups to size_t/unsigned changes 2008-03-26 10:38:26 +00:00
interface.h use size_t 2008-03-26 10:38:07 +00:00
ioops.c ioops: make this zero-impact when compiling w/o zeroconf as well 2008-01-03 10:03:34 +00:00
ioops.h ioops: make this zero-impact when compiling w/o zeroconf as well 2008-01-03 10:03:34 +00:00
list.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
list.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
listen.c listen.c: fix shadow warning here 2008-02-05 10:20:46 +00:00
listen.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
locate.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
locate.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
log.c zero is a valid file descriptor 2008-03-26 10:37:06 +00:00
log.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
ls.c use size_t 2008-03-26 10:38:07 +00:00
ls.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
main.c moved handlePendingSignals() check into while() condition 2008-03-26 10:37:02 +00:00
Makefile.am Cleanup checking for tests in src/ when building in separate dir 2008-01-26 12:46:41 +00:00
metadataChunk.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
metadataChunk.h The massive copyright update 2007-04-05 03:22:33 +00:00
mpd_types.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
myfprintf.c use size_t 2008-03-26 10:38:07 +00:00
myfprintf.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
normalize.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
normalize.h The massive copyright update 2007-04-05 03:22:33 +00:00
os_compat.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
outputBuffer.c moved code to initOutputBuffer() 2008-03-26 10:38:12 +00:00
outputBuffer.h moved code to initOutputBuffer() 2008-03-26 10:38:12 +00:00
path.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
path.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
pcm_utils.c use size_t 2008-03-26 10:38:07 +00:00
pcm_utils.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
permission.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
permission.h The massive copyright update 2007-04-05 03:22:33 +00:00
player.c player: more assertions 2008-03-26 10:37:58 +00:00
player.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
playerData.c moved code to initOutputBuffer() 2008-03-26 10:38:12 +00:00
playerData.h The massive copyright update 2007-04-05 03:22:33 +00:00
playlist.c fix strtok() related segmentation fault 2008-03-26 10:37:40 +00:00
playlist.h Revert the queue implementation and commands 2008-01-26 20:21:07 +00:00
replayGain.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
replayGain.h The massive copyright update 2007-04-05 03:22:33 +00:00
sig_handlers.c fixed -Wshadow warnings 2008-01-26 12:46:21 +00:00
sig_handlers.h The massive copyright update 2007-04-05 03:22:33 +00:00
signal_check.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
signal_check.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
sllist.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
sllist.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
song.c fix segmentation fault in song info parser 2008-03-26 10:37:44 +00:00
song.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
state_file.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
state_file.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
stats.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
stats.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
storedPlaylist.c storedPlaylist: faster, but less accurate check for maximum sizes 2008-01-29 09:26:39 +00:00
storedPlaylist.h storedPlaylist: remove the needless StoredPlaylist struct and just use List 2008-01-01 10:09:36 +00:00
tag.c use size_t 2008-03-26 10:38:07 +00:00
tag.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
tagTracker.c fix -Waggregate-return 2008-01-26 12:46:30 +00:00
tagTracker.h fixed invalid C prototypes 2008-01-26 12:46:09 +00:00
timer.c fixed -Wshadow warnings 2008-01-26 12:46:21 +00:00
timer.h Redoing remiss's shout patch. This time, just block on open() instead of 2007-06-12 17:58:17 +00:00
tree.c fix -Waggregate-return 2008-01-26 12:46:30 +00:00
tree.h fix -Waggregate-return 2008-01-26 12:46:30 +00:00
utf8.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
utf8.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
utils.c fix "unreachable code" warning 2008-03-26 10:37:23 +00:00
utils.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
volume.c fix "unreachable code" warning 2008-03-26 10:37:23 +00:00
volume.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
zeroconf.c zeroconf: reformat (with mpd-indent.sh + manual tweaks) 2008-01-03 10:03:28 +00:00
zeroconf.h zeroconf: reformat (with mpd-indent.sh + manual tweaks) 2008-01-03 10:03:28 +00:00