- 03 Jan, 2009 23 commits
-
-
Max Kellermann authored
Don't use libc's rand() function, because it is slow. Our own trivial linear congruential generator is good enough for dithering.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The length of GREETING is known at compile time, don't use strlen().
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
WIN32 has no getaddrinfo(). Fall back to gethostbyname().
-
Max Kellermann authored
Windows has no pipe(), it only has _pipe() with two additional parameters.
-
Max Kellermann authored
All socket functions are provided by ws2_32.dll.
-
Max Kellermann authored
g_strsplit() is more portable than strtok_r().
-
Max Kellermann authored
g_strsplit() is more portable than strtok_r().
-
Max Kellermann authored
Use strchr()/g_strndup() to extract the password.
-
Max Kellermann authored
-
Max Kellermann authored
WIN32 does have some kind of symbolic links (e.g. in NTFS), but the readlink() function is not available. Disable symlink checking for now.
-
Max Kellermann authored
-
Max Kellermann authored
WIN32 doesn't have POSIX signals. Disable the code. For a complete port, we will have to implement the WIN32 equivalent.
-
Max Kellermann authored
Due to a typo, adding local files was always denied. Disable the second playlist_append_file() invocation on WIN32.
-
- 02 Jan, 2009 17 commits
-
-
Max Kellermann authored
It's been superseded by GLib's GSList.
-
Max Kellermann authored
Use GLib's singly-linked list library instead of our custom one.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
JACK documentation states: "The caller is responsible for calling free(3) any non-NULL returned value." This does not seem to include the array elements. Duplicate them after jack_get_ports(), and free only the array. Convert JackData.output_ports to non-const.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
There is only one location using PIPE_EVENT_SIGNAL: to synchronize player_command() with player_command_finished(). Use the "notify" library instead of the event_pipe here.
-
Max Kellermann authored
Don't use fixed stack buffers.
-
Max Kellermann authored
Don't use fixed stack buffers.
-
Max Kellermann authored
If we want to check whether a file is a directory, use GLib's g_file_test() instead of stat().
-
Max Kellermann authored
Use G_GNUC_UNUSED instead of mpd_unused (which has already been removed).
-