~ubuntu-branches/ubuntu/lucid/loop-aes-utils/lucid-security

« back to all changes in this revision

Viewing changes to misc-utils/whereis.c

  • Committer: Bazaar Package Importer
  • Author(s): Max Vozeler
  • Date: 2008-08-22 11:57:17 UTC
  • mfrom: (8.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080822115717-v8wfa8pxwlfvyje0
Tags: 2.13.1-4
* patches/losetup_add_option_f.dpatch: 
  - Added to support "find next free loop" in losetup.
    (closes: #495682)

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
   "/usr/etc",
67
67
   "/lib",
68
68
   "/usr/lib",
 
69
   "/lib64",
 
70
   "/usr/lib64",
69
71
   "/usr/games",
70
72
   "/usr/games/bin",
71
73
   "/usr/games/lib",
74
76
   "/usr/TeX/bin",
75
77
   "/usr/tex/bin",
76
78
   "/usr/interviews/bin/LINUX",
77
 
   
 
79
 
78
80
   "/usr/X11R6/bin",
79
81
   "/usr/X386/bin",
80
82
   "/usr/bin/X11",
149
151
        setlocale(LC_ALL, "");
150
152
        bindtextdomain(PACKAGE, LOCALEDIR);
151
153
        textdomain(PACKAGE);
152
 
        
153
154
 
154
155
        argc--, argv++;
155
156
        if (argc == 0) {
328
329
                goto noglob;
329
330
 
330
331
        l = strlen(dir);
331
 
        if (l < sizeof(dirbuf)) {       /* refuse excessively long names */
 
332
        if (l < sizeof(dirbuf)) {       /* refuse excessively long names */
332
333
                strcpy (dirbuf, dir);
333
334
                d = index(dirbuf, '*');
334
335
                *d = 0;