summaryrefslogtreecommitdiff
path: root/bin/ls/stat_flags.c
Commit message (Collapse)AuthorAgeFilesLines
* Retire stat_flags.c; it's now in libutil.Josef Karthauser1999-12-301-149/+0
| | | | Notes: svn path=/head/; revision=55271
* Fix a bug where a pointer would be one character too far after puttingOllivier Robert1999-12-211-1/+1
| | | | | | | | | a '\0' at the end of a string. Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at> Notes: svn path=/head/; revision=54948
* Rewriting of flags_to_string() and string_to_flags() to use an array.Ollivier Robert1999-12-191-86/+61
| | | | | | | | PR: bin/3648 Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com> Notes: svn path=/head/; revision=54827
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Chflags was clearing all flags supplied on the command line after aJean-Marc Zucconi1999-05-211-2/+2
| | | | | | | | | | clearing flag like dump or noschg, etc. PR: bin/10071 Submitted by: Andreas Klussmann <andreas@infosys.heitec.net> Notes: svn path=/head/; revision=47367
* Make a couple of the stat flags dependent on the sys/stat.h header fileJohn Birrell1998-01-091-1/+9
| | | | | | | | | | | | | | that this source is compiled against. This source is referenced by install which is needed as a build tool and must be able to compile against NetBSD headers and libraries if we have a hope of supporting another architecture. With this change, that's two working programs down and 3945 (?) to go. The other one was make, but that didn't need any changes to work under FreeBSD/Alpha. 8-) Notes: svn path=/head/; revision=32361
* Observe precedence set by Phillippe Charnier in adding anSteve Price1997-08-071-3/+5
| | | | | | | rcsid. Notes: svn path=/head/; revision=27967
* Remove #if(n)def BSD_4_4_LITE cruft and sccsid -> rcsid.Steve Price1997-08-071-2/+3
| | | | Notes: svn path=/head/; revision=27958
* Submitted by: Whistle Communications (archie Cobbs)Julian Elischer1997-06-021-1/+9
| | | | | | | | | | | | | | | | | | | | | These changes add the ability to specify that a UFS file/directory cannot be unlinked. This is basically a scaled back version of the IMMUTABLE flag. The reason is to allow an administrator to create a directory hierarchy that a group of users can arbitrarily add/delete files from, but that the hierarchy itself is safe from removal by them. If the NOUNLINK definition is set to 0 then this results in no change to what happens normally. (and results in identical binary (in the kernel)). It can be proven that if this bit is never set by the admin, no new behaviour is introduced.. Several "good idea" comments from reviewers plus one grumble about creeping featurism. This code is in production in 2.2 based systems Notes: svn path=/head/; revision=26360
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Merge Lite2 mods, and -Wall cleaning. undelete(2) cruftSteve Price1996-12-141-2/+7
| | | | | | | | | not yet implemented is protected by a define (BSD4_4_LITE) that should be removed when this call is supported by the kernel. Notes: svn path=/head/; revision=20417
* Added $Id$David Greenman1994-09-241-0/+2
| | | | Notes: svn path=/head/; revision=3044
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-261-0/+148
Notes: svn path=/head/; revision=1556