Commit Graph

8470 Commits

Author SHA1 Message Date
christos 14002ac9c8 make sup-0.2 2007-12-20 20:25:08 +00:00
christos 8f6e6d108f include libc.h and c.h after all the headers, so that __unused is not defined
until the headers have been included.
2007-12-20 20:17:52 +00:00
christos fc5737cefd use setproctitle, so that we know which host we are serving. 2007-12-20 20:17:15 +00:00
christos 3791e7cc61 - add setproctitle
- add commented out DEFS for the layout I use.
2007-12-20 20:16:34 +00:00
christos d5abced1d5 If the filesystem where the scan file resides got full while the scanner is
running, you can end up with an incomplete scan file because there was no
error checking done. Then sup will happily delete all the files that are
missing from the scan file. Make sure we have written a good scan file before
renaming.
2007-12-20 20:15:59 +00:00
christos 55dfe21e44 more EE_XXX stuff for different layout. 2007-12-20 20:14:24 +00:00
christos 92376661d1 __unused for those who don't have it [linux] 2007-12-20 20:12:12 +00:00
christos 6ec6ec5548 setproctitle for those who don't have it [linux] 2007-12-20 20:11:24 +00:00
apb f228d2e41d Pass NETBSDSRCDIR in the environment to make. This is insurance against
Makefiles that should have an early .include <bsd.own.mk> but that fail
to do so.  It's also slightly more efficient.
2007-12-20 17:04:57 +00:00
dogcow 881509a404 The blunt instrument approach to dealing with optional compiler sugar:
arbitrarily use the formerly-unused variable. Everybody's happy.
2007-12-18 07:33:54 +00:00
apb 88718b259c Change O_NDELAY to the POSIX standard O_NONBLOCK. This should fix
a compile error when building as a host tool.
2007-12-17 23:04:37 +00:00
apb 68039cfd90 This is a host tool; include nbtool_config.h 2007-12-17 18:18:21 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
yamt 0b6f963133 .htm -> .html 2007-12-15 17:49:14 +00:00
jmmv 80aba14b89 Update URLs after website reorganization in the motd check; per pavel@'s
request.  Closes PR misc/37070.
2007-12-15 17:48:38 +00:00
perry 36c7456d7c include sys/cdefs.h so that __attribute__ can be fixed later 2007-12-15 16:32:05 +00:00
perry 4d096031f0 replace instances of __attribute__((__packed__)) with __packed 2007-12-15 16:03:29 +00:00
perry 3f77c34144 __FUNCTION__ -> __func__ 2007-12-15 00:14:23 +00:00
jmmv d96be1e18a Add a -F option to allow passing a configuration file to ssh(1), instead
of having to use multiple -O options on the command line.  OKed by pooka@.
2007-12-14 10:56:22 +00:00
pooka 074f023a65 Record inode number in psshfs_dir also for already instantiated
nodes when doing readdir.  This makes pwd work again for cases
where getcwd() actually has to do the "READDIR + compare inode
numbers" trick.

Yet another problem reported by jmmv.
2007-12-13 14:59:00 +00:00
pooka 343d277986 *blink*, remember to update comment too 2007-12-13 14:32:47 +00:00
pooka 794adab583 Do previous in a way which causes less waste of potential inode numbers. 2007-12-13 14:31:44 +00:00
lukem bcf893f432 use __RCSID() 2007-12-12 22:55:42 +00:00
christos 22ec0fdf7e warns=4 2007-12-12 21:56:38 +00:00
xtraeme e2749a8b14 Xref battery_pmu(4). 2007-12-12 20:27:30 +00:00
pooka 00b48f3e40 Fix lossage noticed by jmmv (mostly for -t 0 mounts) and make sure
a node always has the inode number set.  And since I'm feeling
generous, sprinkle a few comments around the affected areas (mostly
so that I'd remember what in the world the code is trying to do).
2007-12-12 16:04:35 +00:00
martin aff14f6816 Ooops, backout Makefile change in previous - did not intend to commit
that part
2007-12-12 10:05:44 +00:00
martin 8dee778467 When converting unicode input, replace everything with second byte != 0
with the letter A - this avoids syntax errors if real unicode strings are
used as quoted strings (for example). Fixes a problem converting some
Broadcom driver's .inf file reported on current-users.
Same output generated as with the .inf file properly converted by iconv
upfront.
2007-12-12 10:04:52 +00:00
christos f84222f6f6 fix usage to say we can take multiple files. 2007-12-11 01:40:27 +00:00
dyoung 537fc55662 Add a todo item: read files from multiple directories. 2007-12-10 23:54:35 +00:00
pooka faa30930fd When creating a node, do the server-dance before creating the local
data structure.  This avoids a race between create and lookup, as
the kernel now unlock the directory before the create operation
returns.
2007-12-09 18:05:42 +00:00
dogcow f4c8a4cce7 Turns out we don't actually need to include <sys/namei.h>; since it causes
a compile error, away it goes.
2007-12-09 12:04:06 +00:00
christos f8082d9a50 We should be able to operate on more than one file, like other unix tools. 2007-12-08 19:56:54 +00:00
pooka a86a009392 Don't use puffs_cc_getusermount() 2007-12-07 14:59:22 +00:00
pooka f845b0dacb Get rid of a lot of extra complexity due to doing separate getattr
requests in readdir - just use the results from the readdir rpc.
2007-12-07 14:54:08 +00:00
pooka 2195151d14 In case a node is created in lookup in the readdir path, initialize
attribute cache timestamp to be equal to that of the directory
cache timestamp.
2007-12-07 13:09:49 +00:00
christos 2220b74719 patch from pkgsrc 2007-12-06 21:58:58 +00:00
christos 1f093d4259 PR/37482: Malcolm Herbert: mtree does not check for getlogin() returning null
in spec create
2007-12-05 16:55:29 +00:00
pooka 375257e2a7 Invalidate namecache for a directory only if we've already read it
at least once.
2007-12-05 12:01:44 +00:00
pooka 30e5c41557 When scheduling waiters for re-run, remove them from the waitqueue
already when scheduling to make sure they're not scheduled more
than once.
2007-12-04 19:31:22 +00:00
wiz 6ee13c8582 Do not overload Xr macro. 2007-12-03 18:14:48 +00:00
wiz 5d9460afed Fix xrefs. Sort options. Standardize wording. 2007-12-02 21:22:03 +00:00
wiz 9fbc5e2b76 Sort options. 2007-12-02 21:03:39 +00:00
wiz c50e337e51 Nits. Sort options. 2007-12-02 21:03:32 +00:00
wiz 4721bd8970 Drop trailing whitespace, remove superfluous Pp. 2007-12-02 20:59:29 +00:00
wiz f2714d32d2 Fix Xref. 2007-12-02 19:19:16 +00:00
wiz c3ff82973e Sort SEE ALSO. Minor nit fixes. 2007-12-02 19:05:51 +00:00
kiyohara 7d8e778052 Add EXAMPLES.
Reorder types.
2007-12-02 03:25:36 +00:00
kiyohara 095036e67d Add support bgb2xx.
Obsolate bt2000c.
2007-12-02 00:20:24 +00:00
wiz 8e492a60da Typo fix. 2007-12-01 19:38:38 +00:00