Changeset 651


Ignore:
Timestamp:
01/11/13 01:38:34 (12 years ago)
Author:
Nicholas Riley
Message:

Make buildable on OS X 10.8 (remove obsolete CoreGraphics error), 32-bit only.

Fix a tiny buffer overflow.

Don't use printf to print things that aren't format strings.

Bump version number.

Location:
trunk/launch/launch
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/launch/launch/README

    r490 r651  
    224224
    2252251.1.1 - unreleased
    226  - updated error codes for Mac OS X 10.4
     226 - update error codes for OS X 10.8
    227227 - read Info.plists embedded in all Mach-O binaries (e.g. hdiutil)
    228228 - display alias targets
  • trunk/launch/launch/VERSION

    r490 r651  
    1 1.1.1d3
     11.1.1d4
  • trunk/launch/launch/launch.xcodeproj/project.pbxproj

    r477 r651  
    107107                        buildConfigurationList = E194195609C40AD400266191 /* Build configuration list for PBXProject "launch" */;
    108108                        compatibilityVersion = "Xcode 2.4";
     109                        developmentRegion = English;
    109110                        hasScannedForEncodings = 1;
     111                        knownRegions = (
     112                                en,
     113                        );
    110114                        mainGroup = 08FB7794FE84155DC02AAC07 /* launch */;
    111115                        projectDirPath = "";
     
    160164                        isa = XCBuildConfiguration;
    161165                        buildSettings = {
     166                                ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
     167                                ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
    162168                                COPY_PHASE_STRIP = NO;
    163169                                GCC_ENABLE_FIX_AND_CONTINUE = NO;
     
    165171                                GCC_OPTIMIZATION_LEVEL = 0;
    166172                                PRODUCT_NAME = launch;
     173                                SDKROOT = "";
    167174                                WARNING_CFLAGS = (
    168175                                        "-Wmost",
     
    177184                        isa = XCBuildConfiguration;
    178185                        buildSettings = {
     186                                ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
     187                                ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
    179188                                GCC_ENABLE_FIX_AND_CONTINUE = NO;
    180189                                INSTALL_PATH = "\U0001/usr/local/bin";
    181190                                PRODUCT_NAME = launch;
     191                                SDKROOT = "";
    182192                                WARNING_CFLAGS = (
    183193                                        "-Wmost",
  • trunk/launch/launch/main.c

    r490 r651  
    33 Nicholas Riley <launchsw@sabi.net>
    44
    5  Copyright (c) 2001-09, Nicholas Riley
     5 Copyright (c) 2001-13, Nicholas Riley
    66 All rights reserved.
    77
     
    3737const char *APP_NAME;
    3838
    39 #define VERSION "1.1.1d3"
     39#define VERSION "1.1.1d4"
    4040
    4141#define STRBUF_LEN 1024
     
    9797    { procNotFound, "unable to connect to system service.\nAre you logged in?" },
    9898    { kCGErrorIllegalArgument, "window server error.\nAre you logged in?" },
    99     { kCGErrorApplicationRequiresNewerSystem, "application requires a newer Mac OS X version" },
    10099    { fnfErr, "file not found" },
    101100    { eofErr, "data not found" },
     
    660659    if (typeStr == NULL) {
    661660        // punt to displaying verbatim
    662         static char tmpBuffer[4];
     661        static char tmpBuffer[5];
    663662        tmpBuffer[4] = '\0';
    664663        strncpy(tmpBuffer, (const char *)&osType, 4);
     
    744743            continue;
    745744        }
    746         printf(arch->description);
     745        printf("%s", arch->description);
    747746    }
    748747    printf("\n");
Note: See TracChangeset for help on using the changeset viewer.