~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to hw/xquartz/mach-startup/bundle-main.c

Tags: 2:1.10.1-2
* Build xserver-xorg-core-udeb on hurd-i386.  Thanks, Samuel Thibault!
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
        pds = LAUNCHD_ID_PREFIX".X11";
480
480
    }
481
481
 
482
 
    server_bootstrap_name = malloc(sizeof(char) * (strlen(pds) + 1));
 
482
    server_bootstrap_name = strdup(pds);
483
483
    if(!server_bootstrap_name) {
484
484
        fprintf(stderr, "X11.app: Memory allocation error.\n");
485
485
        exit(1);
486
486
    }
487
 
    strcpy(server_bootstrap_name, pds);
488
487
    setenv("X11_PREFS_DOMAIN", server_bootstrap_name, 1);
489
488
    
490
489
    len = strlen(server_bootstrap_name);