Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita712882

Browse files
author
Artur Zakirov
committed
canonicalize_path() within pgFileInit()
1 parentd042b8e commita712882

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/dir.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ pgFileInit(const char *path)
217217

218218
file->path=pgut_malloc(strlen(path)+1);
219219
strcpy(file->path,path);/* enough buffer size guaranteed */
220+
canonicalize_path(file->path);
220221

221222
/* Get file name from the path */
222223
file_name=last_dir_separator(file->path);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp