Fossil SCM

Since checkin [d8c32ebdff], file_fullexename() function is supported windows, remove comment saying otherwize. (no code change)

mgagnon 2022-02-28 20:49 trunk
Commit 491b986d0de38fb55a86925267dbe9b1de4f590a055049592742bf78f7f25201
1 file changed -3
-3
--- src/file.c
+++ src/file.c
@@ -1295,13 +1295,10 @@
12951295
/*
12961296
** The input is the name of an executable, such as one might
12971297
** type on a command-line. This routine resolves that name into
12981298
** a full pathname. The result is obtained from fossil_malloc()
12991299
** and should be freed by the caller.
1300
-**
1301
-** This routine only works on unix. On Windows, simply return
1302
-** a copy of the input.
13031300
*/
13041301
char *file_fullexename(const char *zCmd){
13051302
#ifdef _WIN32
13061303
char *zPath;
13071304
char *z = 0;
13081305
--- src/file.c
+++ src/file.c
@@ -1295,13 +1295,10 @@
1295 /*
1296 ** The input is the name of an executable, such as one might
1297 ** type on a command-line. This routine resolves that name into
1298 ** a full pathname. The result is obtained from fossil_malloc()
1299 ** and should be freed by the caller.
1300 **
1301 ** This routine only works on unix. On Windows, simply return
1302 ** a copy of the input.
1303 */
1304 char *file_fullexename(const char *zCmd){
1305 #ifdef _WIN32
1306 char *zPath;
1307 char *z = 0;
1308
--- src/file.c
+++ src/file.c
@@ -1295,13 +1295,10 @@
1295 /*
1296 ** The input is the name of an executable, such as one might
1297 ** type on a command-line. This routine resolves that name into
1298 ** a full pathname. The result is obtained from fossil_malloc()
1299 ** and should be freed by the caller.
 
 
 
1300 */
1301 char *file_fullexename(const char *zCmd){
1302 #ifdef _WIN32
1303 char *zPath;
1304 char *z = 0;
1305

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button