Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 1) Rev.1.35 of dd.c has a more serious regression. It backs out rev.1.31, | markm | 2002-03-07 | 1 | -1/+2 |
| | | | | | | | | thus breaking systems with unpolluted <sys/stat.h>'s. 2) Back out an initialisation of a variable in BSS. Reported by: bde (1), many(2) | ||||
* | Log: | maxim | 2002-03-06 | 1 | -10/+6 |
| | | | | | | | | | | | Remove eaccess(2) absence workaround. Add eaccess(2) checks for FILRD, FILWR, FILEX and FILEXIST cases. We cannot MFC this because there is no eaccess(2) in -stable yet. PR: bin/35076 Reviewed by: ru Approved by: ru | ||||
* | Use ANSI-99 int names (uintXX_t) over traditional BSD int names | imp | 2002-03-05 | 1 | -5/+6 |
| | | | | (u_intXX_t). | ||||
* | Use NLSLINKS to setup symbolic links in NLS area | phantom | 2002-03-04 | 1 | -27/+10 |
| | |||||
* | This file is not used anymore | phantom | 2002-03-04 | 1 | -17/+0 |
| | |||||
* | Use bsd.nls.mk for building/installing NLS files | phantom | 2002-03-04 | 11 | -185/+48 |
| | | | | XXX: links handling simplify | ||||
* | clarify code: | alfred | 2002-03-04 | 1 | -6/+19 |
| | | | | | | | add comments. don't get the length of each arg passed, only the last one. check against == or != NULL rather than using a pointer value as truth test. | ||||
* | Update STANDARDS section on rm(1) to reflect current conformance. | dwhite | 2002-03-02 | 1 | -16/+2 |
| | | | | PR: 35471 | ||||
* | Add (unsigned char) cast lost in WARNS=4 fixes which break 8bit locales | ache | 2002-02-28 | 1 | -1/+1 |
| | | | | PR: 35421 | ||||
* | Fix a bug introduced in rev.1.23 - for some reason mkdir("/", ...) system | sobomax | 2002-02-25 | 1 | -1/+1 |
| | | | | | | | call returns `EISDIR', not `EEXIST', so that be prepared for that. This should fix number of ports, that often call `mkdir -p //usr/local/foobar'. This is just a quick workaround, the real fix would be either to avoid calling mkdir("/", ...) or fix VFS code to return consistent errno for this case. | ||||
* | #include <time.h> for the definition of time functions instead of | bde | 2002-02-25 | 1 | -2/+1 |
| | | | | | | depending on namespace pollution 2 layers deep in <sys/stat.h>. Removed unused includes. | ||||
* | Fixed unsorting. | bde | 2002-02-23 | 1 | -6/+6 |
| | |||||
* | Fixed some style bugs in revs 1.1 and 1.4. | bde | 2002-02-23 | 1 | -4/+4 |
| | |||||
* | ANSIfy. | markm | 2002-02-22 | 1 | -1/+1 |
| | |||||
* | Fix warnings inspired by lint, a commercial lint and WARNS=4. | markm | 2002-02-22 | 4 | -21/+20 |
| | |||||
* | Fix a boatload of warnings inspired by lint, a commercial lint | markm | 2002-02-22 | 1 | -16/+14 |
| | | | | and WARNS=4. | ||||
* | Warnings fixes. | markm | 2002-02-22 | 1 | -1/+2 |
| | |||||
* | Fix warnings inspired by lint, a commercial lint and WARNS=4. | markm | 2002-02-22 | 3 | -6/+10 |
| | |||||
* | Partially fix (well, work around) warnings inspired by lint, a | markm | 2002-02-22 | 1 | -2/+2 |
| | | | | commercial lint and WARNS=4. | ||||
* | Fix warnings inspired by lint, a commercial lint and WARNS=4. | markm | 2002-02-22 | 1 | -2/+3 |
| | |||||
* | Warnings fixes inspired by lint, a commercial lint and WARNS=4. | markm | 2002-02-22 | 1 | -5/+4 |
| | |||||
* | Warning fix. Enter into the spirit of getopt(3) a bit more. | markm | 2002-02-22 | 1 | -0/+2 |
| | |||||
* | Fix warnings inspired by lint, a commercial lint and WARNS=4. | markm | 2002-02-22 | 7 | -36/+35 |
| | |||||
* | Fix warnings inspired by lint, a commercial lint and WARNS=4 | markm | 2002-02-22 | 1 | -9/+8 |
| | |||||
* | Revert wchan functionality. Add 'mwchan' to supply new duel mutex/msleep | dillon | 2002-02-21 | 5 | -3/+34 |
| | | | | | | functionality and make it the default. With additional improvements by: Mark Peek <mp@FreeBSD.org> | ||||
* | Remove extraneous blank line | jedgar | 2002-02-19 | 1 | -1/+0 |
| | |||||
* | Use acl_dup() to duplicate an ACL instead of rolling our own | jedgar | 2002-02-19 | 1 | -14/+2 |
| | |||||
* | Fixed divots that I created when I moved prototypes of group_from_gid | imp | 2002-02-19 | 2 | -0/+4 |
| | | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp | ||||
* | Remove now-obsolete __STDC__ ifdefs, remove redundant NULL definition and | imp | 2002-02-18 | 3 | -14/+1 |
| | | | | include stdlib.h for NULL. | ||||
* | Update build infrastructure for sendmail 8.12. | gshapiro | 2002-02-17 | 1 | -7/+13 |
| | |||||
* | When blocked on a mutex, display the mutex name via the wchan string field | dillon | 2002-02-16 | 1 | -1/+4 |
| | | | | | so we can at least tell the difference between being blocked in Giant and being blocked in some other mutex. | ||||
* | Document the 'M' state. | des | 2002-02-16 | 1 | -0/+2 |
| | |||||
* | Move user_from_uid to pwd.h | imp | 2002-02-14 | 2 | -0/+4 |
| | | | | | | | | | | | | | Move group_from_gid to grp.h Remove from stdlib.h Make the prototypes match the code Fix rm and mv to include new files. NetBSD has these defined in those files, and others too that I've not done. Approved by: terminal room kabal Reviewed by: jhb, phk | ||||
* | Install complete.tcsh and csh-mode.el into ${SHAREDIR}/examples/tcsh. | mp | 2002-02-12 | 1 | -0/+3 |
| | | | | | | PR: misc/34800 (from Steven Grady) Submitted by: phantom (patch) MFC after: 3 days | ||||
* | Repo-copied `src/bin/pwd/realpath.1' to `src/bin/realpath/realpath.1', | mike | 2002-02-11 | 1 | -68/+0 |
| | | | | as part of the move to seperate realpath(1) into its own directory. | ||||
* | o Remove old code from pwd(1); realpath(1) is now in its own directory. | mike | 2002-02-11 | 3 | -19/+4 |
| | | | | | o Fix some unordered includes in pwd(1). o Connect realpath(1) to the build. | ||||
* | Move the realpath(1) source into its own directory. Previously, it | mike | 2002-02-11 | 2 | -0/+74 |
| | | | | shared sources with pwd(1). | ||||
* | Use the getprogname(3) function instead of directly accessing | mike | 2002-02-10 | 1 | -4/+2 |
| | | | | | | `__progname'. Submitted by: dd | ||||
* | Remove leaf node WARNS?=2 (that mainly I added). This should | markm | 2002-02-08 | 1 | -1/+0 |
| | | | | help the GCC3 transition and CURRENT in general. | ||||
* | Correct a logic bug that snuck in and broke multiplication of off_ts. | green | 2002-02-07 | 1 | -1/+1 |
| | |||||
* | Fix the race between the stat() and the mkdir(). | zarzycki | 2002-02-05 | 1 | -16/+19 |
| | | | | Reviewed by: jkh | ||||
* | Add -L option (SUSv3) to pwd(1). Fix a bug, where realpath(1) would | mike | 2002-02-04 | 2 | -28/+84 |
| | | | | | | | | complain about paths starting with `-', by not calling getopt(3). Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> Obtained from: NetBSD (partially) MFC after: 1 month | ||||
* | Correct inadvertent style botches in previous commit. | kris | 2002-02-04 | 5 | -11/+7 |
| | |||||
* | Lock down with WFORMAT=1 except those directories with unfixed warnings. | kris | 2002-02-04 | 10 | -1/+16 |
| | | | | Tested on i386 and alpha. | ||||
* | __printflike() should really be __printf0like() since verrx() can | kris | 2002-02-04 | 1 | -1/+1 |
| | | | | accept a NULL format string. | ||||
* | Add a __printflike() attribute to silence warning with FORMAT_AUDIT=1 | kris | 2002-02-04 | 1 | -1/+2 |
| | |||||
* | Use __FBSDID() and clean up the vendor tags. | markm | 2002-02-03 | 5 | -21/+27 |
| | |||||
* | WARNS=4 fixes, plus a healthy dose of fixes inspired by lint. | markm | 2002-02-03 | 7 | -72/+84 |
| | |||||
* | WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extra | markm | 2002-02-03 | 10 | -235/+239 |
| | | | | cleanup courtesy of automatic checking (lint). | ||||
* | Work around a buffer overflow problem on argv that has been exposed | knu | 2002-02-03 | 1 | -6/+16 |
| | | | | | | | | | | | | | | | | | | after making test(1) a sh(1) builtin; sh(1) coredumps when you run something like this: sh -c 'test ! `true 1`' The cause is that the test(1) code totally depends on the presence of two extra cells at the end of argv that are filled with NULL's. The reason why the bug hasn't been exposed would be because the C startup code kindly prepares argv with some extra zeroed cells for a program. I know this is not the best fix, but since there are argv++'s without boundary checks everywhere, I'd rather patch it up like this (preparing a copy of argv with extra NULL's) for the moment. MFC after: 3 days |