]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years agoFix mips-elf --enable-libmudflap make -j2 failure.
Jim Wilson [Wed, 5 Oct 2005 01:19:36 +0000 (01:19 +0000)]
Fix mips-elf --enable-libmudflap make -j2 failure.
* Makefile.def (lang_env_dependencies): Add libmudflap.
* Makefile.in: Regenerate.

19 years ago2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 4 Oct 2005 21:02:59 +0000 (21:02 +0000)]
2005-10-04  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h: Move magic to set __have_long* to the
        beginning.  Use #if __have* instead of #if defined(__have*).
        Minor typo fixes.

19 years ago2005-10-04 James E Wilson <wilson@specifix.com>
Jeff Johnston [Tue, 4 Oct 2005 20:47:39 +0000 (20:47 +0000)]
2005-10-04  James E Wilson  <wilson@specifix.com>

* libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next.  Add
#error.

19 years ago2005-10-03 James E Wilson <wilson@specifix.com>
Jeff Johnston [Mon, 3 Oct 2005 17:29:47 +0000 (17:29 +0000)]
2005-10-03  James E Wilson  <wilson@specifix.com>

        * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
        mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
        mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
        jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
        mips/pmon.ld: Add support for .bss.* sections.

19 years ago* cygheap.h (class process_lock): New class.
Christopher Faylor [Mon, 3 Oct 2005 17:23:54 +0000 (17:23 +0000)]
* cygheap.h (class process_lock): New class.
* dtable.h (class dtable): Add class process_lock as a friend.
* dcrt0.cc (get_exit_lock): Delete.
(do_exit): Use process_lock class instead of get_exit_lock.
* exceptions.cc (signal_exit): Ditto.
* pinfo.cc (pinfo::exit): Ditto.
(_pinfo::commune_process): Set process lock around this whole function.
(_pinfo::commune_request): Use process_lock rather than myself.lock.
* pinfo.h (pinfo::_lock): Delete.
(pinfo::initialize_lock): Delete.
(pinfo::lock): Delete.
(pinfo::unlock): Delete.
* winsup.h (get_exit_lock): Delete declaration.

19 years ago2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 3 Oct 2005 17:22:38 +0000 (17:22 +0000)]
2005-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
        incorporate Ralf's change below.

19 years ago2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Mon, 3 Oct 2005 17:02:48 +0000 (17:02 +0000)]
2005-10-03  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h:
        Use __INTMAX_TYPE__ to derive intmax_t.
        Use __UINTMAX_TYPE__ to derive uintmax_t.
        Fix minor typo.

19 years agoadd other options
Christopher Faylor [Mon, 3 Oct 2005 16:39:29 +0000 (16:39 +0000)]
add other options

19 years agoRegenerated with 2.13 version of autoconf.
Catherine Moore [Mon, 3 Oct 2005 15:35:57 +0000 (15:35 +0000)]
Regenerated with 2.13 version of autoconf.

19 years ago * configure.in (bfin-*-*): Support bfin.
Catherine Moore [Mon, 3 Oct 2005 15:11:13 +0000 (15:11 +0000)]
* configure.in (bfin-*-*): Support bfin.
* configure: Regenerated.

19 years ago * uname.cc (uname): Disable use of GetNativeSystemInfo.
Corinna Vinschen [Mon, 3 Oct 2005 09:24:42 +0000 (09:24 +0000)]
* uname.cc (uname): Disable use of GetNativeSystemInfo.

19 years ago2005-10-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Sun, 2 Oct 2005 20:56:53 +0000 (20:56 +0000)]
2005-10-02  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

* faq-what.xml: Add 2003 and WOW64 to "supported" FAQ.
* faq-programming.xml: Fix cygexec FAQ, building link.

19 years ago* dcrt0.cc (get_exit_lock): Use myself.lock rather than exit_lock.
Christopher Faylor [Sun, 2 Oct 2005 00:13:41 +0000 (00:13 +0000)]
* dcrt0.cc (get_exit_lock): Use myself.lock rather than exit_lock.
* exceptions.cc (exit_lock): Delete.
(events_init): Don't init exit_lock.
* (_pinfo::commune_process): Add per-PICOM debugging.
* sigproc.cc (talktome): Add some temporary debugging statements.
* fhandler_proc.cc (format_proc_cpuinfo): Cosmetic change.
(format_proc_partitions): Ditto.
* syscalls.cc (locked_append): Ditto.

19 years ago* dcrt0.cc (do_exit): Don't set ES_SET_MUTO here. Call get_exit_lock()
Christopher Faylor [Fri, 30 Sep 2005 23:52:13 +0000 (23:52 +0000)]
* dcrt0.cc (do_exit): Don't set ES_SET_MUTO here.  Call get_exit_lock()
instead.
(get_exit_lock): New function.  Grabs the lock and sets initial exit_state.
* exceptions.cc (try_to_debug): Use low_priority_sleep.
(sigpacket::process): Avoid handler if this is an exec stub.
(signal_exit): Use get_exit_lock rather than manipulating the exit_lock
critical section directly.
* pinfo.cc (pinfo::exit): Ditto.
* winsup.h (get_exit_lock): Declare.
(exit_lock): Delete declaration.

19 years ago * dis-asm.h (print_insn_bfin): Declare.
Catherine Moore [Fri, 30 Sep 2005 15:12:52 +0000 (15:12 +0000)]
* dis-asm.h (print_insn_bfin): Declare.
* elf/bfin.h: New file.
* elf/common.h (EM_BLACKFIN): Define.
* opcode/bfin.h: New file.

19 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:50:57 +0000 (14:50 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in (*-*-darwin*): Build bfd, binutils and opcodes.
* configure: Regenerated.

19 years ago Fix typo.
Corinna Vinschen [Fri, 30 Sep 2005 11:03:35 +0000 (11:03 +0000)]
Fix typo.

19 years ago * fhandler_disk_file.cc: Change calls to pc.set_attributes into
Corinna Vinschen [Fri, 30 Sep 2005 11:02:47 +0000 (11:02 +0000)]
* fhandler_disk_file.cc: Change calls to pc.set_attributes into
calls to pc.file_attributes throughout.
* path.h (class path_conv): Remove superfluous set_attributes method.

19 years ago * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Use
Corinna Vinschen [Fri, 30 Sep 2005 10:54:45 +0000 (10:54 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Use
fhandler method to access majoer device number.  Add comment to
explain floppy weirdness.

19 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Also use
Corinna Vinschen [Fri, 30 Sep 2005 10:27:14 +0000 (10:27 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Also use
attributes stored in this->pc if call to GetFileInformationByHandle
failed.

19 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only write
Corinna Vinschen [Fri, 30 Sep 2005 08:05:42 +0000 (08:05 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only write
attributes if call to GetFileInformationByHandle was successful.

19 years ago* fork.cc (frok::parent): Simplify error messages. Don't issue an error when
Christopher Faylor [Fri, 30 Sep 2005 00:18:30 +0000 (00:18 +0000)]
* fork.cc (frok::parent): Simplify error messages.  Don't issue an error when
child.remember fails.
(fork): When appropriate, build up an error message from grouped.error.

19 years ago * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Don't call
Corinna Vinschen [Thu, 29 Sep 2005 16:57:09 +0000 (16:57 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Don't call
EX ioctls on floppy drives.

19 years ago * dir.cc (mkdir): Check for trailing /. or /.. component.
Corinna Vinschen [Thu, 29 Sep 2005 16:23:22 +0000 (16:23 +0000)]
* dir.cc (mkdir): Check for trailing /. or /.. component.
(rmdir): Ditto.
* path.cc (has_dot_last_component): New function.
* path.h (has_dot_last_component): Add declaration.

19 years ago * crt0.cc: Remove PPC considerations.
Corinna Vinschen [Thu, 29 Sep 2005 14:28:22 +0000 (14:28 +0000)]
* crt0.cc: Remove PPC considerations.
(WinMainCRTStartup): Add symbol as alias to mainCRTStartup.

19 years agoIndex: ChangeLog
Geoffrey Keating [Thu, 29 Sep 2005 01:00:26 +0000 (01:00 +0000)]
Index: ChangeLog
2005-09-28  Geoffrey Keating  <geoffk@apple.com>

* Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP.
(LIPO_FOR_TARGET): New.
(CONFIGURED_LIPO_FOR_TARGET): New.
(USUAL_LIPO_FOR_TARGET): New.
(STRIP_FOR_TARGET): New.
(CONFIGURED_STRIP_FOR_TARGET): New.
(USUAL_STRIP_FOR_TARGET): New.
* Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and
STRIP_FOR_TARGET.
* configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET,
CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET.
* Makefile.in: Regenerate.
* configure.in: Regenerate.

Index: gcc/ChangeLog
2005-09-28  Geoffrey Keating  <geoffk@apple.com>

* Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET.
(stage1-start): Delete old libgcc and libunwind before moving
anything into the stage directory.
(stage2-start): Likewise.
(stage3-start): Likewise.
(stage4-start): Likewise.
(stageprofile-start): Likewise.
(stagefeedback-start): Likewise.
* config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h
header in tm_file and CPU-specific t-darwin in tmake_file.
(i[34567]86-*-darwin*): Don't change tm_file.
(powerpc-*-darwin*): Don't change tm_file or tmake_file.
* config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc
shared library stub for target OS version.
* config/t-slibgcc-darwin (SHLIB_SOLINK): Delete.
(SHLIB_LINK): Don't make SHLIB_SOLINK.
(SHLIB_INSTALL): Don't install SHLIB_SOLINK.
(libgcc_s.%.dylib): New.
(LIBGCC): Define.
(install-darwin-libgcc-stubs): New.
(INSTALL_LIBGCC): New append.
* config/i386/darwin-libgcc.10.4.ver: New.
* config/i386/darwin-libgcc.10.5.ver: New.
* config/i386/t-darwin: New.
* config/rs6000/darwin-libgcc.10.4.ver: New.
* config/rs6000/darwin-libgcc.10.5.ver: New.
* config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete.
* config/rs6000/t-darwin (SHLIB_VERPFX): Define.

19 years agoFix typo.
Christopher Faylor [Wed, 28 Sep 2005 23:24:57 +0000 (23:24 +0000)]
Fix typo.

19 years agoChange name from commune_recv to commune_process throughout. Change name from
Christopher Faylor [Wed, 28 Sep 2005 22:56:47 +0000 (22:56 +0000)]
Change name from commune_recv to commune_process throughout.  Change name from
commune_send to commune_request throughout.
* pinfo.h (PICOM_EXTRASTR): New flag.
(PICOM_FIFO): Define with new flag.
(_pinfo::hello_pid): Delete.
(_pinfo::tothem): Delete.
(_pinfo::fromthem): Delete.
(_pinfo::commune_process): Rename from commune_recv.  Add a siginfo_t argument
to declaration.
(_pinfo::commune_request): Rename from commune_send.  Change DWORD to
__uint32_t in declaration.
* pinfo.cc (_pinfo::commune_process): Rename from commune_recv.  Add siginfo_t
argument.  Use information from argument rather than reading from another pipe.
Synchronize with other process's commune event.
(_pinfo::commune_request): Rename from commune_send.  Change DWORD to __uint32
in argument.  Fill out information in new siginfo_t element and rely on
extended operation of sig_send rather than trying to deal with synchronization
issues here.  Use process handle and read pipe information filled out by
sig_send to gather information from the other process.
* sigproc.cc (sig_send): Take special action if "communing" to ensure
synchronization with the other process and to return information about the
other process to the caller.
(talktome): Accept a siginfo_t and handle arguments.  Read additional
information from the signal pipe when _si_commune._si_code has the
PICOM_EXTRASTR flag set.
(wait_sig): Pass the transmitted siginfo_t struct and the pipe handle to
talktome.  Close pipe read handle as soon as possible after we detect that
we're exiting.

19 years ago* hookapi.cc (hook_or_detect_cygwin): Correct inverted test for whether to
Christopher Faylor [Wed, 28 Sep 2005 20:20:57 +0000 (20:20 +0000)]
* hookapi.cc (hook_or_detect_cygwin): Correct inverted test for whether to
allocate a buffer by always allocating a buffer.

19 years ago * fhandler.h (class fhandler_dev_raw): Delete current_position and
Corinna Vinschen [Wed, 28 Sep 2005 19:33:18 +0000 (19:33 +0000)]
* fhandler.h (class fhandler_dev_raw): Delete current_position and
eof_detected status flag.  Delete is_eom and is_eof methods.
Move drive_size, bytes_per_sector, eom_detected status flag, as well
as the methods read_file, write_file, raw_read and raw_write to ...
(class fhandler_dev_floppy): ... here. Remove is_eom and is_eof
methods.  Add dup method.
* fhandler_floppy.cc (IS_EOM): New macro.
(fhandler_dev_floppy::is_eom): Remove.
(fhandler_dev_floppy::is_eof): Remove.
(fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags.
(fhandler_dev_floppy::get_drive_info): Only call EX functions on
systems supporting them and stop suffering strange delays.
(fhandler_dev_floppy::read_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::write_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::open): Rearrange comment.
(fhandler_dev_floppy::dup): New method.
(fhandler_dev_floppy::get_current_position): New inline method.  Use
instead of former current_position were appropriate.
(fhandler_dev_floppy::raw_read): Move here.  Drop EOF handling.
(fhandler_dev_floppy::raw_write): Move here.  Drop EOF handling.
(fhandler_dev_floppy::lseek): Remove useless conditions.  Convert
sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call.
(fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case
to here.
* fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove.
(fhandler_dev_raw::is_eof): Remove.
(fhandler_dev_raw::write_file): Remove.
(fhandler_dev_raw::read_file): Remove.
(fhandler_dev_raw::raw_read): Remove.
(fhandler_dev_raw::raw_write): Remove.
(fhandler_dev_raw::dup): Drop copying removed members.
(fhandler_dev_raw::ioctl): Drop blocksize testing.
* wincap.h: Implement has_disk_ex_ioctls throughout.
* wincap.cc: Ditto.
(wincap_vista): Preliminary wincaps for Windows Vista/Longhorn.
(wincapc::init): Add Vista/Longhorn handling.

19 years ago Revert erroneous checkin.
Corinna Vinschen [Wed, 28 Sep 2005 19:22:25 +0000 (19:22 +0000)]
Revert erroneous checkin.

19 years ago * fhandler.h (class fhandler_dev_raw): Delete current_position and
Corinna Vinschen [Wed, 28 Sep 2005 19:02:53 +0000 (19:02 +0000)]
* fhandler.h (class fhandler_dev_raw): Delete current_position and
eof_detected status flag.  Delete is_eom and is_eof methods.
Move drive_size, bytes_per_sector, eom_detected status flag, as well
as the methods read_file, write_file, raw_read and raw_write to ...
(class fhandler_dev_floppy): ... here. Remove is_eom and is_eof
methods.  Add dup method.
* fhandler_floppy.cc (IS_EOM): New macro.
(fhandler_dev_floppy::is_eom): Remove.
(fhandler_dev_floppy::is_eof): Remove.
(fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags.
(fhandler_dev_floppy::get_drive_info): Only call EX functions on
systems supporting them and stop suffering strange delays.
(fhandler_dev_floppy::read_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::write_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::open): Rearrange comment.
(fhandler_dev_floppy::dup): New method.
(fhandler_dev_floppy::get_current_position): New inline method.  Use
instead of former current_position were appropriate.
(fhandler_dev_floppy::raw_read): Move here.  Drop EOF handling.
(fhandler_dev_floppy::raw_write): Move here.  Drop EOF handling.
(fhandler_dev_floppy::lseek): Remove useless conditions.  Convert
sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call.
(fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case
to here.
* fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove.
(fhandler_dev_raw::is_eof): Remove.
(fhandler_dev_raw::write_file): Remove.
(fhandler_dev_raw::read_file): Remove.
(fhandler_dev_raw::raw_read): Remove.
(fhandler_dev_raw::raw_write): Remove.
(fhandler_dev_raw::dup): Drop copying removed members.
(fhandler_dev_raw::ioctl): Drop blocksize testing.
* wincap.h: Implement has_disk_ex_ioctls throughout.
* wincap.cc: Ditto.
(wincap_vista): Preliminary wincaps for Windows Vista/Longhorn.
(wincapc::init): Add Vista/Longhorn handling.

19 years ago* dcrt0.cc (getstack): New function.
Christopher Faylor [Wed, 28 Sep 2005 15:18:49 +0000 (15:18 +0000)]
* dcrt0.cc (getstack): New function.
(alloc_stack): Use tls stuff for stack info rather than calling VirtualQuery.
(dll_crt0_0): Initialize _impure_ptr stuff much earlier.  Move
init_console_handler here.
* fork.cc (class frok): New class renamed from local fork() struct.
(stack_base): Change argument type.  Use tls stuff to determine stack info
rather than calling VirtualQuery.
(frok::child): Rename from fork_child.  Eliminate now unneeded arguments.
(frok::parent): Rename from fork_parent and ditto.  Set error and errno as
appropriate.  Fixup impersonation in cleanup, if needed.  Try harder to set
errno appropriately.
(fork): Define "grouped" as a frok type.  Deal with errors from fork_parent
here.
* init.cc (dll_entry): Remove init_console_handler call.

19 years ago* pinfo.cc (_pinfo::dup_proc_pipe): Ignore error if the child process has just
Christopher Faylor [Wed, 28 Sep 2005 13:55:04 +0000 (13:55 +0000)]
* pinfo.cc (_pinfo::dup_proc_pipe): Ignore error if the child process has just
gone away.

19 years ago* init.cc (prime_threads): Make this static, as it should be.
Christopher Faylor [Wed, 28 Sep 2005 02:43:29 +0000 (02:43 +0000)]
* init.cc (prime_threads): Make this static, as it should be.
(dll_entry): Apply cosmetic changes to define closer to the way MSDN suggests.

19 years ago2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 27 Sep 2005 20:49:53 +0000 (20:49 +0000)]
2005-09-27  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
        handling GCC >= 4.

19 years ago * pthread.cc (mangle_sem_name): Use cygheap->shared_prefix instead
Corinna Vinschen [Tue, 27 Sep 2005 20:34:19 +0000 (20:34 +0000)]
* pthread.cc (mangle_sem_name): Use cygheap->shared_prefix instead
of fiddling with wincap.has_terminal_services manually.

19 years ago * cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitely
Corinna Vinschen [Tue, 27 Sep 2005 19:04:38 +0000 (19:04 +0000)]
* cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitely
since hProcImpToken isn't initialized here.
* shared.cc (open_shared): Always print mapname instead of name in
debug output.

19 years ago* strace.cc (strace::vsprntf): Avoid printing a zero pid.
Christopher Faylor [Tue, 27 Sep 2005 18:54:32 +0000 (18:54 +0000)]
* strace.cc (strace::vsprntf): Avoid printing a zero pid.

19 years ago * init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess
Corinna Vinschen [Tue, 27 Sep 2005 17:44:29 +0000 (17:44 +0000)]
* init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess
as process handle since hMainProc isn't initialized here.

19 years ago * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Always
Corinna Vinschen [Tue, 27 Sep 2005 15:33:02 +0000 (15:33 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Always
try IOCTL_DISK_GET_DRIVE_GEOMETRY_EX and
IOCTL_DISK_GET_PARTITION_INFO_EX ioctls first, to allow access to GPT
partitioned disks.  Fall back to old non-EX ioctls otherwise.
Add comment to explain NT4 weirdness.

19 years ago * libiberty.h (expandargv): New function.
Mark Mitchell [Mon, 26 Sep 2005 21:02:57 +0000 (21:02 +0000)]
* libiberty.h (expandargv): New function.

* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
* Makefile.in: Regenerated.

19 years ago * errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND.
Corinna Vinschen [Mon, 26 Sep 2005 15:27:15 +0000 (15:27 +0000)]
* errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND.

19 years ago* exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.
Christopher Faylor [Mon, 26 Sep 2005 14:58:16 +0000 (14:58 +0000)]
* exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.

19 years ago * fhandler.h (class fhandler_dev_raw): Add drive information members
Corinna Vinschen [Mon, 26 Sep 2005 14:55:40 +0000 (14:55 +0000)]
* fhandler.h (class fhandler_dev_raw): Add drive information members
drive_size, current_position and bytes_per_sector.
(fhandler_dev_floppy::get_drive_info): Declare.
* fhandler_floppy.cc (fhandler_dev_floppy::is_eom): Define ERROR_SEEK
and ERROR_SECTOR_NOT_FOUND as end-of-medium conditions.
(fhandler_dev_floppy::get_drive_info): New method to have one function
retrieving drive info.
(fhandler_dev_floppy::open): Call get_drive_info to get drive
information right from the start.
(fhandler_dev_floppy::lseek): Use and set drive information members.
Especially keep track of current_position.
(fhandler_dev_floppy::ioctl): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::write_file): Keep track of
current_position.
(fhandler_dev_raw::read_file): Ditto.
(fhandler_dev_raw::raw_read): Never try to read beyond end-of-medium.
(fhandler_dev_raw::dup): Handle new drive information members.

19 years ago* exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let it
Christopher Faylor [Mon, 26 Sep 2005 14:51:48 +0000 (14:51 +0000)]
* exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let it
be overridden.
* exceptions.cc (_cygtls::call_signal_handler): Call signal handler with extra
siginfo_t * and void * parameters when SA_SIGINFO flag is set.
* signal.cc (signal): Clear SA_SIGINFO flag.
(sigqueue): Fix incorrect setting of si_code.
* sigproc.cc (signal_fixup_after_exec): Clear SA_SIGINFO flag when setting
handler to SIG_DFL.

19 years ago* pinfo.cc (proc_waiter): Properly fill out si_code as according to SUSv3.
Christopher Faylor [Mon, 26 Sep 2005 13:47:27 +0000 (13:47 +0000)]
* pinfo.cc (proc_waiter): Properly fill out si_code as according to SUSv3.
* exceptions.cc (handle_exceptions): Properly fill out si_code as according to
SUSv3.

19 years ago* exceptions.cc (handle_exceptions): Properly fill out si_code.
Christopher Faylor [Mon, 26 Sep 2005 13:23:47 +0000 (13:23 +0000)]
* exceptions.cc (handle_exceptions): Properly fill out si_code.

19 years ago* sigproc.cc (wait_sig): Cosmetic change.
Christopher Faylor [Mon, 26 Sep 2005 01:27:36 +0000 (01:27 +0000)]
* sigproc.cc (wait_sig): Cosmetic change.
* pinfo.cc (pinfo::exit): Don't explicitly remove myself since some other
thread may still be using it.

19 years ago2005-09-25 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Mon, 26 Sep 2005 00:29:51 +0000 (00:29 +0000)]
2005-09-25  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

* faq.xml: Remove copyright section, link to license.html
* faq-sections.xml: Remove copyright section, link to license.html
* faq-programming.xml: Remove confusing reference to Red Hat.
* faq-what.xml: Reword "supported" FAQ.

19 years ago * hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.
John David Anglin [Sun, 25 Sep 2005 02:33:54 +0000 (02:33 +0000)]
* hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.

19 years ago* sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthread
Christopher Faylor [Sat, 24 Sep 2005 19:17:49 +0000 (19:17 +0000)]
* sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthread
change.

19 years ago * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
Danny Smith [Sat, 24 Sep 2005 01:26:24 +0000 (01:26 +0000)]
* include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
Avoid raising FP exceptions.

19 years ago* shared.cc (open_shared): Add crucial bit of debugging info.
Christopher Faylor [Fri, 23 Sep 2005 23:56:17 +0000 (23:56 +0000)]
* shared.cc (open_shared): Add crucial bit of debugging info.

19 years agoSemi-reversion of always-exit-from-sigthread change of 2005-09-15.
Christopher Faylor [Fri, 23 Sep 2005 23:37:52 +0000 (23:37 +0000)]
Semi-reversion of always-exit-from-sigthread change of 2005-09-15.
* exceptions.cc (sigpacket::process): Eliminate return after call to reinstated
noreturn function.
(signal_exit): Allow function to exit when a captive process has been
terminated.
* pinfo.cc (pinfo::exit): Enter exit_lock here.  Once again exit here under
control of exit_lock.
* sigproc.cc (sig_send): Don't wait for completion if process is exiting.
Remove special __SIGEXIT accommodations.
(wait_sig): Just exit the thread when a __SIGEXIT has been detected.  Don't
exit the process.

19 years ago* net.cc (cygwin_gethostbyname): Remove debugging cruft.
Christopher Faylor [Fri, 23 Sep 2005 23:25:25 +0000 (23:25 +0000)]
* net.cc (cygwin_gethostbyname): Remove debugging cruft.

19 years ago2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 23 Sep 2005 22:41:24 +0000 (22:41 +0000)]
2005-09-23      Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * lib/ddk/newdev.def: Added.
        Thanks to: Stephan Meyer <ste_meyer at users dot sourceforge dot net>

19 years ago* pinfo.cc (pinfo::exit): Call ExitProcess if called from signal thread.
Christopher Faylor [Fri, 23 Sep 2005 20:05:50 +0000 (20:05 +0000)]
* pinfo.cc (pinfo::exit): Call ExitProcess if called from signal thread.

19 years ago2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 23 Sep 2005 19:59:33 +0000 (19:59 +0000)]
2005-09-23      Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/commdlg.h (OPENFILENAME): Added WINNT >= 0x0500
        component.
        Thanks to: Gennady Feldman <gena01 at users dot sourceforge dot net>

19 years ago* tlsoffsets.h: Regenerate.
Christopher Faylor [Fri, 23 Sep 2005 19:24:03 +0000 (19:24 +0000)]
* tlsoffsets.h: Regenerate.

19 years ago* pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle.
Christopher Faylor [Fri, 23 Sep 2005 19:23:26 +0000 (19:23 +0000)]
* pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle.

19 years ago * enable.m4: New file.
Tom Tromey [Fri, 23 Sep 2005 17:28:31 +0000 (17:28 +0000)]
* enable.m4: New file.
* tls.m4: New file.

19 years ago2005-09-23 James E Wilson <wilson@specifix.com>
Jeff Johnston [Fri, 23 Sep 2005 15:51:10 +0000 (15:51 +0000)]
2005-09-23  James E Wilson  <wilson@specifix.com>

        * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
        mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
        mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
        jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
        mips/pmon.ld: Change x* to x.* in existing linkonce lines.  Add
        support for .gnu.linkonce.b.*.

19 years ago* cygtls.h (struct _cygtls::thread_handle): Remove/revert.
Christopher Faylor [Fri, 23 Sep 2005 15:18:22 +0000 (15:18 +0000)]
* cygtls.h (struct _cygtls::thread_handle): Remove/revert.
* sigproc.h (struct sipacket::thread_handle): Put thread_handle here.
* sigproc.cc (sigproc_terminate): Move setting of thread_handle...
(sig_send): ...to here.  Put it in packet being sent.  Only close pack.wakeup
when we're waiting for completion.
(wait_sig): Use thread_handle directly from received packet.

19 years ago2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 23 Sep 2005 10:50:15 +0000 (10:50 +0000)]
2005-09-23      Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * lib/shell32.def (SHILCreateFromPath): Add stub.
        Thanks to: Michael Jung <mjung at iss dot tu-darmstadt dot de>

19 years ago* tlsoffsets.h: Regenerate.
Christopher Faylor [Fri, 23 Sep 2005 03:40:57 +0000 (03:40 +0000)]
* tlsoffsets.h: Regenerate.

19 years ago* cygheap.cc (cygheap_fixup_in_child): It's not just for exec.
Christopher Faylor [Fri, 23 Sep 2005 03:35:41 +0000 (03:35 +0000)]
* cygheap.cc (cygheap_fixup_in_child): It's not just for exec.
* cygtls.h (struct _cygtls::thread_handle): New field.
* dcrt0.cc (exit_lock): Remove declaration.
* winsup.h (exit_lock): Add declaration.
* exceptions.cc (sigpacket::process): Properly return after signal_exit.
* pinfo.cc (pinfo::exit): Only exit the process if _my_tls.thread_handle has
not been filled out -- which should be an impossible event.
* sigproc.cc (sigproc_terminate): Fillout _my_tls.thread_handle to provide
something for wait_sig to wait for.  Use the siginfo_t version of sig_send and
fill out the tls argument with _my_tls.
(wait_sig): Wait for the thread specified in pack.tls or (for now) complain
bitterly if it doesn't exit.

19 years ago* pinfo.cc (set_myself): Call strace.hello unconditionally when DEBUGGING.
Christopher Faylor [Thu, 22 Sep 2005 21:10:07 +0000 (21:10 +0000)]
* pinfo.cc (set_myself): Call strace.hello unconditionally when DEBUGGING.
(pinfo::init): Sleep and issue debugging output before looping when a
PID_EXITED is found.

19 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/paste
Corinna Vinschen [Thu, 22 Sep 2005 17:53:38 +0000 (17:53 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/paste
bug.

19 years ago* strace.cc (strace::vsprntf): Avoid accessing myself->pid if !myself.
Christopher Faylor [Thu, 22 Sep 2005 17:06:48 +0000 (17:06 +0000)]
* strace.cc (strace::vsprntf): Avoid accessing myself->pid if !myself.

19 years ago* include/sys/strace.h (_STRACE_ON): Remove semicolon from definition.
Christopher Faylor [Thu, 22 Sep 2005 16:41:36 +0000 (16:41 +0000)]
* include/sys/strace.h (_STRACE_ON): Remove semicolon from definition.
(_STRACE_OFF): Remove semicolon from definition.

19 years ago * fhandler.h (fhandler_base::fstat_helper): Declare with additional
Corinna Vinschen [Thu, 22 Sep 2005 15:52:02 +0000 (15:52 +0000)]
* fhandler.h (fhandler_base::fstat_helper): Declare with additional
file attributes argument.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Use
file attributes evaluated from NtQueryFileInformation or
FileInformationByHandle in call to fstat_helper.
Set pc.fileattr from just evaluated file attributes here.
(fhandler_base::fstat_by_name): Use file attributes evaluated from
FindFileFirst or default attribute in call to fstat_helper.
Set pc.fileattr from just evaluated file attributes here.
(fhandler_base::fstat_helper): Use file attributes given as argument,
not file attributes stored in this fhandler, since this information
is potentially wrong.  Add comment to explain this.
* path.h (has_attribute): New global inline function.
(path_conv::set_attributes): New method to change fileattr.

19 years ago Fix typo.
Corinna Vinschen [Wed, 21 Sep 2005 22:27:38 +0000 (22:27 +0000)]
Fix typo.

19 years ago Align error message handling to mkpasswd's error messages throughout.
Corinna Vinschen [Wed, 21 Sep 2005 22:26:08 +0000 (22:26 +0000)]
Align error message handling to mkpasswd's error messages throughout.
* mkgroup.c (print_win_error): Create macro calling ...
(_print_win_error): ... this function created from former
print_win_error.  Move up in source.
(PDOMAIN_CONTROLLER_INFOW): Define return type of DcGetDcNameW.
(dsgetdcname): New function pointer for DcGetDcNameW.
(load_netapi): Get DcGetDcNameW address.
(main): If DcGetDcNameW is available, use it.
* mkpasswd.c (PDOMAIN_CONTROLLER_INFOW): Define return type of
DcGetDcNameW.
(dsgetdcname): New function pointer for DcGetDcNameW.
(load_netapi): Get DcGetDcNameW address.
(main): If DcGetDcNameW is available, use it.  Rename local variable
domain_name_specified to domain_specified as in mkgroup.c.

19 years ago* cygthread.cc (cygthread::operator new): Just use getenv() to look for
Christopher Faylor [Wed, 21 Sep 2005 19:29:50 +0000 (19:29 +0000)]
* cygthread.cc (cygthread::operator new): Just use getenv() to look for
CYGWIN_FREERANGE_NOCHECK since the Windows environment may be truncated by
being previously execed.

19 years ago2005-09-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Wed, 21 Sep 2005 19:20:46 +0000 (19:20 +0000)]
2005-09-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

* include/winbase.h (RegisterWaitForSingleObject,
RegisterWaitForSingleObjectEx): Define.
* lib/kernel32.def (RegisterWaitForSingleObjectEx@20): Define.
(RegisterWaitForSingleObject@16): Changed to
RegisterWaitForSingleObject@24.
Thanks to: Brandon Sneed <nivenh at users dot sourceforge dot net>

19 years ago2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 20 Sep 2005 22:36:07 +0000 (22:36 +0000)]
2005-09-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/stdint.h: Update to match functionality
        of generic newlib stdint.h.

19 years ago2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 20 Sep 2005 21:21:51 +0000 (21:21 +0000)]
2005-09-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
        and do not #undef the macro after it is used.  Fix typos.
        Also change 64-bit constants to use the __have_long64 and
        __have_longlong64 flags to determine if long or long long
        constants should be used.
        * libc/include/inttypes.h: Include stddef.h to get wchar_t
        type defined.

19 years ago2005-09-20 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Tue, 20 Sep 2005 19:33:58 +0000 (19:33 +0000)]
2005-09-20  Shaun Jackman  <sjackman@gmail.com>

        * libc/include/stdint.h: Fix typo in names of
        LEAST macros.

19 years ago2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 20 Sep 2005 19:25:57 +0000 (19:25 +0000)]
2005-09-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/rtems/include/inttypes.h: Moved to...
        * libc/include/inttypes.h: ...here.

19 years ago* spawn.cc (av::fixup): Just blindly run any file if it has a .bat or .cmd
Christopher Faylor [Tue, 20 Sep 2005 18:32:23 +0000 (18:32 +0000)]
* spawn.cc (av::fixup): Just blindly run any file if it has a .bat or .cmd
extension.

19 years ago2005-09-19 David Edelsohn <edelsohn@gnu.org>
David Edelsohn [Tue, 20 Sep 2005 03:13:02 +0000 (03:13 +0000)]
2005-09-19  David Edelsohn  <edelsohn@gnu.org>

        * configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs.
        (rs6000-*-aix*): Same.
        * configure: Regenerate.

2005-09-14  Francois-Xavier Coudert  <coudert@clipper.ens.fr>

        * configure.in: Recognize f95 in the --enable-languages option,
        and substitute it for fortran, issuing a warning.
        * configure: Regenerate.

19 years ago* dcrt0.cc (do_exit): Only call sigproc_terminate from one location --
Christopher Faylor [Tue, 20 Sep 2005 02:06:57 +0000 (02:06 +0000)]
* dcrt0.cc (do_exit): Only call sigproc_terminate from one location --
pinfo::exit.
* pinfo.cc (pinfo::exit): Move sigproc_terminate later so that signals can be
processed while waiting for hExeced child.
(pinfo::maybe_set_exit_code_from_windows): Set exit code from sigExeced if it
is non-zero.  Set exit_state to ES_EXEC_EXIT prior to waiting for captive
process exit code.
* exceptions.cc (sigExeced): New global variable.
(signal_exit): Remove noreturn attribute from declaration.
(signal_exit): Just terminate captive process and return if hExeced on the
theory that the exit will be subsequently handled in the main thread.
* sigproc.cc (sigproc_terminate): Eliminate test for ES_SIGPROCTERMINATE and
use ES_FINAL instead.
(sig_send): Use no_signals_available instead of duplicate test.
* winsup.h (ES_EXEC_EXIT): New enum.
(ES_SIGPROCTERMINATE): Delete.

19 years ago2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 19 Sep 2005 22:02:23 +0000 (22:02 +0000)]
2005-09-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/rtems/include/stdint.h: Moved to...
        * libc/include/stdint.h: ...here.

19 years agowhite space changes to force new snapshot
Christopher Faylor [Mon, 19 Sep 2005 15:50:56 +0000 (15:50 +0000)]
white space changes to force new snapshot

19 years ago* sigproc.cc (talktome): Take siginfo_t argument. Don't scan all pids trying
Christopher Faylor [Mon, 19 Sep 2005 14:15:06 +0000 (14:15 +0000)]
* sigproc.cc (talktome): Take siginfo_t argument.  Don't scan all pids trying
to find one that's talking to me.  Just use the pid from siginfo_t.
(wait_pid): Pass siginfo_t argument to talktome.

19 years ago * include/winsock2.h (SO_EXCLUSIVEADDRUSE): Define.
Danny Smith [Mon, 19 Sep 2005 10:32:51 +0000 (10:32 +0000)]
* include/winsock2.h (SO_EXCLUSIVEADDRUSE): Define.
Thanks to Gisle Vanem  <giva at bgnett dot no>

19 years ago * include/stdlib.h (strtof): Add prototype. Uglify
Danny Smith [Mon, 19 Sep 2005 09:48:08 +0000 (09:48 +0000)]
* include/stdlib.h (strtof): Add prototype.  Uglify
parameter names in inline definition.
(wcstof): Likewise.
(_Exit): Uglify parameter names in inline definition.
(llabs): Add prototype.
(_set_error_mode): Add prototype and input defines.

19 years ago* pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is now
Christopher Faylor [Sat, 17 Sep 2005 20:36:34 +0000 (20:36 +0000)]
* pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is now
allocated by cmalloc.

19 years ago * net.cc (cygwin_inet_ntop): Change len argument to socklen_t to
Corinna Vinschen [Sat, 17 Sep 2005 08:55:30 +0000 (08:55 +0000)]
* net.cc (cygwin_inet_ntop): Change len argument to socklen_t to
follow SUSv3.
* include/arpa/inet.h (inet_ntop): Ditto.
* include/cygwin/in.h: Include cygwin/socket.h to get socklen_t.

19 years ago* environ.cc (build_env): Use "kilo"bytes not "mega"bytes. Return immediately
Christopher Faylor [Fri, 16 Sep 2005 20:12:12 +0000 (20:12 +0000)]
* environ.cc (build_env): Use "kilo"bytes not "mega"bytes.  Return immediately
on error.
* spawn.cc (spawn_guts): Set return value to -1 on error from build_env.

19 years ago* environ.cc (build_env): Clear envblock and return NULL on attempt to use env
Christopher Faylor [Fri, 16 Sep 2005 19:58:12 +0000 (19:58 +0000)]
* environ.cc (build_env): Clear envblock and return NULL on attempt to use env
var > 32K.
* spawn.cc (spawn_guts): Set E2BIG if build_env detects an error.

19 years ago* environ.cc (environ_init): Protect with a 'myfault' in case
Christopher Faylor [Fri, 16 Sep 2005 15:56:06 +0000 (15:56 +0000)]
* environ.cc (environ_init): Protect with a 'myfault' in case
GetEnvironmentStrings misbehaves.
* environ.cc (environ_init): Add debugging output with value returned from
GetEnvironmentStrings.

19 years ago* environ.cc (environ_init): Issue an error if GetEnvironmentStrings fails and
Christopher Faylor [Fri, 16 Sep 2005 14:52:32 +0000 (14:52 +0000)]
* environ.cc (environ_init): Issue an error if GetEnvironmentStrings fails and
return.

19 years ago* pinfo.h (EXITCODE_SET): Move out of range of Windows error.
Christopher Faylor [Fri, 16 Sep 2005 03:16:17 +0000 (03:16 +0000)]
* pinfo.h (EXITCODE_SET): Move out of range of Windows error.
(EXITCODE_NOSET): Ditto.
* sigproc.cc (no_signals_available): Remove check for hwait_sig.  Just rely on
my_sendsig.  Pass in an argument controlling when it is appropriate to test
EXITCODE_SET.
(proc_can_be_signalled): Remove checks for myself since this function is never
called in that context.
(sigproc_init): Pre-initialize my_sendsig to non-zero so that
proc_can_be_signalled will know that we expect to be signalable soon.
(sig_send): Change debugging output.

19 years ago* sigproc.cc (no_signals_available): Return true if sending to self from the
Christopher Faylor [Fri, 16 Sep 2005 01:47:09 +0000 (01:47 +0000)]
* sigproc.cc (no_signals_available): Return true if sending to self from the
signal thread.
(wait_sig): Correct so that WaitForSingleObject is called when hMainThread is
!= 0, rather than the reverse.
* cygheap.cc (cygheap_fixup_in_child): Clarify potential error message.
* fork.cc (fork_copy): Cosmetic change.

19 years ago* sigproc.cc (wait_sig): Reorganize exit case so that ExitProcess is always
Christopher Faylor [Thu, 15 Sep 2005 16:06:18 +0000 (16:06 +0000)]
* sigproc.cc (wait_sig): Reorganize exit case so that ExitProcess is always
called, since that is the intent of sending a __SIGEXIT.  Wait forever for main
thread to go away since, presumably, the main thread told us it was going away.

19 years ago * cygwinenv.sgml (ntea): Add some wording to scare people away
Corinna Vinschen [Thu, 15 Sep 2005 08:24:46 +0000 (08:24 +0000)]
* cygwinenv.sgml (ntea): Add some wording to scare people away
from using this option.

19 years ago* spawn.cc (av::fixup): Avoid breaking out of the wrong "loop".
Christopher Faylor [Thu, 15 Sep 2005 00:31:42 +0000 (00:31 +0000)]
* spawn.cc (av::fixup): Avoid breaking out of the wrong "loop".

19 years ago* hookapi.cc (hook_or_detect_cygwin): Simplify very slightly.
Christopher Faylor [Thu, 15 Sep 2005 00:02:57 +0000 (00:02 +0000)]
* hookapi.cc (hook_or_detect_cygwin): Simplify very slightly.
* spawn.cc (av::fixup): Guard against problems reading an executable which does
not match Microsoft's documentation about PE format.

This page took 0.080002 seconds and 5 git commands to generate.