Changeset 35e982dd4bbae7e3b882e87ee0c61188eb7c5f04
- Timestamp:
- 04/07/06 23:45:01
(2 years ago)
- Author:
- Christophe Mutricy <xtophe@videolan.org>
- git-committer:
- Christophe Mutricy <xtophe@videolan.org> 1144446301 +0000
- git-parent:
[f84a3bf3cd31e9ed9b5b004c7a24d3e6cd13ce82]
- git-author:
- Christophe Mutricy <xtophe@videolan.org> 1144446301 +0000
- Message:
eliminate non-valid characters only on the name not on the full path (closes #628)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0af0de2 |
r35e982d |
|
| 397 | 397 | psz_name = strdup( "Unknown" ); |
|---|
| 398 | 398 | |
|---|
| 399 | | asprintf( &p_sys->psz_file, "%s/%s %d-%d-%d %.2dh%.2dm%.2ds.%s", |
|---|
| 400 | | p_sys->psz_path, psz_name, |
|---|
| | 399 | asprintf( &p_sys->psz_file, "%s %d-%d-%d %.2dh%.2dm%.2ds.%s", |
|---|
| | 400 | psz_name, |
|---|
| 401 | 401 | l.tm_mday, l.tm_mon+1, l.tm_year+1900, |
|---|
| 402 | 402 | l.tm_hour, l.tm_min, l.tm_sec, |
|---|
| … | … | |
| 422 | 422 | } |
|---|
| 423 | 423 | |
|---|
| | 424 | psz_name=strdup(p_sys->psz_file); |
|---|
| | 425 | |
|---|
| | 426 | #if defined (WIN32) || defined (UNDER_CE) |
|---|
| | 427 | #define DIR_SEP "\\" |
|---|
| | 428 | #else |
|---|
| | 429 | #define DIR_SEP "/" |
|---|
| | 430 | #endif |
|---|
| | 431 | asprintf(&p_sys->psz_file, "%s" DIR_SEP "%s", |
|---|
| | 432 | p_sys->psz_path, psz_name); |
|---|
| | 433 | free(psz_name); |
|---|
| | 434 | |
|---|
| 424 | 435 | msg_Dbg( p_access, "dump in file '%s'", p_sys->psz_file ); |
|---|
| 425 | 436 | |
|---|