~ubuntu-branches/ubuntu/wily/wdm/wily-proposed

« back to all changes in this revision

Viewing changes to src/wdm/Greet.c

  • Committer: Bazaar Package Importer
  • Author(s): Ralf Treinen
  • Date: 2011-07-19 20:05:52 UTC
  • Revision ID: james.westby@ubuntu.com-20110719200552-5pwzpzru3asczkzp
Tags: 1.28-7
* QA upload
* Changed build-dependency on libjpeg62-dev to libjpeg-dev (closes: #634642)
* Migrate to source format 3.0 (quilt):
  - add debian/source/format
  - drop build-dependency on dpatch
  - drop all patching/unpatching from debian/rules
  - drop touching of configure since quilt patching now does it for us

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
extern int   wdmXineramaHead;
135
135
 
136
136
static int      pipe_filedes[2];
137
 
static char     name[128], password[128];
 
137
#define CREDENTIAL_LEN 258
 
138
static char     name[CREDENTIAL_LEN], password[CREDENTIAL_LEN];
138
139
static char     xsessionArg[256], exitArg[256];
139
140
 
140
141
struct display *Save_d=NULL;
280
281
{
281
282
    int code = 0, done = 0, extension_code=0;
282
283
 
 
284
    memset(name, 0, CREDENTIAL_LEN );
 
285
    memset(password, 0, CREDENTIAL_LEN);
283
286
    readstring(pipe_filedes[0], name);  /* username */
284
287
    readstring(pipe_filedes[0], password);
285
288