Ignore:
Timestamp:
Dec 9, 2000, 8:19:42 PM (25 years ago)
Author:
umoeller
Message:

Major updates; timers, LVM, miscellaneous.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/stringh.c

    r13 r14  
    2525 *      Copyright (C) 1997-2000 Ulrich M”ller.
    2626 *      Parts Copyright (C) 1991-1999 iMatix Corporation.
    27  *      This file is part of the XWorkplace source package.
    28  *      XWorkplace is free software; you can redistribute it and/or modify
     27 *      This file is part of the "XWorkplace helpers" source package.
     28 *      This is free software; you can redistribute it and/or modify
    2929 *      it under the terms of the GNU General Public License as published
    3030 *      by the Free Software Foundation, in version 2 as it comes in the
     
    17091709
    17101710/* ******************************************************************
    1711  *                                                                  *
    1712  *   Miscellaneous                                                  *
    1713  *                                                                  *
     1711 *
     1712 *   Miscellaneous
     1713 *
    17141714 ********************************************************************/
    17151715
     
    17421742
    17431743VOID strhArrayAppend(PSZ *ppszRoot,         // in: root of array
    1744                      PSZ pszNew,            // in: string to append
     1744                     const char *pcszNew,   // in: string to append
    17451745                     PULONG pcbRoot)        // in/out: size of array
    17461746{
    1747     ULONG cbNew = strlen(pszNew);
     1747    ULONG cbNew = strlen(pcszNew);
    17481748    PSZ pszTemp = (PSZ)malloc(*pcbRoot
    17491749                              + cbNew
     
    17591759    // append new string
    17601760    strcpy(pszTemp + *pcbRoot,
    1761            pszNew);
     1761           pcszNew);
    17621762    // update root
    17631763    *ppszRoot = pszTemp;
     
    18591859
    18601860/* ******************************************************************
    1861  *                                                                  *
    1862  *   Wildcard matching                                              *
    1863  *                                                                  *
     1861 *
     1862 *   Wildcard matching
     1863 *
    18641864 ********************************************************************/
    18651865
     
    24572457
    24582458/* ******************************************************************
    2459  *                                                                  *
    2460  *   Fast string searches                                           *
    2461  *                                                                  *
     2459 *
     2460 *   Fast string searches
     2461 *
    24622462 ********************************************************************/
    24632463
Note: See TracChangeset for help on using the changeset viewer.