Limiting the length of the recording name in timers in case VDR is run with --vfat (replaces the previous change to svdrp.c)

This commit is contained in:
Klaus Schmidinger
2008-02-15 15:46:07 +01:00
parent 9495aa9923
commit a81e3699d1
3 changed files with 20 additions and 28 deletions

View File

@@ -5613,9 +5613,9 @@ Video Disk Recorder Revision History
- Fixed detecting directories in cFileNameList::Load().
- Running the thread that removes deleted recordings at a low priority to (maybe)
avoid stuttering replay in case the thread is run during replay.
- Limiting the length of the recording name in timers created via SVDRP in case VDR
is run with --vfat, in order to avoid names that are too long for Windows
(suggested by Rolf Ahrenberg).
- Limiting the length of the recording name in timers in case VDR is run with
--vfat, in order to avoid names that are too long for Windows (suggested by Rolf
Ahrenberg).
- Using cString::sprintf() instead of asprintf() (thanks to Wolfgang Rohdewald
for pointing out a possible problem if the return value is not checked).
Plugin authors may want to consider doing the same. For convenience there is now