~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/tempname.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- buffer-read-only: t -*- vi: set ro: */
2
 
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3
1
/* tempname.c - generate the name of a temporary file.
4
2
 
5
 
   Copyright (C) 1991-2003, 2005-2007, 2009-2011 Free Software Foundation, Inc.
 
3
   Copyright (C) 1991-2003, 2005-2007, 2009-2012 Free Software Foundation, Inc.
6
4
 
7
5
   This program is free software: you can redistribute it and/or modify
8
6
   it under the terms of the GNU General Public License as published by
71
69
# define __gettimeofday gettimeofday
72
70
# define __mkdir mkdir
73
71
# define __open open
74
 
# define __open64 open
75
72
# define __lxstat64(version, file, buf) lstat (file, buf)
76
 
# define __xstat64(version, file, buf) stat (file, buf)
77
73
#endif
78
74
 
79
75
#if ! (HAVE___SECURE_GETENV || _LIBC)
220
216
  /* A lower bound on the number of temporary files to attempt to
221
217
     generate.  The maximum total number of temporary file names that
222
218
     can exist for a given template is 62**6.  It should never be
223
 
     necessary to try all these combinations.  Instead if a reasonable
 
219
     necessary to try all of these combinations.  Instead if a reasonable
224
220
     number of names is tried (we define reasonable as 62**3) fail to
225
221
     give the system administrator the chance to remove the problems.
226
222
     This value requires that X_SUFFIX_LEN be at least 3.  */