Changeset 2243 for trunk/src/fastdep
- Timestamp:
- Jan 10, 2009, 3:24:02 AM (17 years ago)
- Location:
- trunk/src/fastdep
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/fastdep/Makefile
r785 r2243 6 6 # Makefile for the Quick-and-Dirty dependency utility. (FastDep) 7 7 # 8 # Copyright (c) 1999-200 2 knut st. osmundsen (bird-kBuild-spam@anduin.net)8 # Copyright (c) 1999-2009 knut st. osmundsen (bird-kBuild-spamix@anduin.net) 9 9 # 10 10 # GPL -
trunk/src/fastdep/Makefile.kmk
r2019 r2243 5 5 6 6 # 7 # Copyright (c) 2007-200 8 knut st. osmundsen <bird-src-spam@anduin.net>7 # Copyright (c) 2007-2009 knut st. osmundsen <bird-kBuild-spamix@anduin.net> 8 8 # 9 9 # This file is part of kBuild. -
trunk/src/fastdep/avl.c
r7 r2243 5 5 * Copyright (c) 1999 knut st. osmundsen 6 6 * 7 * Project Odin Software License can be found in LICENSE.TXT7 * GPL 8 8 * 9 9 */ -
trunk/src/fastdep/avl.h
r7 r2243 11 11 * 12 12 * 13 * Copyright (c) 1999-200 0knut st. osmundsen13 * Copyright (c) 1999-2009 knut st. osmundsen 14 14 * 15 * Project Odin Software License can be found in LICENSE.TXT15 * GPL 16 16 * 17 17 */ -
trunk/src/fastdep/fastdep.c
r1149 r2243 3 3 * Fast dependents. (Fast = Quick and Dirty!) 4 4 * 5 * Copyright (c) 1999-200 2 knut st. osmundsen (bird-kBuild-spam@anduin.net)5 * Copyright (c) 1999-2009 knut st. osmundsen (bird-kBuild-spamix@anduin.net) 6 6 * 7 7 * GPL … … 1006 1006 "\n" 1007 1007 "Options and files could be mixed.\n" 1008 " copyright (c) 1999-200 2 knut st. osmundsen (bird-kBuild-spam@anduin.net)\n",1008 " copyright (c) 1999-2009 knut st. osmundsen (bird-kBuild-spamix@anduin.net)\n", 1009 1009 ODIN32_BUILD_NR, 1010 1010 pszDefaultDepFile -
trunk/src/fastdep/os2fake-win.c
r7 r2243 1 1 /* $Id$ 2 * 2 * 3 3 * OS/2 Fake library for Win32. 4 * 4 * 5 5 * Copyright (c) 2001 knut st. osmundsen (knut.stange.osmundsen@mynd.no) 6 6 * 7 * Project Odin Software License can be found in LICENSE.TXT7 * GPL 8 8 * 9 9 */ … … 44 44 ULONG ulWin; 45 45 ULONG ulOs2; 46 } aConvAttr[] = 47 { 46 } aConvAttr[] = 47 { 48 48 {FILE_ATTRIBUTE_READONLY, FILE_READONLY}, 49 49 {FILE_ATTRIBUTE_HIDDEN, FILE_HIDDEN}, … … 51 51 {FILE_ATTRIBUTE_DIRECTORY, FILE_DIRECTORY}, 52 52 {FILE_ATTRIBUTE_ARCHIVE, FILE_ARCHIVED} 53 }; 53 }; 54 54 ULONG ulOS2Attr = 0; 55 55 int i; … … 129 129 { 130 130 WIN32_FILE_ATTRIBUTE_DATA fad; 131 131 132 132 if (GetFileAttributesEx(pszPathName, GetFileExInfoStandard, &fad)) //W98, NT4 and above. 133 133 { 134 134 PFILESTATUS3 pfst3 = (PFILESTATUS3)(pInfoBuf); 135 135 136 136 if (fad.nFileSizeHigh > 0) 137 137 rc = ERROR_BAD_LENGTH; … … 156 156 return rc; 157 157 } 158 158 159 159 160 160 APIRET OS2ENTRY DosFindFirst( … … 219 219 { 220 220 PFILEFINDBUF3 pfindbuf = (PFILEFINDBUF3)pFindBuf; 221 221 222 222 memcpy(pfindbuf->achName, FindData.cFileName, pfindbuf->cchName = strlen(FindData.cFileName) + 1); 223 223 pfindbuf->cbFile = pfindbuf->cbFileAlloc = FindData.nFileSizeHigh > 0 ? 0xffffffff : FindData.nFileSizeLow; … … 267 267 { 268 268 PFILEFINDBUF3 pfindbuf = (PFILEFINDBUF3)pFindBuf; 269 269 270 270 memcpy(pfindbuf->achName, FindData.cFileName, pfindbuf->cchName = strlen(FindData.cFileName) + 1); 271 271 pfindbuf->cbFile = pfindbuf->cbFileAlloc = FindData.nFileSizeHigh > 0 ? 0xffffffff : FindData.nFileSizeLow; … … 295 295 296 296 297 297 -
trunk/src/fastdep/os2fake.h
r7 r2243 1 1 /* $Id$ 2 * 2 * 3 3 * Structures, defines and function prototypes for the OS/2 fake library. 4 *5 * Copyright (c) 2001 knut st. osmundsen (knut.stange.osmundsen@mynd.no)6 4 * 7 * Project Odin Software License can be found in LICENSE.TXT 5 * Copyright (c) 2001-2009 knut st. osmundsen (knut.stange.osmundsen@mynd.no) 6 * 7 * GPL 8 8 * 9 9 */ 10 11 10 11 12 12 #ifndef _os2fake_h_ 13 13 #define _os2fake_h_ 14 14 15 15 16 16 /******************************************************************************* 17 17 * Defined Constants And Macros * 18 18 *******************************************************************************/ 19 19 #ifndef OS2ENTRY 20 #define OS2ENTRY 20 #define OS2ENTRY 21 21 #endif 22 22 … … 35 35 #define FIL_QUERYFULLNAME 5 36 36 #endif 37 37 38 38 #define FILE_NORMAL 0x0000 39 39 #define FILE_READONLY 0x0001 … … 94 94 #endif 95 95 #if !defined(_WINNT_) && !defined(PVOID) 96 typedef VOID * PVOID; 96 typedef VOID * PVOID; 97 97 #endif 98 98 … … 149 149 typedef struct _FILEFINDBUF3 /* findbuf3 */ 150 150 { 151 ULONG oNextEntryOffset; 151 ULONG oNextEntryOffset; 152 152 FDATE fdateCreation; 153 153 FTIME ftimeCreation; … … 158 158 ULONG cbFile; 159 159 ULONG cbFileAlloc; 160 ULONG attrFile; 160 ULONG attrFile; 161 161 UCHAR cchName; 162 162 CHAR achName[CCHMAXPATHCOMP];
Note:
See TracChangeset
for help on using the changeset viewer.