Changeset 14 for trunk/src/helpers/stringh.c
- Timestamp:
- Dec 9, 2000, 8:19:42 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/stringh.c
r13 r14 25 25 * Copyright (C) 1997-2000 Ulrich Mller. 26 26 * Parts Copyright (C) 1991-1999 iMatix Corporation. 27 * This file is part of the XWorkplacesource package.28 * XWorkplaceis free software; you can redistribute it and/or modify27 * This file is part of the "XWorkplace helpers" source package. 28 * This is free software; you can redistribute it and/or modify 29 29 * it under the terms of the GNU General Public License as published 30 30 * by the Free Software Foundation, in version 2 as it comes in the … … 1709 1709 1710 1710 /* ****************************************************************** 1711 * *1712 * Miscellaneous *1713 * *1711 * 1712 * Miscellaneous 1713 * 1714 1714 ********************************************************************/ 1715 1715 … … 1742 1742 1743 1743 VOID strhArrayAppend(PSZ *ppszRoot, // in: root of array 1744 PSZ pszNew,// in: string to append1744 const char *pcszNew, // in: string to append 1745 1745 PULONG pcbRoot) // in/out: size of array 1746 1746 { 1747 ULONG cbNew = strlen(p szNew);1747 ULONG cbNew = strlen(pcszNew); 1748 1748 PSZ pszTemp = (PSZ)malloc(*pcbRoot 1749 1749 + cbNew … … 1759 1759 // append new string 1760 1760 strcpy(pszTemp + *pcbRoot, 1761 p szNew);1761 pcszNew); 1762 1762 // update root 1763 1763 *ppszRoot = pszTemp; … … 1859 1859 1860 1860 /* ****************************************************************** 1861 * *1862 * Wildcard matching *1863 * *1861 * 1862 * Wildcard matching 1863 * 1864 1864 ********************************************************************/ 1865 1865 … … 2457 2457 2458 2458 /* ****************************************************************** 2459 * *2460 * Fast string searches *2461 * *2459 * 2460 * Fast string searches 2461 * 2462 2462 ********************************************************************/ 2463 2463
Note:
See TracChangeset
for help on using the changeset viewer.