~ubuntu-branches/ubuntu/precise/ncurses/precise

« back to all changes in this revision

Viewing changes to test/test_getstr.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-11 16:40:32 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081111164032-dudxd0hy2im0f2bj
Tags: 5.7-2ubuntu1
* Merge from debian unstable, remaining changes:
  - On amd64, use /{,usr/}lib32 instead of /emul/ia32-linux/.
  - Link using -Bsymbolic-functions.
  - Don't install the upstream changelog in the runtime library packages.

* Install wide-character patches into /{,usr/}lib32 as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/****************************************************************************
2
 
 * Copyright (c) 2007 Free Software Foundation, Inc.                        *
 
2
 * Copyright (c) 2007,2008 Free Software Foundation, Inc.                   *
3
3
 *                                                                          *
4
4
 * Permission is hereby granted, free of charge, to any person obtaining a  *
5
5
 * copy of this software and associated documentation files (the            *
26
26
 * authorization.                                                           *
27
27
 ****************************************************************************/
28
28
/*
29
 
 * $Id: test_getstr.c,v 1.7 2007/08/11 16:56:25 tom Exp $
 
29
 * $Id: test_getstr.c,v 1.8 2008/02/09 18:09:35 tom Exp $
30
30
 *
31
31
 * Author: Thomas E Dickey
32
32
 *
44
44
 
45
45
#include <test.priv.h>
46
46
 
 
47
#if HAVE_CHGAT
 
48
/* Solaris SVr4 curses lacks wchgat, mvgetnstr, mvwgetnstr */
 
49
 
47
50
#define BASE_Y 6
48
51
#define MAX_COLS 1024
49
52
 
349
352
    endwin();
350
353
    ExitProgram(EXIT_SUCCESS);
351
354
}
 
355
 
 
356
#else
 
357
int
 
358
main(void)
 
359
{
 
360
    printf("This program requires the curses chgat function\n");
 
361
    ExitProgram(EXIT_FAILURE);
 
362
}
 
363
#endif