- the new parser-friendly listing mode for the ls and stat commands
- mandatory rc4 encryption
- major audio format handler cleanups
- - improved tag handling
- - lots of new mood methods
+ - (id3,...) tags are no longer stored as a combined string in the database
+ - new mood methods: artist_matches, title_matches, comment_matches,
+ album_matches, year_maches, year.
-------------------------------------------------
0.3.5 (to be announced) "symplectic separability"
H: -l Set lastplayed time. The last time this audio file was selected.
H: Must be given as the number of seconds since the epoch. Example:
H:
-H: touch -l $(date +%s) file
+H: touch -l=$(date +%s) file
H:
H: sets the lastplayed time of 'file' to the current time.
H:
}
/**
- * Supress log messages with severity lower than the given loglevel.
+ * Suppress log messages with severity lower than the given loglevel.
*
* \param loglevel The smallest level that should be logged.
*/
goto err;
if (chdir("/") < 0)
goto err;
- umask(0);
null = open("/dev/null", O_RDONLY);
if (null < 0)
goto err;
* set_or_get equal to \p UPTIME_GET return the uptime.
* \return Zero if called with \a set_or_get equal to \p UPTIME_SET, the number
- * of seconds ellapsed since the last reset otherwise.
+ * of seconds elapsed since the last reset otherwise.
*
* \sa time(2), difftime(3).
*/
num = 0;
}
/* replace newlines by spaces */
- for (i = 0; i < len; i++) {
+ for (i = 0; i < len && str[i]; i++) {
if (str[i] == '\n')
str[i] = ' ';
}