/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
bin/
..
cat

bump posix spec 2008 -> 2024;

2 года назад
chio

remove unused var

4 года назад
chmod

remove references to fs.posix.setuid; ok tedu

год назад
cp

Stop using MAXBSIZE to eliminate sys/param.h including (which injects a ton of namespace intrusion). Create local sizes, and refactor some code along the way. ok millert

5 лет назад
csh

Now that we have dup2(), csh can use it instead of close()+dup(). Also, as used here, dup/dup2 will clear the close-on-exec flag, so delete the superfluous fcntl(F_SETFD,0) calls

2 года назад
date

gmtime(3) / locatime(3) can fail when timestamps are way off.

2 года назад
dd

Rewrite bytes/sec calculation using fixed point math.

2 года назад
df

Adjust alignment when printing inode columns

год назад
domainname

- make usage() static and __dead - while here switch main to return instead of exit(3)

11 лет назад
echo

Delete obsolete /* ARGSUSED */ lint comments.

3 года назад
ed

remove duplicate unistd.h include

2 года назад
expr

Denote multiple arguments with 'arg ...' not 'args'

4 года назад
hostname

Since netstart r1.208 (2020), it no longer applies /etc/myname

2 года назад
kill

Combine three almost identical synopsis lines into a single one, and three almost identical entries in the options list likewise, bcause all three have identical meaning and almost identical syntax. While here, call the list of signals in signal(3) "complete" rather than "more complete", because that's also true, a stronger statement, and more concise. OK jmc@

год назад
ksh

Minor improvement of the "move right by character" command ('l', SPACE) in VI editing mode. If we are on the first byte in the command line and it is a UTF-8 continuation byte, then it actually takes up a column in the terminal, which typically displays U+FFFD REPLACEMENT CHARACTER. Consequently, moving past this byte should consume one right movement. OK lucas@

год назад
ln

More correction of section 3 layout. directory->opendir, fts->fts_open, getcap->cgetent. pwcache->user_from_uid. And then repair references. ok jmc

7 лет назад
ls

printtime: use the Unix epoch if the file's timestamp is invalid Fixes a crash in "ls -l" for files with bogus timestamp values. OK miod@ denis@

2 года назад
md5

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
mkdir

When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.

7 лет назад
mt

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
mv

remove duplicate includes and license; feedback and ok miod@

2 года назад
pax

use a more readable explanation of directory creation; from evan silberman, tweaked by millert

2 года назад
ps

remove obsolete rsz keyword. ok job

год назад
pwd

Change all tame callers to namechange to pledge(2).

11 лет назад
rm

use warnc(3) instead of handrolling it; OK florian

год назад
rmdir

Fix two bugs that naddy@ reported on tech@: 1. POSIX requires that "mkdir dir; ln -s dir lnk; rmdir lnk/" removes "dir" because rmdir(1) is required to behave like rmdir(2) in this respect and that requires resolving the pathname, and "Base Definitions 4.16 Pathname Resolution" specifies that pathname resolution of "lnk" is complete, while pathname resolution of "lnk/" is not complete, but it resolves to "dir". 2. rmdir -p on an absolute path should not fail with the spurious error "rmdir: : No such file or directory".

год назад
sleep

rewrite was in Tahoe ok cheloha@

4 года назад
stty

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
sync

Add, correct, and improve HISTORY sections. From Sevan Janiyan <venture37 at geeklan dot co dot uk>. Verified using http://minnie.tuhs.org/.

10 лет назад
test

Use timespeccmp() and st_mtim intead of comparing st_mtime.

год назад
Makefile

unlink systrace from the build. pledge is the glorious future that awaits. the rest of systrace to be deleted in a serious of followup commits. ok from larger openbsd developer community

10 лет назад
Makefile.inc

using COPTS is probably better than CFLAGS

12 лет назад