~vibhavp/ubuntu/saucy/cdebootstrap/merge-from-debian

« back to all changes in this revision

Viewing changes to src/main.c

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2009-05-24 20:33:07 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090524203307-v7orhumy1eiuaupz
Tags: 0.5.5ubuntu1
* Merge from Debian unstable, remaining Ubuntu changes:
  - set NO_PKG_MANGLE while building nested package
  - build with -U_FORTIFY_SOURCE to fix FTBFS caused by the Ubuntu toolchain

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
19
 *
20
20
 * $LastChangedBy: bastian $
21
 
 * $LastChangedDate: 2008-02-25 00:57:23 +0100 (Mo, 25 Feb 2008) $
22
 
 * $LastChangedRevision: 1518 $
 
21
 * $LastChangedDate: 2009-04-29 16:26:30 +0200 (Mi, 29 Apr 2009) $
 
22
 * $LastChangedRevision: 1703 $
23
23
 */
24
24
 
25
25
#define _GNU_SOURCE
49
49
  atexit (cleanup_atexit);
50
50
  signal (SIGHUP, cleanup_signal);
51
51
  signal (SIGINT, cleanup_signal);
52
 
  signal (SIGPIPE, cleanup_signal);
 
52
  signal (SIGPIPE, SIG_IGN);
53
53
  signal (SIGTERM, cleanup_signal);
54
54
 
55
55
  if (frontend_main (argc, argv, envp))