summaryrefslogtreecommitdiff
path: root/lib/e2p/setflags.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-18Shorten compile commands run by the build systemTheodore Ts'o1-0/+1
The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and this was starting to cause some tools heartburn. It also made "make V=1" almost useless, since trying to following the individual commands run by make was lost in the noise of all of the defines. So fix this by putting the configure-generated defines in lib/config.h and the directory pathnames to lib/dirpaths.h. In addition, clean up some vestigal defines in configure.in and in the Makefiles to further shorten the cc command lines. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-16libe2p: reach unreachable codeEric Sandeen1-3/+4
The EOPNOTSUPP case is unreachable, being outside a set of: #if ... return; #else ... return; #endif Fix this up so that if neither HAVE_CHFLAGS nor HAVE_EXT2_IOCTLS applies, we set EOPNOTSUPP. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2011-06-11misc: fix compile warnings on OSXAndreas Dilger1-2/+3
The BLKFLSBUF and FDFLUSH ioctls are Linux specific, and do not really have anything to do with __GNUC__ (which is also used on OS/X and Solaris). Only print these warnings on Linux systems. statfs64() is deprecated on OSX and generates a deliberate warning. Fix some other warnings that show up on OSX builds. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2010-05-17libe2p, libext2fs: Update file copyright permission states to match COPYINGTheodore Ts'o1-2/+4
The top-level COPYING file states that the e2p and ext2fs libraries are available under the LGPLv2. The files were incorrectly labelled. Alex Thomas/Luster has been consulted wrt to the ext3_extents.h file; the rest of the files were primarily authored by Theodore Ts'o. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-27Remove trailing whitespace for the entire source treeTheodore Ts'o1-2/+2
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2004-06-25setflags.c, fsetflags.c: On linux systems, undefine HAVE_CHFLAGSTheodore Ts'o1-0/+9
to deal with lame glibc's that define this function without actually implementing it. Can you say "attractive nuisance", boys and girls? I knew you could! (Thanks to Pavel Troller for reporting this braindamage.)
2002-08-17chattr.1.in: Document the compression attribute flags E, X, andTheodore Ts'o1-7/+10
Z, and explain that chattr can't set or set these flags. (Addresses Debian Bug #151990) fsetflags.c (fsetflags), fgetflags.c (fgetflags.c), setflags.c (setflags), getflags.c (getflags): Check to make sure the file is a regular file or a directory before attempting to use the ext2 ioctls. Otherwise, return EOPNOTSUPP. (Addresses Debian Bug #152029).
1998-03-09ChangeLog, ls.c:Theodore Ts'o1-9/+12
Mask off high 8 bits from dirent->name_len. Many files: The ext2 version and flags ioctl's take an int *, not a long *. Fix library to use the correct type, so we don't have problems on the Alpha.
1997-04-29Many files:Theodore Ts'o1-2/+0
Checked in e2fsprogs 1.05
1997-04-26Many files:Theodore Ts'o1-0/+32
Checked in e2fsprogs 0.5c
1997-04-26Many files:Theodore Ts'o1-0/+27
Checkin of e2fsprogs 0.5b