Standardize on the vi editing directives being on the first line.

This commit is contained in:
"Robert P. J. Day" 2006-07-02 19:47:05 +00:00
parent 087b9d640e
commit 63fc1a9e08
284 changed files with 285 additions and 19 deletions

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Modified for busybox by Glenn McGrath <bug1@iinet.net.au> * Modified for busybox by Glenn McGrath <bug1@iinet.net.au>
* Added support output to stdout by Thomas Lundquist <thomasez@zelow.no> * Added support output to stdout by Thomas Lundquist <thomasez@zelow.no>
@ -64,4 +65,3 @@ int bunzip2_main(int argc, char **argv)
return status; return status;
} }
/* vi:set ts=4: */

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Mini dpkg implementation for busybox. * Mini dpkg implementation for busybox.
* This is not meant as a replacement for dpkg * This is not meant as a replacement for dpkg

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "libbb.h" #include "libbb.h"

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Copyright 2002 Glenn McGrath * Copyright 2002 Glenn McGrath
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
#include "libbb.h" #include "libbb.h"
/* uncompress for busybox -- (c) 2002 Robert Griebl /* uncompress for busybox -- (c) 2002 Robert Griebl

View File

@ -1,4 +1,4 @@
/* vi:set ts=4: */ /* vi: set sw=4 ts=4: */
/* /*
* Small lzma deflate implementation. * Small lzma deflate implementation.
* Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org> * Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
@ -468,4 +468,3 @@ int unlzma(int src_fd, int dst_fd)
return 0; return 0;
} }
/* vi:set ts=4: */

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Copyright (C) 2002 by Glenn McGrath * Copyright (C) 2002 by Glenn McGrath
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* Copyright 2001 Glenn McGrath. /* Copyright 2001 Glenn McGrath.
* *
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details. * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* Copyright 2002 Laurence Anderson /* Copyright 2002 Laurence Anderson
* *
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details. * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* Licensed under GPLv2 or later, see file LICENSE in this tarball for details. /* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
* *
* FIXME: * FIXME:

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Small lzma deflate implementation. * Small lzma deflate implementation.
* Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org> * Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
@ -20,4 +21,3 @@ char get_header_tar_lzma(archive_handle_t * archive_handle)
return EXIT_FAILURE; return EXIT_FAILURE;
} }
/* vi:set ts=4: */

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
#include <stdio.h> #include <stdio.h>
#include "unarchive.h" #include "unarchive.h"

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
#include <stdio.h> #include <stdio.h>
#include "unarchive.h" #include "unarchive.h"

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details. * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/ */

View File

@ -1,4 +1,4 @@
/* vi:set ts=4:*/ /* vi: set sw=4 ts=4: */
/* /*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details. * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/ */

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,4 +1,4 @@
/* vi:set ts=4:*/ /* vi: set sw=4 ts=4: */
/* /*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details. * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/ */

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Small lzma deflate implementation. * Small lzma deflate implementation.
* Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org> * Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
@ -64,4 +65,3 @@ int unlzma_main(int argc, char **argv)
return status; return status;
} }
/* vi:set ts=4: */

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* setlogcons: Send kernel messages to the current console or to console N * setlogcons: Send kernel messages to the current console or to console N
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Calendar implementation for busybox * Calendar implementation for busybox
* *

View File

@ -1,4 +1,4 @@
/* vi: set sw=8 ts=8: */ /* vi: set sw=4 ts=4: */
/* /*
* cut.c - minimalist version of cut * cut.c - minimalist version of cut
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* fold -- wrap each input line to fit in specified width. /* fold -- wrap each input line to fit in specified width.
Written by David MacKenzie, djm@gnu.ai.mit.edu. Written by David MacKenzie, djm@gnu.ai.mit.edu.
@ -158,4 +159,3 @@ rescan:
bb_fflush_stdout_and_exit(errs); bb_fflush_stdout_and_exit(errs);
} }
/* vi: set sw=4 ts=4: */

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Copyright (C) 2003 by Glenn McGrath <bug1@iinet.net.au> * Copyright (C) 2003 by Glenn McGrath <bug1@iinet.net.au>
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball. * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/ */

View File

@ -1,4 +1,4 @@
/* vi:set ts=4: */ /* vi: set sw=4 ts=4: */
/* nohup - invoke a utility immune to hangups. /* nohup - invoke a utility immune to hangups.
* *
* Busybox version based on nohup specification at * Busybox version based on nohup specification at

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* od implementation for busybox * od implementation for busybox
* Based on code from util-linux v 2.11l * Based on code from util-linux v 2.11l

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* printenv implementation for busybox * printenv implementation for busybox
* *

View File

@ -1,4 +1,4 @@
/* vi:set ts=4:*/ /* vi: set sw=4 ts=4: */
/* /*
* stat -- display file or file system status * stat -- display file or file system status
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* Copyright 2003, Glenn McGrath <bug1@iinet.net.au> * Copyright 2003, Glenn McGrath <bug1@iinet.net.au>
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* blkid.h - Interface for libblkid, a library to identify block devices * blkid.h - Interface for libblkid, a library to identify block devices
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* blkidP.h - Internal interfaces for libblkid * blkidP.h - Internal interfaces for libblkid
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* getsize.c --- get the size of a partition. * getsize.c --- get the size of a partition.
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* cache.c - allocation/initialization/free routines for cache * cache.c - allocation/initialization/free routines for cache
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* dev.c - allocation/initialization/free routines for dev * dev.c - allocation/initialization/free routines for dev
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* devname.c - get a dev by its device inode name * devname.c - get a dev by its device inode name
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* devno.c - find a particular device by its device number (major/minor) * devno.c - find a particular device by its device number (major/minor)
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
#if !defined(_BLKID_LIST_H) && !defined(LIST_HEAD) #if !defined(_BLKID_LIST_H) && !defined(LIST_HEAD)
#define _BLKID_LIST_H #define _BLKID_LIST_H

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* probe.c - identify a block device by its contents, and return a dev * probe.c - identify a block device by its contents, and return a dev
* struct with the details * struct with the details

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* probe.h - constants and on-disk structures for extracting device data * probe.h - constants and on-disk structures for extracting device data
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* read.c - read the blkid cache from disk, to avoid scanning all devices * read.c - read the blkid cache from disk, to avoid scanning all devices
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* resolve.c - resolve names and tags into specific devices * resolve.c - resolve names and tags into specific devices
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* save.c - write the cache struct to disk * save.c - write the cache struct to disk
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* tag.c - allocation/initialization/free routines for tag structs * tag.c - allocation/initialization/free routines for tag structs
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* version.c --- Return the version of the blkid library * version.c --- Return the version of the blkid library
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* chattr.c - Change file attributes on an ext2 file system * chattr.c - Change file attributes on an ext2 file system
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* File: e2fsbb.h * File: e2fsbb.h
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* e2fsck * e2fsck
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
#include <sys/types.h> #include <sys/types.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
#include "busybox.h" #include "busybox.h"
#include <sys/types.h> /* Needed by dirent.h on netbsd */ #include <sys/types.h> /* Needed by dirent.h on netbsd */
#include <stdio.h> #include <stdio.h>

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* feature.c --- convert between features and strings * feature.c --- convert between features and strings
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* fgetflags.c - Get a file flags on an ext2 file system * fgetflags.c - Get a file flags on an ext2 file system
* fsetflags.c - Set a file flags on an ext2 file system * fsetflags.c - Set a file flags on an ext2 file system

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* fgetversion.c - Get a file version on an ext2 file system * fgetversion.c - Get a file version on an ext2 file system
* fsetversion.c - Set a file version on an ext2 file system * fsetversion.c - Set a file version on an ext2 file system

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* feature.c --- convert between features and strings * feature.c --- convert between features and strings
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* iod.c - Iterate a function on each entry of a directory * iod.c - Iterate a function on each entry of a directory
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* ls.c - List the contents of an ext2fs superblock * ls.c - List the contents of an ext2fs superblock
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* mountopts.c --- convert between default mount options and strings * mountopts.c --- convert between default mount options and strings
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* getostype.c - Get the Filesystem OS type * getostype.c - Get the Filesystem OS type
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* parse_num.c - Parse the number of blocks * parse_num.c - Parse the number of blocks
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* pe.c - Print a second extended filesystem errors behavior * pe.c - Print a second extended filesystem errors behavior
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* pf.c - Print file attributes on an ext2 file system * pf.c - Print file attributes on an ext2 file system
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* ps.c - Print filesystem state * ps.c - Print filesystem state
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* uuid.c -- utility routines for manipulating UUID's. * uuid.c -- utility routines for manipulating UUID's.
*/ */

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* alloc.c --- allocate new inodes, blocks for ext2fs * alloc.c --- allocate new inodes, blocks for ext2fs
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* alloc_sb.c --- Allocate the superblock and block group descriptors for a * alloc_sb.c --- Allocate the superblock and block group descriptors for a
* newly initialized filesystem. Used by mke2fs when initializing a filesystem * newly initialized filesystem. Used by mke2fs when initializing a filesystem

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* alloc_stats.c --- Update allocation statistics for ext2fs * alloc_stats.c --- Update allocation statistics for ext2fs
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* alloc_tables.c --- Allocate tables for a newly initialized * alloc_tables.c --- Allocate tables for a newly initialized
* filesystem. Used by mke2fs when initializing a filesystem * filesystem. Used by mke2fs when initializing a filesystem

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* badblocks.c --- routines to manipulate the bad block structure * badblocks.c --- routines to manipulate the bad block structure
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* bb_compat.c --- compatibility badblocks routines * bb_compat.c --- compatibility badblocks routines
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* bb_inode.c --- routines to update the bad block inode. * bb_inode.c --- routines to update the bad block inode.
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* bitmaps.c --- routines to read, write, and manipulate the inode and * bitmaps.c --- routines to read, write, and manipulate the inode and
* block bitmaps. * block bitmaps.

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* bitops.c --- Bitmap frobbing code. See bitops.h for the inlined * bitops.c --- Bitmap frobbing code. See bitops.h for the inlined
* routines. * routines.

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* bitops.h --- Bitmap frobbing code. The byte swapping routines are * bitops.h --- Bitmap frobbing code. The byte swapping routines are
* also included here. * also included here.

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* block.c --- iterate over all blocks in an inode * block.c --- iterate over all blocks in an inode
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* bmap.c --- logical to physical block mapping * bmap.c --- logical to physical block mapping
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* bmove.c --- Move blocks around to make way for a particular * bmove.c --- Move blocks around to make way for a particular
* filesystem structure. * filesystem structure.

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* brel.h * brel.h
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* brel_ma.c * brel_ma.c
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* check_desc.c --- Check the group descriptors of an ext2 filesystem * check_desc.c --- Check the group descriptors of an ext2 filesystem
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* closefs.c --- close an ext2 filesystem * closefs.c --- close an ext2 filesystem
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* cmp_bitmaps.c --- routines to compare inode and block bitmaps. * cmp_bitmaps.c --- routines to compare inode and block bitmaps.
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* dblist.c -- directory block list functions * dblist.c -- directory block list functions
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* dblist_dir.c --- iterate by directory entry * dblist_dir.c --- iterate by directory entry
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* dir_iterate.c --- ext2fs directory iteration operations * dir_iterate.c --- ext2fs directory iteration operations
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* dirblock.c --- directory block routines. * dirblock.c --- directory block routines.
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* dirhash.c -- Calculate the hash of a directory entry * dirhash.c -- Calculate the hash of a directory entry
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* dupfs.c --- duplicate a ext2 filesystem handle * dupfs.c --- duplicate a ext2 filesystem handle
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* e2image.h --- header file describing the ext2 image format * e2image.h --- header file describing the ext2 image format
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* expand.c --- expand an ext2fs directory * expand.c --- expand an ext2fs directory
* *

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
* ext2_err.h: * ext2_err.h:
* This file is automatically generated; please do not edit it. * This file is automatically generated; please do not edit it.

View File

@ -1,3 +1,4 @@
/* vi: set sw=4 ts=4: */
/* /*
File: linux/ext2_ext_attr.h File: linux/ext2_ext_attr.h

Some files were not shown because too many files have changed in this diff Show More