1/* $FreeBSD: head/usr.bin/patch/backupfile.c 246074 2013-01-29 17:03:18Z gabor $ */
| |
2/*-
| 1/*-
|
3 *
| |
4 * Copyright (C) 1990 Free Software Foundation, Inc. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * without restriction. 8 * 9 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. 12 * 13 * backupfile.c -- make Emacs style backup file names 14 * 15 * David MacKenzie <djm@ai.mit.edu>. Some algorithms adapted from GNU Emacs. 16 *
| 2 * Copyright (C) 1990 Free Software Foundation, Inc. 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * without restriction. 6 * 7 * This program is distributed in the hope that it will be useful, but WITHOUT 8 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 9 * FITNESS FOR A PARTICULAR PURPOSE. 10 * 11 * backupfile.c -- make Emacs style backup file names 12 * 13 * David MacKenzie <djm@ai.mit.edu>. Some algorithms adapted from GNU Emacs. 14 *
|
17 * $OpenBSD: backupfile.c,v 1.19 2006/03/11 19:41:30 otto Exp $ 18 * $DragonFly: src/usr.bin/patch/backupfile.c,v 1.5 2008/08/11 00:05:06 joerg Exp $
| 15 * $OpenBSD: backupfile.c,v 1.20 2009/10/27 23:59:41 deraadt Exp $ 16 * $FreeBSD: head/usr.bin/patch/backupfile.c 246091 2013-01-29 20:05:16Z delphij $
|
19 */ 20 21#include <ctype.h> 22#include <dirent.h> 23#include <libgen.h> 24#include <stdio.h> 25#include <stdlib.h> 26#include <string.h>
--- 222 unchanged lines hidden --- | 17 */ 18 19#include <ctype.h> 20#include <dirent.h> 21#include <libgen.h> 22#include <stdio.h> 23#include <stdlib.h> 24#include <string.h>
--- 222 unchanged lines hidden --- |