Changeset 1078


Ignore:
Timestamp:
Jan 28, 2007, 11:27:25 AM (13 years ago)
Author:
andree
Message:

Increased MAX_STR_LEN to 384 to make it divisible without remainder by
eight. This avoids mis-alignment issues on 64bit platforms such as ia64
which otherwise can lead to "unaligend access to 0x..." warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/include/my-stuff.h

    r1070 r1078  
    126126#define ARBITRARY_MAXIMUM 2000  ///< The maximum number of items showing at once in the mountlist or filelist editor.
    127127#define MAX_TAPECATALOG_ENTRIES 8192    ///< The maximum number of entries in the tape catalog.
    128 #define MAX_STR_LEN 380         ///< The maximum length of almost all @p char buffers in Mondo.
     128#define MAX_STR_LEN 384         ///< The maximum length of almost all @p char buffers in Mondo.
     129                                        ///  Note: Make this divisible by eight to avoid aligment issues
     130                                        ///        on 64bit platforms like ia64.
    129131#define MAXIMUM_RAID_DEVS 32    ///< The maximum number of RAID devices in the raidlist.
    130132#define MAXIMUM_ADDITIONAL_RAID_VARS 32 ///< The maximum number of additional RAID variables per RAID device in the raidlist.
Note: See TracChangeset for help on using the changeset viewer.