| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | mfreq v3.18 |
Hallo Markus!
04.08.2017 00:19, Markus Reschke schrieb an Torsten Bamberg:
MR> Ursache ist die Erkennung von absoluten Pfaden. Bei Unix f„ngt ein
MR> solcher mit einem "/" an, und nicht mit "C:".
In ManagePath() gibt es
Danke.
Anbei der Patch:
=##= Anfang "mfreq-list.patch" =##=
-+- ../mfreq-master/mfreq-list.c 2017-08-02 19:50:30.000000000 +0200
+++ mfreq-list.c 2017-08-04 19:35:34.000000000 +0200
{at}{at} -1735,7 +1735,16 {at}{at} _Bool ManagePath(char *Name, char *Path,
* then look for sub-directories
*/
+
/* build absolute path if necessary */
+#if __EMX__
+/* do nothing */
+if (Path[0] == '/')
+ {
+ Log(L_WARN, "Unix separators aren't valid on emx: %s!", Path);
+ }
+
+#elif
if (Path[0] != '/') /* relative path */
{
snprintf(TempBuffer, DEFAULT_BUFFER_SIZE - 1,
{at}{at} -1743,6 +1752,7 {at}{at} _Bool ManagePath(char *Name, char *Path,
LocalPath = CopyString(TempBuffer);
Path = LocalPath;
}
+#endif /* ifdev __EMX__ */
Directory = opendir(Path); /* open directory */
if (Directory == NULL) /* error */
=##= Ende "mfreq-list.patch" =##=
MR> cu,
MR> Markus
Bye/2 Torsten
... MAILBOX: Up 41d 18h 34m (BTUp2V1.5)
--- GoldED+ 1.1.5-17
# Origin: DatenBahn BBS Hamburg (2:240/5832)
* Origin: Region 15 HQ (1:15/0)SEEN-BY: 3/50 15/0 16/101 34/999 90/1 116/18 123/140 130/20 140/1 218/700 SEEN-BY: 220/60 222/2 230/150 240/1120 249/303 250/1 261/38 100 266/404 SEEN-BY: 267/155 280/464 1027 282/1031 1056 292/908 320/219 340/400 393/68 SEEN-BY: 396/45 633/267 280 640/384 712/550 848 770/1 801/161 189 2320/100 SEEN-BY: 3634/12 5020/1042 @PATH: 15/0 128/187 311/2 130/20 261/38 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.