Changeset 35010 in vbox
- Timestamp:
- Dec 13, 2010 1:51:20 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68837
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp
r34230 r35010 54 54 55 55 #ifndef _PATH_MOUNTED 56 #define _PATH_MOUNTED "/etc/mtab" 56 #ifdef RT_OS_SOLARIS 57 #define _PATH_MOUNTED "/etc/mnttab" 58 #else 59 #define _PATH_MOUNTED "/etc/mtab" 60 #endif 57 61 #endif 58 62 … … 110 114 FILE *pFh = fopen(_PATH_MOUNTED, "r"); 111 115 if (!pFh) 112 VBoxServiceError("VBoxServiceAutoMountShareIsMounted: Could not open mtab!\n"); 116 VBoxServiceError("VBoxServiceAutoMountShareIsMounted: Could not open mount tab \"%s\"!\n", 117 _PATH_MOUNTED); 113 118 else 114 119 { … … 128 133 FILE *pFh = setmntent(_PATH_MOUNTED, "r+t"); 129 134 if (pFh == NULL) 130 VBoxServiceError("VBoxServiceAutoMountShareIsMounted: Could not open mtab!\n"); 135 VBoxServiceError("VBoxServiceAutoMountShareIsMounted: Could not open mount tab \"%s\"!\n", 136 _PATH_MOUNTED); 131 137 else 132 138 { -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlExec.cpp
r34867 r35010 104 104 { 105 105 size_t cbToWrite = pStdInBuf->cbSize - pStdInBuf->cbOffset; 106 cbToWrite = RT_MIN(cbToWrite, _ 1M);106 cbToWrite = RT_MIN(cbToWrite, _64K); 107 107 *pfClose = false; 108 108 if (cbToWrite && pStdInBuf->fAlive) … … 1722 1722 AssertPtr(pData); 1723 1723 1724 const uint32_t cbSize = _ 1M;1724 const uint32_t cbSize = _64K; 1725 1725 uint32_t cbRead = cbSize; 1726 1726 uint8_t *pBuf = (uint8_t*)RTMemAlloc(cbSize);
Note:
See TracChangeset
for help on using the changeset viewer.