mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
2d6388539e
- Reorganize options (remove unsupported/not needed and use common names in the remaining ones). - Use .tar.gz distfile instead of .zip. - Patch to write in ~/.fte by default (previously needed "-usehome"). - Add more information to pkg-message.
25 lines
553 B
C
25 lines
553 B
C
--- common/fs.c.orig 2008-02-15 14:55:07.000000000 -0300
|
|
+++ common/fs.c 2008-02-15 14:55:19.000000000 -0300
|
|
@@ -2120,8 +2120,10 @@
|
|
}
|
|
|
|
//if we're meant to be writing, best write to it.
|
|
- if (strchr(mode , 'w') || strchr(mode , 'a'))
|
|
+ if (strchr(mode , 'w') || strchr(mode , 'a')) {
|
|
+ COM_CreatePath(fullname);
|
|
return VFSOS_Open(fullname, mode);
|
|
+ }
|
|
return NULL;
|
|
}
|
|
|
|
@@ -3144,9 +3146,6 @@
|
|
*com_homedir = '\0';
|
|
#endif
|
|
|
|
- if (!COM_CheckParm("-usehome"))
|
|
- *com_homedir = '\0';
|
|
-
|
|
if (COM_CheckParm("-nohome"))
|
|
*com_homedir = '\0';
|
|
|